mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-02-01 00:33:57 +00:00
13 lines
425 B
JavaScript
13 lines
425 B
JavaScript
function run_test() {
|
|
var test_path = do_get_file("../unit/test_predictor.js").path.replace(/\\/g, "/");
|
|
load(test_path);
|
|
do_load_child_test_harness();
|
|
do_test_pending();
|
|
sendCommand("load(\"" + test_path + "\");", function () {
|
|
sendCommand("predictor = Cc[\"@mozilla.org/network/predictor;1\"].getService(Ci.nsINetworkPredictor);", function() {
|
|
run_test_real();
|
|
do_test_finished();
|
|
});
|
|
});
|
|
}
|