gecko-dev/testing/mochitest
Neil Deakin a31f833dd2 Bug 1712900, rework waitForFocus/promiseFocus so that it works with fission, r=hsivonen
Instead of using a framescript, change promiseFocus to use the SpecialPowers actor. In addition, promiseFocus may now take a browsing context to focus a specific subframe's window. If that subframe is deeply nested, messages will be passed back and forth between the parent and each successive subframe to get to the one subframe that is desired to be focused. Similarly, this process is used when focusing a higher level frame that already has its focused element set to a subframe.

Differential Revision: https://phabricator.services.mozilla.com/D116387
2021-06-03 19:41:19 +00:00
..
BrowserTestUtils Bug 1706445 - Fix test helpers that use "SessionStore:update", r=nika,perftest-reviewers,sparky 2021-06-01 20:06:48 +00:00
MochiKit
baselinecoverage
chrome Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
dynamic
embed
manifests
pywebsocket3 Bug 1681096 - python3 - pylint --py3k - W1618: from __future__ import absolute_import r=perftest-reviewers,jmaher 2020-12-14 17:50:17 +00:00
ssltunnel
static Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
tests Bug 1712900, rework waitForFocus/promiseFocus so that it works with fission, r=hsivonen 2021-06-03 19:41:19 +00:00
README.txt
ShutdownLeaksCollector.jsm
__init__.py
api.js Bug 1698158 - part 3.2 - Remove unnecessary imports from testharness addons experimental API. r=mixedpuppy 2021-03-16 18:15:41 +00:00
bisection.py Bug 1681096 - python3 - pylint --py3k - W1618: from __future__ import absolute_import r=perftest-reviewers,jmaher 2020-12-14 17:50:17 +00:00
browser-harness.xhtml Bug 1687784 - Profiler markers from mochitests and xpcshell tests should use the Test category, r=mconley. 2021-01-20 21:04:00 +00:00
browser-test.js Bug 1707711 - Stop using ChromeUtils.import(..., null) in testing/. r=kmag 2021-05-10 08:56:05 +00:00
chrome-harness.js
chunkifyTests.js
document-builder.sjs Bug 1708699 - Add the ability to set headers from GET parameters in document-builder.sjs. r=mconley. 2021-04-30 15:48:53 +00:00
favicon.ico
harness.xhtml
leaks.py Bug 1681096 - python3 - pylint --py3k - W1618: from __future__ import absolute_import r=perftest-reviewers,jmaher 2020-12-14 17:50:17 +00:00
mach_commands.py Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers 2021-05-17 16:15:58 +00:00
mach_test_package_commands.py Bug 1696251 - Pass MachCommandBase object as first argument for Mach Commands. r=mhentges,remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers 2021-05-17 16:15:58 +00:00
manifest.json
manifest.webapp
manifestLibrary.js
mochitest-e10s-utils.js
mochitest_options.py Bug 1695580 - Remove mochitest rdd leak threshold. r=mjf,mccr8 2021-04-06 20:15:12 +00:00
moz.build Bug 1685878 - Remove remoteautomation.py; r=jmaher 2021-01-20 17:00:18 +00:00
pywebsocket_wrapper.py Bug 1681096 - python3 - pylint --py3k - W1618: from __future__ import absolute_import r=perftest-reviewers,jmaher 2020-12-14 17:50:17 +00:00
redirect.html
runjunit.py Bug 1692058 - Open temporary file in w mode when running multiple junit tests. r=droeh,mhentges 2021-02-24 17:03:32 +00:00
runtests.py Bug 1699456 - fix message for normal crash path. r=ahal 2021-04-26 19:07:46 +00:00
runtestsremote.py Bug 1704245 - Dump less device info in android test logs; r=jmaher 2021-04-12 13:38:28 +00:00
schema.json
server.js
shutdown-leaks-collector.js
start_desktop.js

README.txt

See https://developer.mozilla.org/en/docs/Mochitest for detailed information on running and writing mochitests.