data |
|
1 |
test_accessibility.py |
|
10256 |
test_addons.py |
const [resolve] = arguments;
const { AddonManager } = ChromeUtils.import(
"resource://gre/modules/AddonManager.jsm"
);
async function getAllAddons() {
const addons = await AddonManager.getAllAddons();
const ids = addons.map(x => x.id);
resolve(ids);
}
getAllAddons();
|
5102 |
test_capabilities.py |
return {
name: Services.appinfo.name,
version: Services.appinfo.version,
processID: Services.appinfo.processID,
buildID: Services.appinfo.appBuildID,
}
|
11193 |
test_checkbox_chrome.py |
|
1144 |
test_checkbox.py |
|
677 |
test_chrome_action.py |
|
2105 |
test_chrome_element_css.py |
const [el, prop] = arguments;
const elStyle = window.getComputedStyle(el);
return elStyle[prop]; |
1412 |
test_chrome.py |
|
1178 |
test_cli_arguments.py |
const { RemoteAgent } = ChromeUtils.import(
"chrome://remote/content/components/RemoteAgent.jsm"
);
return !!RemoteAgent.webDriverBiDi;
|
4570 |
test_click_chrome.py |
|
1099 |
test_click_scrolling.py |
<a href="#content">Link to content</a>
<div id="content" style="margin-top: 205vh;">Text</div>
|
5871 |
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>
|
18460 |
test_context.py |
|
3312 |
test_cookies.py |
|
4695 |
test_crash.py |
Mock object to replace original mozcrash methods. |
7516 |
test_data_driven.py |
|
2258 |
test_date_time_value.py |
|
1262 |
test_element_rect_chrome.py |
|
1082 |
test_element_rect.py |
<a href="#">link</a> |
829 |
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> |
20707 |
test_element_state_chrome.py |
|
2101 |
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> |
6183 |
test_errors.py |
|
3437 |
test_execute_async_script.py |
var callback = arguments[arguments.length - 1];
setTimeout(function() { callback(true); }, 500);
|
7705 |
test_execute_isolate.py |
let [resolve] = arguments;
setTimeout(function() {{ resolve(10{}); }}, 5000);
|
1601 |
test_execute_sandboxes.py |
let result = Ci.nsIPermissionManager.ALLOW_ACTION;
arguments[0](result);
|
3286 |
test_execute_script.py |
|
17914 |
test_expected.py |
<p>foo</p> |
9208 |
test_expectedfail.py |
|
433 |
test_file_upload.py |
<form action='{}' method=post enctype='multipart/form-data'>
<input type=file>
<input type=submit>
</form> |
5140 |
test_findelement_chrome.py |
|
6531 |
test_geckoinstance.py |
Test that the correct gecko instance is determined. |
1078 |
test_get_current_url_chrome.py |
|
1622 |
test_get_shadow_root.py |
<style>
custom-checkbox-element {
display:block; width:20px; height:20px;
}
</style>
<custom-checkbox-element></custom-checkbox-element>
<script>
customElements.define('custom-checkbox-element',
class extends HTMLElement {
constructor() {
super();
this.attachShadow({mode: '%s'}).innerHTML = `
<div><input type="checkbox"/></div>
`;
}
});
</script> |
2392 |
test_implicit_waits.py |
|
1147 |
test_key_actions.py |
|
2671 |
test_localization.py |
|
2336 |
test_marionette.py |
Test that the correct test name gets set. |
5633 |
test_modal_dialogs.py |
return window.browsingContext.id;
|
5712 |
test_mouse_action.py |
if (window.click_x && window.click_y) {
return {x: window.click_x, y: window.click_y};
}
|
7337 |
test_navigation.py |
const { AppConstants } = ChromeUtils.import(
"resource://gre/modules/AppConstants.jsm"
);
let win = null;
if (AppConstants.MOZ_APP_NAME == "fennec") {
win = Services.wm.getMostRecentWindow("navigator:browser");
} else {
const { BrowserWindowTracker } = ChromeUtils.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;
|
37089 |
test_pagesource_chrome.py |
|
984 |
test_pagesource.py |
|
2139 |
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>
|
1372 |
test_prefs_enforce.py |
|
2041 |
test_prefs.py |
|
8860 |
test_profile_management.py |
|
9780 |
test_proxy.py |
const { Preferences } = ChromeUtils.import(
"resource://gre/modules/Preferences.jsm"
);
Preferences.resetBranch("network.proxy");
|
5516 |
test_quit_restart.py |
return Services.appinfo.inSafeMode;
|
18482 |
test_reftest.py |
|
3966 |
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>
|
1089 |
test_report.py |
|
665 |
test_run_js_test.py |
|
367 |
test_screen_orientation.py |
|
2959 |
test_screenshot.py |
<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20">
<rect height="20" width="20"/>
</svg> |
14392 |
test_select.py |
<select>
<option>first
<option>second
</select> |
6301 |
test_sendkeys_menupopup_chrome.py |
|
4209 |
test_session.py |
|
1738 |
test_skip_setup.py |
|
968 |
test_switch_frame_chrome.py |
|
2192 |
test_switch_frame.py |
|
3669 |
test_switch_window_chrome.py |
|
5063 |
test_switch_window_content.py |
const { AppConstants } = ChromeUtils.import(
"resource://gre/modules/AppConstants.jsm"
);
let win = null;
if (AppConstants.MOZ_APP_NAME == "fennec") {
win = Services.wm.getMostRecentWindow("navigator:browser");
} else {
const { BrowserWindowTracker } = ChromeUtils.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;
}
}
|
10796 |
test_teardown_context_preserved.py |
|
855 |
test_text_chrome.py |
|
1277 |
test_text.py |
|
1061 |
test_timeouts.py |
var callback = arguments[arguments.length - 1];
setTimeout(function() { callback(true); }, 500);
|
4234 |
test_title_chrome.py |
return window.document.documentElement.getAttribute('title');
|
1350 |
test_title.py |
|
598 |
test_transport.py |
|
3589 |
test_typing.py |
|
15771 |
test_unhandled_prompt_behavior.py |
window.return_value = null;
window.return_value = window[arguments[0]](arguments[1]);
|
4681 |
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> |
6624 |
test_wait.py |
|
10661 |
test_window_close_chrome.py |
|
3261 |
test_window_close_content.py |
<input type="text">
<script>
window.addEventListener("beforeunload", function (event) {
event.preventDefault();
});
</script>
|
5215 |
test_window_handles_chrome.py |
|
10694 |
test_window_handles_content.py |
|
6524 |
test_window_management.py |
|
5504 |
test_window_maximize.py |
return {
width: window.screen.availWidth,
height: window.screen.availHeight,
} |
1247 |
test_window_rect.py |
return {
width: window.screen.availWidth,
height: window.screen.availHeight,
} |
12555 |
test_window_status_chrome.py |
|
693 |
test_window_status_content.py |
|
3799 |
test_window_type_chrome.py |
|
999 |
test_windowless.py |
|
2282 |
unit-tests.ini |
|
2421 |
webextension-invalid.xpi |
|
295 |
webextension-signed.xpi |
|
4221 |
webextension-unsigned.xpi |
|
310 |