Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Brad Werth 8352fcb2c4 Bug 1778799: Fix intermittencies in test_videocontrols.html. r=Gijs
Presently, this test has three flaws that make it prone to intermittents:

1) It triggers events before waiting for them.
2) It requires events to arrive in a specific order, with no other events
arriving.
3) It triggers fullscreen enter and exit events very rapidly, with no
event protection to ensure an asynchronous transition is complete before
starting the next one.

This change fixes the first two issues by capturing all the events as they
arrive, and passively allowing unexpected events. As soon as the
waitForEvent promise is fulfilled, it resets all of these trackers so old
events won't accidentally fulfil new requests.

Additionally, if it is important that certain events don't arrive while
waiting for desired events, this adds a way to specify those forbidden
events. This is used to ensure that clicks that are supposed to trigger
fullscreen aren't instead triggering play or pause.

To address the third issue, this change adds a repeatUntilSuccessful
method that triggers a promise on each event loop until it resolves.
This is used on all the changes to fullscreen, which can be rejected by
the browser. The reasons for rejection vary, often related to which
browsing context is active, but these issues seem to go away after a
period of time. It's not clear that there's an event we can wait on that
will guarantee that the fullscreen request will succeed, so we instead
make the request repeatedly until it succeeds.

This change also takes the video out of fullscreen mode at the end of the
test.

