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
Andrew Sutherland d17ba40906 Bug 1257977 - Fix SWR updatefound event timing. r=dom-worker-reviewers,edenchuang
This corrects a longstanding race in our updatefound logic and makes
testing/web-platform/tests/service-workers/service-worker/ServiceWorkerGlobalScope/registration-attribute.https.html
consistently pass.  (Other patches in this stack made the test no
longer permafail and removed the meta .ini, but surfaced the race.)

https://bugzilla.mozilla.org/show_bug.cgi?id=1257977#c12 provides
detailed context, but the basic idea is that bug 1510809 cleaned up
our updatefound logic but left a runnable delay introduced in
bug 1471929 that made sense for the fix there, but stopped making sense
with bug 1510809.

This fix repurposes the FireUpdateFound() method declaration that had
no actual implementing method to call into the private
MaybeDispatchUpdateFound which is part of a sufficiently confusing
internal state machine that it makes sense to leave it private and use
a more sane public name.

Differential Revision: https://phabricator.services.mozilla.com/D213726
2024-10-24 03:02:41 +00:00
.cargo Bug 1926112 - Vendor application-services a0121f35125bd61ebd10fab969f6cfcc02f94d5a for city-based weather. r=bdk,nanj,supply-chain-reviewers 2024-10-22 03:45:18 +00:00
.github/workflows
.vscode
accessible Bug 1694789 - Map accessible value for input type color and password. r=dom-core,sefeng,Jamie,bolsson 2024-10-22 13:23:18 +00:00
browser Bug 1915351 part 6 - make Content Analysis JS display multiple dialogs seamlessly r=dlp-reviewers,handyman 2024-10-24 02:15:14 +00:00
build Bug 1926139 - Add clang version mappings for more versions of Xcode. r=firefox-build-system-reviewers,ahochheiden 2024-10-22 02:23:11 +00:00
caps Bug 1905843, prevent unexpected use of result site origin, r=nika 2024-09-17 15:01:43 +00:00
chrome
config Backed out 3 changesets (bug 1594368, bug 483318) for causing multiple failures. CLOSED TREE 2024-10-23 16:51:45 +03:00
devtools Bug 1870062 - [devtools] Make the breakpoint items in the breakpoints panel accessible r=devtools-reviewers,nchevobbe 2024-10-23 23:22:10 +00:00
docs Bug 1926284 - Ride along: fix other fenix links r=android-reviewers,geckoview-reviewers,tthibaud,owlish DONTBUILD 2024-10-23 08:38:09 +00:00
docshell Bug 1873514 - Update about:neterror appearance and strings. r=Gijs,fluent-reviewers,desktop-theme-reviewers,bolsson,sfoster 2024-10-24 01:19:45 +00:00
dom Bug 1257977 - Fix SWR updatefound event timing. r=dom-worker-reviewers,edenchuang 2024-10-24 03:02:41 +00:00
editor Bug 1923251 - Backout almost all of D225038 except WPT part 2024-10-23 18:07:53 +00:00
extensions Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig 2024-10-22 09:38:16 +00:00
gfx Bug 1924042 - Fallback to readback when creating Texture with ExternalTextureD3D11 is failed r=webgpu-reviewers,nical 2024-10-24 01:30:36 +00:00
gradle/wrapper Bug 1920624 - Update Gradle to version 8.10.2. r=android-reviewers,mcarare 2024-09-24 11:55:04 +00:00
hal Bug 1904957: Implement GetHeterogeneousCpuInfo on Windows and use for TaskController pool size. r=cmartin,smaug 2024-10-02 17:27:32 +00:00
image Bug 1926249 - Implement support for desired width/height with WebCodecs ImageDecoder. r=media-playback-reviewers,padenot 2024-10-22 13:45:36 +00:00
intl Bug 1926569 - Try to avoid caching line-break results unless we're likely to be hitting the slow LSTM segmenter codepath. r=layout-reviewers,emilio 2024-10-23 21:09:18 +00:00
ipc Bug 1915351 part 3 - add entry point to get all clipboard to actor r=dlp-reviewers,ipc-reviewers,nika,edgar,handyman 2024-10-24 02:15:13 +00:00
js Bug 1926525 part 5 - Merge OrderedHashTable data and hash table allocations. r=jonco 2024-10-23 15:49:01 +00:00
layout Bug 1926512 - Cache first-continuation/first-in-flow pointers directly in nsSplittableFrame. r=jwatt 2024-10-23 11:38:48 +00:00
media Bug 1925740 - Fix TestBundleSupportWithZeroPort test case;r=ng 2024-10-23 18:46:24 +00:00
memory Bug 1925181 - Properly set small alloc randomization on Android content processes as well r=jld 2024-10-21 06:05:44 +00:00
mfbt Bug 1717448 - Print the diagnostic message in AssertedCast with {fmt}. r=nbp 2024-10-21 12:54:55 +00:00
mobile no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE 2024-10-24 00:16:28 +00:00
modules Bug 1113522 - Expose ServiceWorker in Workers. r=dom-worker-reviewers,webidl,edenchuang,emilio 2024-10-24 03:02:37 +00:00
mozglue Bug 1926089 - Disable an fmt test on Linux debug x86. 2024-10-23 14:46:30 +00:00
netwerk Bug 1889988 - Re-enable defaultURI as parser for unknown schemes and update tests. r=valentin,bvandersloot 2024-10-23 18:30:27 +00:00
nsprpub Bug 1920969 - Set NSPR version to 4.36 RTM. No code change. r=sylvestre UPGRADE_NSPR_RELEASE DONTBUILD 2024-10-23 16:06:56 +00:00
other-licenses
parser Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya,willdurand 2024-10-08 20:14:42 +00:00
python Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers 2024-10-23 13:58:12 +00:00
remote Bug 1926270 - [puppeteer] Fix setting of shard values for mach commands. r=webdriver-reviewers,Sasha 2024-10-22 16:00:31 +00:00
security Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers 2024-10-23 13:58:12 +00:00
services Bug 1889988 - Added remote settings input to defaultUri bypass list r=necko-reviewers,valentin,nika,Standard8 2024-10-23 18:30:26 +00:00
servo Bug 1926269 - Changes to allow publishing selectors. r=supply-chain-reviewers 2024-10-23 19:54:49 +00:00
startupcache Bug 1925866 - NS_NewLocalFile's aFollowSymlinks arg is unused. r=xpcom-reviewers,necko-reviewers,valentin,media-playback-reviewers,win-reviewers,karlt,nika,rkraesig 2024-10-22 09:38:16 +00:00
storage Backed out 3 changesets (bug 1594368, bug 483318) for causing multiple failures. CLOSED TREE 2024-10-23 16:51:45 +03:00
supply-chain Bug 1926269 - Changes to allow publishing selectors. r=supply-chain-reviewers 2024-10-23 19:54:49 +00:00
taskcluster Bug 1926603 - Disable network-bench tests running through cron. r=perftest-reviewers,taskgraph-reviewers,jmaher,kshampur DONTBUILD 2024-10-23 15:34:27 +00:00
testing Bug 1131324 - Expose ServiceWorkerContainer on WorkerNavigator. r=dom-worker-reviewers,webidl,smaug 2024-10-24 03:02:40 +00:00
third_party Backed out 3 changesets (bug 1594368, bug 483318) for causing multiple failures. CLOSED TREE 2024-10-23 16:51:45 +03:00
toolkit Bug 1915351 part 9 - fix up existing tests for new behavior r=dlp-reviewers,handyman 2024-10-24 02:15:15 +00:00
tools Bug 1921226 - Change expiration time for HTTPS upgrade exceptions r=maltejur 2024-10-23 13:59:43 +00:00
uriloader Bug 1776893 - Replace do_CreateInstance for nsIFile with NS_NewLocalFile. r=xpcom-reviewers,profiler-reviewers,emilio,aabh 2024-10-22 09:45:32 +00:00
view Bug 1924240 - Devirtualize parent handling. r=mac-reviewers,win-reviewers,geckoview-reviewers,bradwerth,m_kato,rkraesig 2024-10-22 20:25:18 +00:00
widget Bug 1915351 part 3 - add entry point to get all clipboard to actor r=dlp-reviewers,ipc-reviewers,nika,edgar,handyman 2024-10-24 02:15:13 +00:00
xpcom Bug 1926292: Add heterogeneous core information to the CPU information. r=nika,chutten 2024-10-23 17:21:51 +00:00
xpfe/appshell Backed out changeset 4b1409597101 (bug 1920718) for causing bp bustages on rapl.cpp. 2024-10-08 23:27:18 +03:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml Bug 1919083 - Create 'os-integration' cron tasks to help validate worker image changes, r=jmaher,taskgraph-reviewers 2024-09-24 14:49:29 +00:00
.eslintrc-ignores.js
.eslintrc-rollouts.js Bug 1919853 - Make InspectorUtils able to return CSSNestedDeclarations too. r=devtools-reviewers,nchevobbe,dshin 2024-09-20 15:59:53 +00:00
.eslintrc-test-paths.js Bug 1924532 - Move tabMediaIndicator tests to browser/components/tabbrowser/. r=tabbrowser-reviewers,frontend-codestyle-reviewers,dwalker,mossop 2024-10-15 16:04:13 +00:00
.eslintrc.js Bug 1881696 - Rework the ESLint environment so that eslint-plugin-mozilla is not enforcing the environment everywhere. r=frontend-codestyle-reviewers,Gijs 2024-10-18 09:21:27 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1743983 pt2 - Rewrite the minidump-analyzer in Rust r=gsvelto 2024-09-24 13:36:22 +00:00
.hg-annotate-ignore-revs
.hgignore Bug 1743983 pt2 - Rewrite the minidump-analyzer in Rust r=gsvelto 2024-09-24 13:36:22 +00:00
.hgtags No bug - tagging eaad836f0a492448489e0ffc73f261abda8b4b85 with FIREFOX_NIGHTLY_132_END a=release DONTBUILD CLOSED TREE 2024-09-30 13:32:45 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore Bug 652493 - Remove testing/mochitest/tests/MochiKit-1.4.2/ r=frontend-codestyle-reviewers,jmaher 2024-10-10 15:06:01 +00:00
.prettierrc.js
.rstcheck.cfg
.stylelintignore
.stylelintrc.js Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer 2024-10-15 19:39:46 +00:00
.taskcluster.yml Bug 1923857 - retry decision tasks on try for worker-shutdown/claim-expired errors. r=releng-reviewers,bhearsum DONTBUILD 2024-10-10 13:32:22 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1897176 - Allow unit tests to access and use app resources. r=tthibaud 2024-10-01 06:57:53 +00:00
Cargo.lock Bug 1926269 - Changes to allow publishing selectors. r=supply-chain-reviewers 2024-10-23 19:54:49 +00:00
Cargo.toml Bug 1917685 - Merge minidump-analyzer into the crash reporter client r=gsvelto,fluent-reviewers 2024-10-23 13:58:12 +00:00
client.mk
client.py
CLOBBER Bug 1921707 - libwebrtc - moz.build file updates r=ng,webrtc-reviewers 2024-10-10 13:42:45 +00:00
configure
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in
mots.yaml Bug 1923813 - Make ahal the owner of Mozharness r=ahal,shtrom DONTBUILD 2024-10-18 13:28:27 +00:00
moz.build Bug 1923364 - Add topic guides for app-services, r=nanj,markh DONTBUILD 2024-10-09 23:24:17 +00:00
moz.configure Bug 1717448 - Vendor {fmt} in third_party. r=glandium 2024-10-21 12:54:52 +00:00
mozilla-config.h.in
old-configure.in
package-lock.json Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer 2024-10-15 19:39:46 +00:00
package.json Bug 1921088 - Upgrade Stylelint and related libraries to the latest version r=Standard8,devtools-reviewers,omc-reviewers,home-newtab-reviewers,nchevobbe,thecount,desktop-theme-reviewers,dao,aminomancer 2024-10-15 19:39:46 +00:00
pyproject.toml
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.