43 const PREFIX =
"http://localhost:4444";
69 new Test(
PREFIX +
"/end-caret^/normal-file.txt",
71 new Test(
PREFIX +
"/end-caret^/folder^/file.txt",
82 var nameDir = do_get_file(
"data/name-scheme/");
83 srv.registerDirectory(
"/", nameDir);
84 srv.registerDirectory(
"/foo/", nameDir);
85 srv.registerDirectory(
"/end-caret^/", nameDir);
99 do_check_eq(ch.getResponseHeader(
"Content-Type"),
"text/html");
110 do_check_eq(ch.getResponseHeader(
"Content-Type"),
"text/plain");
116 do_check_eq(ch.getResponseHeader(
"Content-Type"),
"text/plain");
do_check_eq(typeof PlacesUtils,"object")
function start_bar_html_(ch, cx)
function runHttpTests(testArray, done)
function start_normal_file_txt(ch, cx)
function start_foo_html_(ch, cx)
function start_folder__file_txt(ch, cx)
function testComplete(srv)
function Test(path, initChannel, onStartRequest, onStopRequest)