Opened 14 years ago
Closed 13 years ago
#4095 closed defect (worksforme)
JsonRPC-Echo and JsonRpc-EmpytParamTest fails in runner.html
Reported by: | blade | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Core | Version: | 0.9 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
I'm running windows xp and I've tested with the following browsers and the results are all the same: FF2, IE7, Safari, and IE 6
You can contact me at blade at bladesling dot com
To reproduce the error simply open any of the browsers and run the runner.html
The test mentions it must be running a php capable server, I am, I've tried it on 2 servers. I'm guessing it is missing the php test file.
GROUP "tests.rpc" has 4 tests to run Error: Error: bad http response code:404
ERROR IN:
(function () {var d = new doh.Deferred;var td = this.svc.myecho("RPC TEST");if (window.location.protocol == "file:") {var err = new Error("This Test requires a webserver and PHP and will fail intentionally if loaded from file://");d.errback(err);return d;}td.addCallbacks(function (result) {if (result == "
RPC TEST ") {return true;} else {return new Error("JsonRpc?-EchoTest? test failed, resultant content didn't match");}}, function (result) {return new Error(result);});td.addBoth(d, "callback");return d;})
FAILED test: JsonRPC-EchoTest? Error: JsonRpc?-EmpytParamTest? test failed, resultant content didn't match
ERROR IN:
(function () {var d = new doh.Deferred;var td = this.svc.contentB();if (window.location.protocol == "file:") {var err = new Error("This Test requires a webserver and PHP and will fail intentionally if loaded from file://");d.errback(err);return d;}td.addCallbacks(function (result) {if (result == "
Content B ") {return true;} else {return new Error("JsonRpc?-EmpytParamTest? test failed, resultant content didn't match");}}, function (result) {return new Error(result);});td.addBoth(d, "callback");return d;})
FAILED test: JsonRPC-EmptyParamTest? PASSED test: JsonRPC_SMD_Loading_test PASSED test: JsonP_test
Already Fixed