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:


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://");
      return d;
  td.addCallbacks(function (result)
    if (result == "<P>RPC TEST</P>")
        return true;
        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 James Burke

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?

comment:2 Changed 13 years ago by Dustin Machi

test comment

comment:3 Changed 11 years ago by bill

Keywords: dohfail added

comment:4 Changed 10 years ago by ben hockey

Keywords: needsreview added
Priority: highlow

comment:5 Changed 10 years ago by bill

Keywords: needsreview removed
Resolution: worksforme
Status: newclosed

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.

Last edited 10 years ago by bill (previous) (diff)
Note: See TracTickets for help on using tickets.