Go to the source code of this file.
Functions | |
| waitForExplicitFinish () | |
| function | add_visit (aURI, aDate) |
| function | add_bookmark (aURI) |
| function | make_test_report (testName, result, units) |
| ptests | push ({name:"open_locationbar_default", run:function(){var urlbar=document.getElementById("urlbar");urlbar.addEventListener("onsearchcomplete", function(){urlbar.removeEventListener("onsearchcomplete", arguments.callee, false);runNextTest();}, false);urlbar.value="example";urlbar.select();EventUtils.synthesizeKey("VK_RETURN",{});}}) |
| function | test () |
| function | runNextTest () |
Variables | |
| const | TEST_IDENTIFIER = "ui-perf-test" |
| const | TEST_SUITE = "places" |
| const | Cc = Components.classes |
| const | Ci = Components.interfaces |
| const | Cr = Components.results |
| var | wm |
| var | win = wm.getMostRecentWindow("navigator:browser") |
| var | ios |
| var | hs |
| var | bs |
| var | ptests = [] |
| function add_bookmark | ( | aURI | ) |
Definition at line 73 of file browser_ui_locationbar.js.
| function add_visit | ( | aURI, | |
| aDate | |||
| ) |
Definition at line 63 of file browser_ui_locationbar.js.
| function make_test_report | ( | testName, | |
| result, | |||
| units | |||
| ) |
Definition at line 79 of file browser_ui_locationbar.js.
| ptests push | ( | {name:"open_locationbar_default", run:function(){var urlbar=document.getElementById("urlbar");urlbar.addEventListener("onsearchcomplete", function(){urlbar.removeEventListener("onsearchcomplete", arguments.callee, false);runNextTest();}, false);urlbar.value="example";urlbar.select();EventUtils.synthesizeKey("VK_RETURN",{});}} | ) |
| function runNextTest | ( | ) |
Definition at line 109 of file browser_ui_locationbar.js.
| function test | ( | ) |
| waitForExplicitFinish | ( | ) |
| var bs |
Definition at line 60 of file browser_ui_locationbar.js.
| const Cc = Components.classes |
Definition at line 48 of file browser_ui_locationbar.js.
| const Ci = Components.interfaces |
Definition at line 49 of file browser_ui_locationbar.js.
| const Cr = Components.results |
Definition at line 50 of file browser_ui_locationbar.js.
| var hs |
Definition at line 58 of file browser_ui_locationbar.js.
| var ios |
Definition at line 56 of file browser_ui_locationbar.js.
| var ptests = [] |
Definition at line 84 of file browser_ui_locationbar.js.
| const TEST_IDENTIFIER = "ui-perf-test" |
Definition at line 45 of file browser_ui_locationbar.js.
| const TEST_SUITE = "places" |
Definition at line 46 of file browser_ui_locationbar.js.
| var win = wm.getMostRecentWindow("navigator:browser") |
Definition at line 54 of file browser_ui_locationbar.js.
| var wm |
Definition at line 52 of file browser_ui_locationbar.js.