43 new Test(
"http://localhost:4444/writeString",
45 new Test(
"http://localhost:4444/writeInt",
53 srv.registerPathHandler(
"/writeString",
writeString);
54 srv.registerPathHandler(
"/writeInt",
writeInt);
65 do_check_true(Components.isSuccessCode(status));
71 do_check_eq(ch.getResponseHeader(
"Content-Length"),
"4");
78 response.write(
"1234");
do_check_eq(typeof PlacesUtils,"object")
function runHttpTests(testArray, done)
function succeeded(ch, cx, status, data)
function writeInt(metadata, response)
function check_1234(ch, cx)
function testComplete(srv)
function Test(path, initChannel, onStartRequest, onStopRequest)
function writeString(metadata, response)