Name Description Size
data 1
test_accessibility.py 10514
test_addons.py let [resolve] = arguments; Components.utils.import("resource://gre/modules/AddonManager.jsm"); AddonManager.getAllAddons().then(function(addons) { let ids = addons.map(x => x.id); resolve(ids); }); 3993
test_capabilities.py return { name: Services.appinfo.name, version: Services.appinfo.version, processID: Services.appinfo.processID, buildID: Services.appinfo.appBuildID, } 9847
test_checkbox.py 677
test_checkbox_chrome.py 1094
test_chrome.py 1185
test_chrome_element_css.py const [el, prop] = arguments; const elStyle = window.getComputedStyle(el); return elStyle[prop]; 1377
test_cli_arguments.py Cu.import("resource://gre/modules/Services.jsm"); return Services.appinfo.inSafeMode; 1554
test_click.py <style> * { margin: 0; padding: 0; } body { height: 300vh } div, a { display: block } div { background-color: pink; position: fixed; width: 100%; height: 40px; top: 0; } a { margin-top: 1000px; } </style> <div>overlay</div> <a href=#>link</a> <script> window.clicked = false; let link = document.querySelector("a"); link.addEventListener("click", () => window.clicked = true); </script> 16496
test_click_chrome.py 1096
test_click_scrolling.py <a href="#content">Link to content</a> <div id="content" style="margin-top: 205vh;">Text</div> 5393
test_context.py 3332
test_cookies.py 4783
test_crash.py Mock object to replace original mozcrash methods. 7497
test_data_driven.py 2265
test_date_time_value.py 1242
test_element_retrieval.py <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>XHTML might be the future</title> </head> <body> {} </body> </html> 19722
test_element_state.py <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>XHTML might be the future</title> </head> <body> {} </body> </html> 5974
test_element_state_chrome.py 2104
test_elementsize.py <?xml version="1.0"?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Test page for element size</title> </head> <body> <p>Let's get the size of <a href='#' id='linkId'>some really cool link</a></p> </body> </html> 1043
test_elementsize_chrome.py 1023
test_errors.py 3320
test_execute_async_script.py var callback = arguments[arguments.length - 1]; setTimeout(function() { callback(true); }, 500); 6311
test_execute_isolate.py let [resolve] = arguments; setTimeout(function() {{ resolve(10{}); }}, 5000); 1518
test_execute_sandboxes.py let result = Ci.nsIPermissionManager.ALLOW_ACTION; arguments[0](result); 3192
test_execute_script.py 16022
test_expected.py <p>foo</p> 9188
test_expectedfail.py 434
test_file_upload.py <form action='{}' method=post enctype='multipart/form-data'> <input type=file> <input type=submit> </form> 5028
test_findelement_chrome.py window.setTimeout(function () { var b = window.document.createXULElement('button'); b.id = 'myid'; document.getElementById('things').appendChild(b); }, 1000); 4190
test_geckoinstance.py Test that the correct gecko instance is determined. 1127
test_get_current_url_chrome.py 1616
test_getactiveframe_oop.py let iframe1 = document.createElement("iframe"); iframe1.id = "remote_iframe1"; iframe1.setAttribute('remote', true); iframe1.setAttribute('mozbrowser', true); iframe1.style.height = "100px"; iframe1.style.width = "100%%"; iframe1.src = "{}"; document.body.appendChild(iframe1); 4318
test_implicit_waits.py 1147
test_key_actions.py 2986
test_localization.py 2232
test_marionette.py Test that the correct test name gets set. 4211
test_modal_dialogs.py 7879
test_mouse_action.py if (window.click_x && window.click_y) { return {x: window.click_x, y: window.click_y}; } 6803
test_navigation.py Components.utils.import("resource://gre/modules/AppConstants.jsm"); let win = null; if (AppConstants.MOZ_APP_NAME == "fennec") { Components.utils.import("resource://gre/modules/Services.jsm"); win = Services.wm.getMostRecentWindow("navigator:browser"); } else { Components.utils.import("resource:///modules/BrowserWindowTracker.jsm"); win = BrowserWindowTracker.getTopWindow(); } let tabBrowser = null; // Fennec if (win.BrowserApp) { tabBrowser = win.BrowserApp.selectedBrowser; // Firefox } else if (win.gBrowser) { tabBrowser = win.gBrowser.selectedBrowser; } else { return null; } return tabBrowser.isRemoteBrowser; 32260
test_pagesource.py 2006
test_pagesource_chrome.py 934
test_position.py <head> <title>Rectangles</title> <style> div { position: absolute; margin: 0; border: 0; padding: 0; } #r { background-color: red; left: 11px; top: 10px; width: 48.666666667px; height: 49.333333333px; } </style> </head> <body> <div id="r">r</div> </body> 1351
test_prefs.py 8792
test_prefs_enforce.py 1492
test_profile_management.py 9366
test_proxy.py Cu.import("resource://gre/modules/Preferences.jsm"); Preferences.resetBranch("network.proxy"); 5523
test_quit_restart.py Cu.import("resource://gre/modules/Services.jsm"); return Services.appinfo.inSafeMode; 14783
test_reftest.py 4107
test_rendered_element.py <div style="color: green;" id="parent"> <p id="green">This should be green</p> <p id="red" style="color: red;">But this is red</p> </div> 1018
test_report.py 727
test_run_js_test.py 367
test_screen_orientation.py 2981
test_screenshot.py <svg xmlns="http://www.w3.org/2000/svg" height="20" width="20"> <rect height="20" width="20"/> </svg> 13435
test_select.py <select> <option>first <option>second </select> 5771
test_session.py 1866
test_shadow_dom.py 2784
test_skip_setup.py 966
test_switch_frame.py 8916
test_switch_frame_chrome.py 2588
test_switch_window_chrome.py 4800
test_switch_window_content.py Components.utils.import("resource://gre/modules/AppConstants.jsm"); let win = null; if (AppConstants.MOZ_APP_NAME == "fennec") { Components.utils.import("resource://gre/modules/Services.jsm"); win = Services.wm.getMostRecentWindow("navigator:browser"); } else { Components.utils.import("resource:///modules/BrowserWindowTracker.jsm"); win = BrowserWindowTracker.getTopWindow(); } let tabBrowser = null; // Fennec if (win.BrowserApp) { tabBrowser = win.BrowserApp; // Firefox } else if (win.gBrowser) { tabBrowser = win.gBrowser; } else { return null; } for (let i = 0; i < tabBrowser.tabs.length; i++) { if (tabBrowser.tabs[i] == tabBrowser.selectedTab) { return i; } } 8138
test_teardown_context_preserved.py 855
test_text.py 1018
test_timeouts.py var callback = arguments[arguments.length - 1]; setTimeout(function() { callback(true); }, 500); 4055
test_title.py <title>foo</title> <iframe src="{}"> 2883
test_title_chrome.py 941
test_transport.py 3681
test_typing.py 15726
test_unhandled_prompt_behavior.py window.return_value = null; window.return_value = window[arguments[0]](arguments[1]); 4598
test_visibility.py <meta name="viewport" content="initial-scale=1,width=device-width"> <style> .element{{ position: absolute; {}: -50px; background_color: red; width: 100px; height: 100px; }} </style> <div class='element'></div> 6289
test_wait.py 10729
test_window_close_chrome.py 3255
test_window_close_content.py <input type="text"> <script> window.addEventListener("beforeunload", function (event) { event.preventDefault(); }); </script> 5025
test_window_handles_chrome.py 9548
test_window_handles_content.py 5040
test_window_management.py 5375
test_window_maximize.py return { width: window.screen.availWidth, height: window.screen.availHeight, } 1195
test_window_rect.py return { width: window.screen.availWidth, height: window.screen.availHeight, } 11918
test_window_status_chrome.py 694
test_window_status_content.py 3693
test_window_type_chrome.py 984
unit-tests.ini 2236
webextension-invalid.xpi 295
webextension-signed.xpi 4221
webextension-unsigned.xpi 310