Opened 13 years ago
Closed 10 years ago
#8936 closed defect (worksforme)
test failures in JsonRPC-EchoTest (Safari/win)
Reported by: | bill | Owned by: | Dustin Machi |
---|---|---|---|
Priority: | low | Milestone: | tbd |
Component: | RPC | Version: | 1.3.0b3 |
Keywords: | dohfail | Cc: | |
Blocked By: | Blocking: |
Description
The JSONRPC-EchoTest? fails for me on Safari/win 3.2.2 (525.28.1), although it works on Safari/mac and other browsers.
GROUP "tests.rpc" has 4 tests to run Error: Error: Unable to load ../../dojo/tests/resources/test_JsonRPCMediator.php status: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 == "<P>RPC TEST</P>") { 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 1 ms
Change History (5)
comment:1 Changed 13 years ago by
comment:3 Changed 11 years ago by
Keywords: | dohfail added |
---|
comment:4 Changed 10 years ago by
Keywords: | needsreview added |
---|---|
Priority: | high → low |
comment:5 Changed 10 years ago by
Keywords: | needsreview removed |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
This particular test is passing for me now (Safari 5.1.2/win), although another test is failing, which I'll file other tickets for.
Note: See
TracTickets for help on using
tickets.
I looked briefly at this: I can get it to fail as part of the whole test suite, but if I just run doh/runner.html?dojo.tests.rpc, it works. The error seems to be a 404, but the next test in that set uses the same url and passes? Maybe something weird with the php file?