44 new Test(
"http://localhost:4444/throws/exception",
46 new Test(
"http://localhost:4444/this/file/does/not/exist/and/404s",
48 new Test(
"http://localhost:4444/attempts/404/fails/so/400/fails/so/500s",
72 do_check_eq(channel.responseStatusText, statusText);
74 var respMaj = {}, respMin = {};
75 channel.getResponseVersion(respMaj, respMin);
97 do_check_true(Components.isSuccessCode(status));
111 throw "this shouldn't cause an exit...";
112 do_throw(
"Not reached!");
do_check_eq(typeof PlacesUtils,"object")
function start_nonexistent_404_fails_so_400(ch, cx)
function succeeded(ch, cx, status, data)
function runHttpTests(testArray, done)
function start_multiple_exceptions_500(ch, cx)
function register400Handler(ch)
function throwsException(metadata, response)
function testComplete(srv)
function Test(path, initChannel, onStartRequest, onStopRequest)
function start_throws_exception(ch, cx)
function checkStatusLine(channel, httpMaxVer, httpMinVer, httpCode, statusText)