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 5cf0c11410 Bug 1775725: Make browser_minimize.js test not depend on the timing of the occlusionstatechange event listeners. r=smaug
The 3 signifiers of the minimization being complete are:
1) The sizemodechange event
2) The occlusionstatechange event (on some platforms)
3) The browsing context becoming inactive

Ideally these would happen in 1-2-3 order, but they aren't consistent.
Specifically, since the browsing context is updated by an
occlusionstatechange event listener, tests that add a
occlusionstatechange event listener will fire before the browsing
context has been updated (since they fire in LIFO order). That makes it
very timing dependent on whether or not a check for browsing context
inactive will succeed, and that's the source of the intermittent
failures here. The safest thing to do is to turn the browsing context
active check into another promise and await the sizemodechange and the
active promise together, and that's what this patch does.

Differential Revision: https://phabricator.services.mozilla.com/D202609
2024-02-29 16:30:13 +00:00
.cargo Bug 1882174: Vendor application-services into mozilla-central r=adw,lina 2024-02-28 02:59:00 +00:00
.github/workflows
.vscode
accessible Bug 1778795: role="form" with empty accessible name returns native role, r=Jamie 2024-02-29 00:33:10 +00:00
browser Bug 1775725: Make browser_minimize.js test not depend on the timing of the occlusionstatechange event listeners. r=smaug 2024-02-29 16:30:13 +00:00
build Bug 1834947 - Divert xcrun so that it outputs the build system's chosen iOS SDK. r=firefox-build-system-reviewers,nalexander 2024-02-29 00:59:09 +00:00
caps Backed out 16 changesets (bug 1770944) as req by asuth. 2024-02-23 21:11:08 +02:00
chrome
config Bug 1882322 - Prevent macOS channel frameworks from being in precomplete file r=jcristau 2024-02-29 08:23:07 +00:00
devtools Bug 1879041 - Fix devtools bustage again. CLOSED TREE 2024-02-28 23:51:50 +00:00
docs Bug 1882171 - Stub out the beginnings of the BackupService. r=mossop,kpatenio,fchasen 2024-02-28 14:23:56 +00:00
docshell Bug 761152 - Copy referrer info to new session history entry on history.pushState r=freddyb 2024-02-22 14:29:06 +00:00
dom Bug 1855142 - Simplify PrincipalInfo handling in FactoryOp::Open; r=dom-storage-reviewers,jari 2024-02-29 15:28:51 +00:00
editor Bug 1362907 - Make select use nsHTMLButtonControlFrame for layout. r=jfkthame,dholbert 2024-02-29 11:15:52 +00:00
extensions Backed out 16 changesets (bug 1770944) as req by asuth. 2024-02-23 21:11:08 +02:00
gfx Bug 1790873 - Send a full line at a time to printf_stderr in GLContext.cpp r=jgilbert 2024-02-28 18:15:03 +00:00
gradle/wrapper
hal
image Bug 1872657 - Add fetchpriority support for <link rel=preload as=image>. r=valentin,smaug,manuel 2024-02-27 06:33:48 +00:00
intl Bug 1881487 - Update unicode-bidi to pick up newly-added smallvec support. r=platform-i18n-reviewers,supply-chain-reviewers,nordzilla 2024-02-22 19:47:54 +00:00
ipc Bug 1855142 - Ensure IndexedDabaseManager::mLocale separately; r=dom-storage-reviewers,jari 2024-02-29 15:28:47 +00:00
js Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi 2024-02-29 00:49:10 +00:00
layout Bug 1755033 - P2. Use the same text color for autofill and -moz-autofill-preview r=credential-management-reviewers,emilio,sgalich 2024-02-29 15:09:34 +00:00
media Bug 1879873 - Directly use tx instead of the older avfft interface. r=karlt,media-playback-reviewers 2024-02-28 12:50:27 +00:00
memory
mfbt Bug 1880420 - Move __thread detection to moz.configure r=glandium 2024-02-28 11:11:17 +00:00
mobile Bug 1882110 - Gaurd stop and cancel stopwatch methods to avoid invalidState r=chutten,geckoview-reviewers,m_kato 2024-02-29 13:31:26 +00:00
modules Bug 1860816: Ship wasm multi-memory. r=rhunt 2024-02-28 17:05:32 +00:00
mozglue Bug 1751781 - Force the old definition of NAN in the Windows SDK. r=ahochheiden 2024-02-28 03:50:07 +00:00
netwerk Bug 1880026 - Support accessing multiple cookie jars for cookie service. r=edgul,cookie-reviewers 2024-02-29 09:58:57 +00:00
nsprpub Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE 2024-02-26 08:26:38 +00:00
other-licenses
parser Bug 1880188 - Add shadowrootclonable attribute support. r=webidl,emilio 2024-02-28 19:00:34 +00:00
python Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi 2024-02-29 00:49:10 +00:00
remote Bug 1880131 - Remove "network.cookie.cookieBehavior" preference from CDP recommended preferences. r=webdriver-reviewers,jdescottes 2024-02-29 10:47:27 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM 2024-02-29 14:34:04 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM 2024-02-29 14:34:04 +00:00
servo Bug 1881220 - Change calc() resolution mode to always round than truncate-by-default. r=firefox-style-system-reviewers,boris 2024-02-27 11:06:52 +00:00
startupcache Bug 1874226 - Use unique_ptr not Scoped in xpcom/*. r=xpcom-reviewers,necko-reviewers,valentin,emilio 2024-02-07 18:30:22 +00:00
storage
supply-chain Backed out changeset b0a288cd4c4d (bug 1882202) for causing OSX build bustages. CLOSED TREE 2024-02-28 02:00:56 +02:00
taskcluster Bug 1880332 - account for input paths when fuzzy passes * instead of chunks to try. r=ahal,taskgraph-reviewers 2024-02-29 01:18:10 +00:00
testing Bug 1882798 - Cleanup some B2G code under testing/xpcshell, r=gbrown 2024-02-29 15:53:30 +00:00
third_party Bug 1882449 [Wayland Proxy] Remove redundant mLoaded flag r=emilio 2024-02-29 12:52:46 +00:00
toolkit Bug 1882583 - Update PDF.js to new version 9fe15d4a018ad00d821ed78fbf93bad689f3588a r=pdfjs-reviewers,marco,Snuffleupagus 2024-02-29 12:42:21 +00:00
tools Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi 2024-02-29 00:49:10 +00:00
uriloader Bug 1878401 - part 7 - Pass BrowsingContext to nsIFilePicker::Init in tests r=extension-reviewers,settings-reviewers,credential-management-reviewers,anti-tracking-reviewers,devtools-reviewers,sgalich,pbz,nchevobbe,zombie,migration-reviewers,mconley 2024-02-28 21:29:39 +00:00
view
widget Backed out changeset f4eb76daa674 (bug 1882021) for causing multiple mochitest failures 2024-02-29 16:38:17 +02:00
xpcom Bug 1362907 - Make select use nsHTMLButtonControlFrame for layout. r=jfkthame,dholbert 2024-02-29 11:15:52 +00:00
xpfe/appshell Bug 1081542 - Part 1: Add nsIBrowserDOMWindow.OPEN_NEWTAB_FOREGROUND. r=smaug,geckoview-reviewers,Gijs,amejiamarmol 2024-02-27 14:12:09 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1877989 - [devtools] Add CodeMirror 6 in tree. r=devtools-reviewers,bomsy. 2024-02-08 14:39:41 +00:00
.cron.yml Bug 1873723 - Run browsertime tests on beta/release with a cron. r=perftest-reviewers,taskgraph-reviewers,kshampur,jcristau DONTBUILD 2024-02-12 18:29:00 +00:00
.eslintignore
.eslintrc-test-paths.js
.eslintrc.js Bug 1881266 - Enable ESLint recommended rule no-case-declarations globally, warning for existing cases. r=mossop 2024-02-26 11:35:41 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1879254 - Verify .gitignore and .hgignore consistency. r=glandium 2024-02-22 04:48:27 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1879254 - Verify .gitignore and .hgignore consistency. r=glandium 2024-02-22 04:48:27 +00:00
.hgtags No bug - tagging 3a789882861bf458a92ed529bdbe4ddc39bd9671 with FIREFOX_NIGHTLY_124_END a=release DONTBUILD CLOSED TREE 2024-02-19 09:55:46 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 1872918 - Collect .d.json typescript info from xpidl r=mossop,nika 2024-02-24 00:23:59 +00:00
.prettierrc.js
.stylelintignore
.stylelintrc.js
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4 Bug 1881545 - Move nl_langinfo and CODESET check from js/src/old-configure.in to js/moz.configure r=glandium 2024-02-28 11:11:18 +00:00
AUTHORS
build.gradle Bug 1879852 - bump kotlin to 1.9.22 r=geckoview-reviewers,mcarare,owlish 2024-02-28 09:31:10 +00:00
Cargo.lock Bug 1882174: Vendor application-services into mozilla-central r=adw,lina 2024-02-28 02:59:00 +00:00
Cargo.toml Bug 1882174: Vendor application-services into mozilla-central r=adw,lina 2024-02-28 02:59:00 +00:00
client.mk
client.py
CLOBBER Bug 1878638 p3: Remove sandbox DuplicateHandle brokering. r=handyman 2024-02-22 19:03:56 +00:00
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
mots.yaml Backed out 16 changesets (bug 1770944) as req by asuth. 2024-02-23 21:11:08 +02:00
moz.build
moz.configure Bug 1880424 - Move clock_monotonic check to moz.configure r=glandium 2024-02-28 11:11:17 +00:00
mozilla-config.h.in
old-configure.in Bug 1881499 - Move res_ninit check to moz.configure r=glandium 2024-02-28 11:11:18 +00:00
package-lock.json
package.json
pyproject.toml Bug 1879558 - Reactivate invalid escape sequence warning in ruff r=ahochheiden 2024-02-28 08:16:06 +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.