Differential Revision: https://phabricator.services.mozilla.com/D172329
2023-03-21 16:47:00 +00:00
.cargo Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
.vscode
accessible Bug 1821954: Make HyperTextAccessible::Char/TextBounds use HyperTextAccessibleBase when the cache is enabled. r=morgan 2023-03-21 01:23:40 +00:00
browser Bug 1822854 - add marionette test for manual session restore while a pinned tab is present, r=dao 2023-03-21 16:29:06 +00:00
build Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi 2023-03-21 05:13:43 +00:00
caps Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
chrome Bug 1819815 - Make chrome/ buildable outside of a unified build environment r=andi 2023-03-02 07:44:28 +00:00
config Backed out 2 changesets (bug 1806618, bug 1808184) for causing build bustages. 2023-03-15 18:12:19 +02:00
devtools Bug 1767774 - Remove a setTimeout in the profiler tests r=canaltinova 2023-03-21 12:16:49 +00:00
docs Bug 1811850 - [lint] Replace pylint linter with ruff, r=linter-reviewers,marco 2023-03-20 13:06:28 +00:00
docshell Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
dom Bug 1822038: Handle WebTransport Bidirectional streams arriving before the first pull r=kershaw 2023-03-21 16:09:10 +00:00
editor Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
extensions Bug 1823341 - Make toolkit/components/antitracking buildable outside of a unified build environment r=andi 2023-03-21 10:47:28 +00:00
gfx Bug 1823660 - Fix preference setting in tests. r=aryx 2023-03-21 16:24:39 +00:00
gradle/wrapper
hal Bug 1607634 - Part 4b: Changes for not-nullable actor types being wrapped in NotNull, r=ipc-reviewers,necko-reviewers,mccr8 2023-03-20 15:40:36 +00:00
image Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
intl Bug 1822980 - Fix system ICU build error. r=platform-i18n-reviewers,dminor 2023-03-21 15:13:23 +00:00
ipc Bug 1822728 - Increase the child process shutdown timeout for Unix ccov builds. r=ipc-reviewers,nika 2023-03-20 20:32:31 +00:00
js Bug 1822717 - Relax assertion about module request state when an error occurs r=yulia 2023-03-21 15:40:22 +00:00
layout Bug 1823477 - Create a DisplaySVGItem as a base class for SVG Painted Display Items r=emilio 2023-03-21 15:05:34 +00:00
media Bug 1823443 - Vendor libsoundtouch through mach vendor, with patch r=padenot 2023-03-21 13:14:47 +00:00
memory Bug 1609478 - Poison memory we want to free before we take the arena lock r=glandium 2023-03-16 06:05:27 +00:00
mfbt Bug 1607634 - Part 1: Improve the ergonomics of using NotNull with RefPtr and nsCOMPtr, r=glandium 2023-03-20 15:40:35 +00:00
mobile Bug 1822932 - Add utility functions to distinguish between SW/HW codec support on Android r=geckoview-reviewers,owlish 2023-03-20 23:17:47 +00:00
modules Backed out changeset 4629c85e137b (bug 1777921) for causing multiple worker related failures CLOSED TREE 2023-03-21 19:36:26 +02:00
mozglue Bug 1822605: Add ThreadSanitizer suppression for race in libvulkan_lvp.so r=decoder 2023-03-16 20:12:03 +00:00
netwerk Bug 1820776: Cleanup H3Session r=kershaw,valentin,necko-reviewers 2023-03-21 16:09:08 +00:00
nsprpub
other-licenses Bug 1815019 - Customize 7z to write provenance data r=nalexander 2023-03-02 16:44:10 +00:00
parser Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
python Bug 1823701 - Add 'tomli' to mach wpt requirements, r=jgraham 2023-03-21 15:48:40 +00:00
remote Bug 1816664 Rename addSessionData/removeSessionData methods of RootMessageHandler to addSessionDataItem/removeSessionDataItem r=webdriver-reviewers,Sasha 2023-03-21 07:57:31 +00:00
security Backed out changeset d9e7b204d089 (bug 1820900) for causing bc failures in runtests.py CLOSED TREE 2023-03-21 16:25:12 -04:00
services No Bug, mozilla-central repo-update HPKP remote-settings tld-suffixes - r=release-managers,RyanVM 2023-03-20 12:38:17 +00:00
servo Bug 1823602 - Check that the lowercase attribute is different before trying to track it r=emilio 2023-03-21 10:23:54 +00:00
startupcache Bug 1817313 - Make startupcache/ buildable outside of a unified build environment r=andi 2023-02-19 21:40:36 +00:00
storage Bug 1781116 - QuotaManager needs to deal with SQLite path canonicalization/symlink piercing; r=asuth,dom-storage-reviewers 2023-03-07 15:56:51 +00:00
supply-chain Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers 2023-03-20 17:52:38 +00:00
taskcluster Backed out changeset d9e7b204d089 (bug 1820900) for causing bc failures in runtests.py CLOSED TREE 2023-03-21 16:25:12 -04:00
testing Bug 1822541 - Adjust expectations for beta tests on dynamic import in module workers; r=jonco 2023-03-21 16:33:16 +00:00
third_party Bug 1732228 - Bump pip to version 23.0.1 to maintain consistency with the wheel used by mozharness r=firefox-build-system-reviewers,glandium 2023-03-20 23:58:40 +00:00
toolkit Bug 1778799: Fix intermittencies in test_videocontrols.html. r=Gijs 2023-03-21 16:47:00 +00:00
tools Bug 1809843 - Run mochitest with Http/3 server on try, r=gbrown,necko-reviewers,ci-and-tooling,valentin,suhaib,jmaher 2023-03-21 09:09:58 +00:00
uriloader Bug 1809843 - Skip Failed tests, r=necko-reviewers,extension-reviewers,credential-management-reviewers,valentin,sgalich,robwu 2023-03-21 09:09:58 +00:00
view Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
widget Bug 580928 - Add support for Drag and Drop with Outlook items. r=cmartin 2023-03-21 13:50:32 +00:00
xpcom Backed out changeset fd2a3531261b (bug 1820359) for causing remote failures in browser_navigationEvents.js 2023-03-21 19:17:04 +02:00
xpfe/appshell Bug 1823350 - Unify how we identify PiP windows on Linux/Windows. r=mconley,stransky 2023-03-21 14:36:19 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml Bug 1822107 - Run the Beta l10n-bumper job an hour earlier. r=releng-reviewers,jcristau DONTBUILD 2023-03-13 16:54:07 +00:00
.eslintignore Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh 2023-02-17 16:34:42 +00:00
.eslintrc-test-paths.js Bug 1693495 - [devtools] Implement a beginning of "Network" commands, starting with sendHTTPRequest. r=devtools-reviewers,nchevobbe 2023-01-09 13:09:43 +00:00
.eslintrc.js Bug 1812098 - Enable the builtinGlobals option for ESLint no-shadow rule on .mjs files. r=Gijs 2023-03-14 09:13:49 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1810885 - Use ChromeMap for rewriting chrome:// URIs in Storybook r=hjones 2023-02-28 05:43:54 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-20 13:06:27 +00:00
.hgtags No bug - tagging f2178beb09db4f3548827808718f1ea1f2892fc5 with FIREFOX_NIGHTLY_112_END a=release DONTBUILD CLOSED TREE 2023-03-13 15:37:10 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc.js Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs 2023-01-24 22:53:55 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
aclocal.m4
AUTHORS
build.gradle Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers 2023-03-20 17:52:38 +00:00
Cargo.lock Bug 1822325 - Vendor Glean 52.4.2 r=janerik,supply-chain-reviewers 2023-03-20 17:52:38 +00:00
Cargo.toml Bug 1813481 - Allow 'none' keyword in color components r=emilio,supply-chain-reviewers,devtools-reviewers 2023-03-16 11:50:55 +00:00
client.mk
client.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
CLOBBER Bug 1817024 - Vendor libwebrtc from 15a82c93d0 - moz.build file updates 2023-03-13 12:03:34 +01:00
configure
configure.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach Bug 1820915 - Attempt to re-launch Mach with a compatible python3 version if one is available r=firefox-build-system-reviewers,andi 2023-03-09 10:53:16 +00:00
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1822698 - Update list of peers for GeckoView module r=zeid 2023-03-16 16:26:28 +00:00
moz.build Bug 1811850 - [lint] Replace flake8 linter with ruff, r=linter-reviewers,sylvestre 2023-03-20 13:06:27 +00:00
moz.configure Bug 1807907 - Cache the results of try_invoke_compiler on disk for re-use between different runs of configure r=firefox-build-system-reviewers,glandium 2023-02-28 08:42:52 +00:00
mozilla-config.h.in Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
old-configure.in Bug 1814802 - Move STLPORT_LIBS to moz.configure. r=firefox-build-system-reviewers,glandium 2023-02-14 02:29:22 +00:00
package-lock.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
package.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
pyproject.toml Bug 1823694 - [lint.ruff] Disable some warnings we don't actually want to enforce, r=linter-reviewers,andi 2023-03-21 14:36:26 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.