Commit Graph
5068 Commits
Author SHA1 Message Date
Simon Chopin 58adfc08ea Bug 1668121 - CrashFileCleaner: clean older reports if too many pending r=gsvelto
While those reports are not exactly stale, we don't want to clutter the
user profile too much.

Differential Revision: https://phabricator.services.mozilla.com/D303064
2026-06-12 12:53:03 +00:00
Simon Chopin 9ed25262b6 Bug 1668121 - Also clean up old pending and submitted crash reports r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D303063
2026-06-12 12:53:01 +00:00
Simon Chopin b87cc38924 Bug 1668121 - run a CrashFileCleaner weekly after startup r=gsvelto,firefox-desktop-core-reviewers
This is the minimal version, that only cleans up InstallTime files.
Since we're now doing it regularly, it's not useful to do it silently
in about:crashes anymore.

Differential Revision: https://phabricator.services.mozilla.com/D303062
2026-06-12 12:52:58 +00:00
Daisuke Akatsuka 8d7c331c3f Bug 2038882: Keep urlbar results open when opening a result in a background tab r=adw,dao,firefox-desktop-core-reviewers ,mossop
Differential Revision: https://phabricator.services.mozilla.com/D299948
2026-06-11 03:32:25 +00:00
Amar e683cd1864 Bug 1968449 - Add check to open extension page in a new default container when triggered from a custom container. r=robwu,places-reviewers,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D289994
2026-06-10 18:53:49 +00:00
Micah Killoran ed365d88ee Bug 2024692 - Replace popupnotification button.footer-button with moz-button. r=hjones,desktop-theme-reviewers,credential-management-reviewers,dimi,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D288732
2026-06-03 04:26:35 +00:00
Stephen A Pohl c171e86b51 Bug 2007691: Filter minimized windows from BrowserWindowTracker.getTopWindow and orderedWindows at read time. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D293563
2026-06-02 12:22:52 +00:00
hanna.alemu 43eddf8925 Bug 2042933 - Make Web Notifications Consent UI configurable via Nimbus (copy and logo) r=omc-reviewers,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D302953
2026-06-01 16:46:45 +00:00
Andrew Overholt 193cf11e2a Bug 2043325 - Show the Share > Generate QR Code dialog when invoked on an unloaded tab. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D303611
2026-06-01 15:49:47 +00:00
Michael Kaply d6d52104f3 Bug 1888477 - Make PopupBlocking Locked policy lock all UI paths r=jmendez,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D298861
2026-06-01 13:26:09 +00:00
Alexandre Lissy 87b802de12 Bug 2041209 - Move WebAuthnPromptHelper to toolkit r=jschanck,fluent-reviewers,flod,credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D302705
2026-05-29 11:12:13 +00:00
Serban Stanca f8cef4bdf4 Revert "Bug 2041209 - Move WebAuthnPromptHelper to toolkit r=jschanck,fluent-reviewers,flod" for causing mochitests plain failures in test_webauthn_related_origin.html.
This reverts commit 0239601823.
2026-05-28 18:14:39 +00:00
Alexandre Lissy 0239601823 Bug 2041209 - Move WebAuthnPromptHelper to toolkit r=jschanck,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D302705
2026-05-28 16:31:13 +00:00
Dave Townsend 774f1b7a83 Bug 2042824: Fix tests that think that EventUtils.synthesizeMouse* returns a promise. r=Gijs,devtools-reviewers,fxview-reviewers,tabbrowser-reviewers,layout-reviewers,nchevobbe,jsudiaman,dshin,nsharpley
Differential Revision: https://phabricator.services.mozilla.com/D302775
2026-05-28 08:55:52 +00:00
Andrew Overholt 21373bea41 Bug 2042228 - Make Share > Generate QR Code selected on non-foreground tab switch the foreground tab. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D302495
2026-05-27 15:35:07 +00:00
Emma Zuehlcke bf9ab44218 Bug 2041131 - Find container cookies in SiteDataManager.hasSiteData. r=necko-reviewers,cookie-reviewers,jesup,timhuang
countCookiesFromHost only looks at the default-OriginAttributes bucket of the
cookie storage hashtable, so cookies stored in a Multi-Account Container
(non-zero userContextId) or under a partitionKey are invisible to it. Since
bug 2019928, the address-bar trust panel's "Clear cookies and site data" menu
item is gated on SiteDataManager.hasSiteData, which calls countCookiesFromHost
and therefore reports no data for containerised sites even when cookies exist.

Add nsICookieManager.hasCookiesForSite(host, OriginAttributesPattern). It
iterates mHostTable and returns true greedily on the first non-empty entry
whose base domain matches and whose OriginAttributes match the supplied
pattern, so containers and partition keys are covered. SiteDataManager.hasSiteData
now uses it with privateBrowsingId: 0, preserving the existing non-PB
scoping. Document the OA limitation on countCookiesFromHost.

Adds:
- gtest covering empty storage, default OA, container, PBM isolation, and partitionKey.
- xpcshell coverage in test_SiteDataManager.js (non-container smoke) and
  test_SiteDataManagerContainers.js (the direct regression case).

Differential Revision: https://phabricator.services.mozilla.com/D302040
2026-05-26 12:37:54 +00:00
Bas Schouten 0688a6c669 Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall
This removes the legacy telemetry mirroring for a large set of glean probes. All of these have their data readily available through glean, this means if there are queries depending on this some small changes maybe needed in order to make those work. This also updates a variety of tests that depended on the legacy telemetry mirrors.

Differential Revision: https://phabricator.services.mozilla.com/D301085
2026-05-25 00:14:48 +00:00
Norisz Fay 2813a3c6d6 Revert "Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall" for causing unknown test url mochitest failure
This reverts commit 07c887df83.
2026-05-24 10:29:09 +00:00
Bas Schouten 07c887df83 Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall
This removes the legacy telemetry mirroring for a large set of glean probes. All of these have their data readily available through glean, this means if there are queries depending on this some small changes maybe needed in order to make those work. This also updates a variety of tests that depended on the legacy telemetry mirrors.

Differential Revision: https://phabricator.services.mozilla.com/D301085
2026-05-23 23:07:39 +00:00
andyh bed8a6e090 Bug 2041365 - Add URL filter to pageActionInUrlbar. r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D301926
2026-05-22 17:17:51 +00:00
hannajones 98d4498cfd Bug 2041430 - Add telemetry probe for Passwords and autofill pane r=mkennedy
Differential Revision: https://phabricator.services.mozilla.com/D301885
2026-05-22 17:16:50 +00:00
Norisz Fay eefa9a362d Revert "Bug 2041365 - Add URL filter to pageActionInUrlbar. r=omc-reviewers,aminomancer" for causing tr8ns failures @ browser_translations_full_page_ai_feature_navigation.js
This reverts commit 9c3ae7ece3.
2026-05-22 01:04:48 +00:00
andyh 9c3ae7ece3 Bug 2041365 - Add URL filter to pageActionInUrlbar. r=omc-reviewers,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D301926
2026-05-21 23:58:12 +00:00
Nika Layzell d147446fc7 Bug 2011326 - Part 2: Predict remote types with ProcessIsolation, r=whimboo,geckoview-reviewers,extension-reviewers,tabbrowser-reviewers,omc-reviewers,layout-reviewers,tcampbell,robwu,sthompson,emilio,mimi
This replaces the existing remote type prediction backend, which has been
implemented in E10SUtils.sys.mjs. This completes the transition which was
started when process selection decisions started being made in C++ for Fission
by removing the core logic completely from E10SUtils.sys.mjs.

Differential Revision: https://phabricator.services.mozilla.com/D282083
2026-05-21 19:23:54 +00:00
Cosmin Sabou cc0604f239 Revert "Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall" for causing talos failures.
This reverts commit 67bb8ceb9e.
2026-05-21 03:53:11 +00:00
Bas Schouten 67bb8ceb9e Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall
This removes the legacy telemetry mirroring for a large set of glean probes. All of these have their data readily available through glean, this means if there are queries depending on this some small changes maybe needed in order to make those work. This also updates a variety of tests that depended on the legacy telemetry mirrors.

Differential Revision: https://phabricator.services.mozilla.com/D301085
2026-05-21 00:56:18 +00:00
agoloman b2d4fa38c5 Revert "Bug 1729352, Bug 2011326, Bug 2011307 - Isolate standard web processes by OA, r=smaug,tabbrowser-reviewers,dom-worker-reviewers,asuth,sthompson,dao,sfoster" for causing bc failures @browser_aboutURLs.js.
This reverts commit ba92fe5024.

Revert "Bug 2011326 - Part 4: Switch test_sitepolicies to a data URI, r=mossop"

This reverts commit 8eab4714b1.

Revert "Bug 2011326 - Part 3: Remove the test-only canLoadURIInRemoteType function, r=firefox-desktop-core-reviewers ,tabbrowser-reviewers,mossop,sthompson"

This reverts commit 8ce4078eed.

Revert "Bug 2011326 - Part 2: Predict remote types with ProcessIsolation, r=whimboo,geckoview-reviewers,extension-reviewers,tabbrowser-reviewers,omc-reviewers,layout-reviewers,tcampbell,robwu,sthompson,emilio,mimi"

This reverts commit df59bd116e.

Revert "Bug 2011326 - Part 1: Remove test for separatePrivilegedContentProcess=false, r=firefox-desktop-core-reviewers ,tabbrowser-reviewers,mossop,sthompson"

This reverts commit 879157d4f7.

Revert "Bug 2011307 - Remove test-only support for marking chrome:// URI as needing to be loaded remotely, r=smaug,tabbrowser-reviewers,nsharpley"

This reverts commit 2d20aa53d9.
2026-05-20 23:54:13 +00:00
Nika Layzell df59bd116e Bug 2011326 - Part 2: Predict remote types with ProcessIsolation, r=whimboo,geckoview-reviewers,extension-reviewers,tabbrowser-reviewers,omc-reviewers,layout-reviewers,tcampbell,robwu,sthompson,emilio,mimi
This replaces the existing remote type prediction backend, which has been
implemented in E10SUtils.sys.mjs. This completes the transition which was
started when process selection decisions started being made in C++ for Fission
by removing the core logic completely from E10SUtils.sys.mjs.

Differential Revision: https://phabricator.services.mozilla.com/D282083
2026-05-20 22:45:29 +00:00
Cosmin Sabou 935adac6fc Revert "Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall" for causing memory related failures.
This reverts commit b7c2b5722f.
2026-05-20 22:18:17 +00:00
Bas Schouten b7c2b5722f Bug 2040243: Remove legacy mirrors for a large set of probes primarily used for performance monitoring. r=chutten,perftest-reviewers,geckoview-reviewers,home-newtab-reviewers,layout-reviewers,jwatt,sparky,mconley,ohall
This removes the legacy telemetry mirroring for a large set of glean probes. All of these have their data readily available through glean, this means if there are queries depending on this some small changes maybe needed in order to make those work. This also updates a variety of tests that depended on the legacy telemetry mirrors.

Differential Revision: https://phabricator.services.mozilla.com/D301085
2026-05-20 20:29:31 +00:00
Tom Ritter b32a3d5f95 Bug 2007589: Rip out all of the unexepected script load telemetry r=Gijs,tschuster,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D296154
2026-05-19 23:39:11 +00:00
Calixte Denizet 9810aa2392 Bug 2015285 - Use the page's content principal for favicon requests when PDF.js owns the document r=mossop
PdfStreamConverter sets aRequest.owner to a resource://pdf.js/ principal,
so the resulting document's nodePrincipal is resource://pdf.js/ even though
its URI is the original https:// PDF URL. FaviconLoader was forwarding that
resource:// principal as the favicon channel's loadingPrincipal, causing the
HTTP auth cache lookup to miss credentials that were cached for the https://
origin, which in turn sent unauthenticated favicon requests.

When the document node's principal is resource://pdf.js, substitute a content
principal derived from the page URI (preserving the origin attributes) and
pass null for the loading node. Passing null is necessary because LoadInfo
derives mLoadingPrincipal from the node's NodePrincipal() when a node is
provided, ignoring the explicit aLoadingPrincipal argument.

Differential Revision: https://phabricator.services.mozilla.com/D295843
2026-05-19 08:55:29 +00:00
Elissa Cha 8e65a4dec2 Bug 2039097 - Support width and height params for OPEN_URL chromeless windows r=omc-reviewers,aminomancer
- Adds optional `width` / `height` support for chromeless windows opened via `OPEN_URL`
- Threads the params through `SpecialMessageActions` into `URILoadingHelper`
- Intended to be used for "Learn more" link in Smart Window User Feedback modal

Differential Revision: https://phabricator.services.mozilla.com/D300478
2026-05-18 14:33:45 +00:00
Emma Zuehlcke ea0af74cac Bug 2035581 - Flag deny/cancel actions in PermissionUI and addon install prompts r=Gijs
Set disableSecurityDelay: true on Block/Cancel/Don't-Allow actions so they
fire immediately instead of being gated by the clickjacking security delay.
These actions are not a clickjacking target — an attacker has nothing to
gain by tricking a user into denying a permission or declining an install.

Covers the BLOCK actions in Geolocation, XR, Loopback, Desktop Notification
(notNow + alwaysBlock + postPrompt), Local Network, and Persistent Storage
prompts, and the cancel/decline actions across the addon install flow.

Differential Revision: https://phabricator.services.mozilla.com/D299415
2026-05-18 11:23:29 +00:00
Dimi eca2d11815 Bug 2036714 - P1. Port onLoad module initialization to use category-manager invocation r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D298230
2026-05-18 09:08:46 +00:00
Mark Striemer 4f0833e4af Bug 2038324 - Make external tests pass with SRD enabled r=mtigley,credential-management-reviewers,omc-reviewers,profiles-reviewers,mkennedy,home-newtab-reviewers,migration-reviewers,mconley,emcminn,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D300474
2026-05-16 21:41:49 +00:00
Jonathan Sudiaman 0acbcec0ef Bug 2039787 - Fix Split View is closed when using the switch to tab option r=sfoster,urlbar-reviewers,adw
Differential Revision: https://phabricator.services.mozilla.com/D300844
2026-05-15 23:52:39 +00:00
Dave Townsend 969a20be17 Bug 2026972: Add a new-profile Glean ping which submits on the first successful shutdown of a new profile. r=profiles-reviewers,janerik,jhirsch
Differential Revision: https://phabricator.services.mozilla.com/D300561
2026-05-15 17:42:08 +00:00
mimi 7c8761acc1 Bug 2035506 - Resolve AW first screen impression dropped due to AS telemetry being set too late r=home-newtab-reviewers,chutten,omc-reviewers,jprickett,thecount
Differential Revision: https://phabricator.services.mozilla.com/D300116
2026-05-15 16:46:56 +00:00
Sandor Molnar a4b0da10d0 Revert "Bug 2038324 - Make external tests pass with SRD enabled r=mtigley,credential-management-reviewers,omc-reviewers,profiles-reviewers,mkennedy,home-newtab-reviewers,migration-reviewers,mconley,emcminn,sfoster" for causing bc failures @ browser_UITour3.js
This reverts commit 984b534296.

Revert "Bug 2001442 - LegacyPaneMappings fixups r=mkennedy"

This reverts commit 62d392caa8.

Revert "Bug 2001442 - Add browser tests for LegacyPaneMappings. r=mkennedy"

This reverts commit 174f842e5c.

Revert "Bug 2001442 - Add LegacyPaneMappings shim and integrate into gotoPref. r=omc-reviewers,mkennedy,hanna_a"

This reverts commit 49832753ff.

Revert "Bug 2001442 - Dispatch subcategory in paneshown event and open migration wizard from sync pane. r=mkennedy"

This reverts commit c15c1306dd.

Revert "Bug 2001442 - Add data-subcategory support to setting-group widget. r=mkennedy"

This reverts commit ed2b391957.
2026-05-15 00:13:31 +00:00
Mark Striemer 984b534296 Bug 2038324 - Make external tests pass with SRD enabled r=mtigley,credential-management-reviewers,omc-reviewers,profiles-reviewers,mkennedy,home-newtab-reviewers,migration-reviewers,mconley,emcminn,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D300474
2026-05-14 23:31:29 +00:00
Sandor Molnar c4aac2acec Revert "Bug 2038324 - Make external tests pass with SRD enabled r=mtigley,credential-management-reviewers,omc-reviewers,profiles-reviewers,mkennedy,home-newtab-reviewers,migration-reviewers,mconley,emcminn,sfoster" for causing bc failures @ browser_legacy_pane_mappings.js
This reverts commit 4f2e0cd05d.

Revert "Bug 2001442 - LegacyPaneMappings fixups r=mkennedy"

This reverts commit cb8ae2d17b.

Revert "Bug 2001442 - Add browser tests for LegacyPaneMappings. r=mkennedy"

This reverts commit b63a9f1af6.

Revert "Bug 2001442 - Add LegacyPaneMappings shim and integrate into gotoPref. r=omc-reviewers,mkennedy,hanna_a"

This reverts commit 727211fcf8.

Revert "Bug 2001442 - Dispatch subcategory in paneshown event and open migration wizard from sync pane. r=mkennedy"

This reverts commit 76ed0f9044.

Revert "Bug 2001442 - Add data-subcategory support to setting-group widget. r=mkennedy"

This reverts commit 2b71b07f46.
2026-05-14 22:12:56 +00:00
Mark Striemer 4f2e0cd05d Bug 2038324 - Make external tests pass with SRD enabled r=mtigley,credential-management-reviewers,omc-reviewers,profiles-reviewers,mkennedy,home-newtab-reviewers,migration-reviewers,mconley,emcminn,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D300474
2026-05-14 21:04:09 +00:00
Sandor Molnar a7c7d85d64 Revert "Bug 2035506 - Resolve AW first screen impression dropped due to AS telemetry being set too late r=home-newtab-reviewers,chutten,omc-reviewers,jprickett,thecount" for causing xp failures @ test_TelemetryFeed.js
This reverts commit bf5b0a2c9e.
2026-05-14 18:14:55 +00:00
mimi bf5b0a2c9e Bug 2035506 - Resolve AW first screen impression dropped due to AS telemetry being set too late r=home-newtab-reviewers,chutten,omc-reviewers,jprickett,thecount
[Bug 1977258](https://bugzilla.mozilla.org/show_bug.cgi?id=1977258) moved ActivityStream.init() behind the TOU acceptance gate which is too late for capturing the first screen impression for `about:welcome` as it renders before TOU acceptance. [AboutWelcomeTelemetry.sendTelemetry()](https://searchfox.org/firefox-main/source/browser/components/aboutwelcome/modules/AboutWelcomeTelemetry.sys.mjs#99) saw telemetry enabled as false and silently dropped the impression ping, causing the [EASY_SETUP screen impressions to drop as of Fx143](https://sql.telemetry.mozilla.org/queries/118725/source).

[try run](https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=45747)

Differential Revision: https://phabricator.services.mozilla.com/D300116
2026-05-14 16:59:59 +00:00
agoloman 2dd1b2dc45 Revert "Bug 2034669 - Give extra time after waking for compulsory restart r=aborondo,gerard-majax" for causing xpc failures @test_ScheduledTask.js.
This reverts commit bcd3699393.
2026-05-13 05:49:18 +00:00
Chris DuPuis bcd3699393 Bug 2034669 - Give extra time after waking for compulsory restart r=aborondo,gerard-majax
Add a parameter to ScheduledTask to allow a delay between waking from sleep and executing the scheduled task.

Differential Revision: https://phabricator.services.mozilla.com/D296267
2026-05-13 02:42:55 +00:00
Atila Butkovits fcdaf22fcc Revert "Bug 2036714 - P2. Use #fragment suffix to disambiguate same-module category consumers r=Gijs" for causing failures at test_no_errors_clean_profile.py.
This reverts commit 679da580e2.

Revert "Bug 2036714 - P1. Port onLoad module initialization to use category-manager invocation r=Gijs"

This reverts commit f2e5b22392.
2026-05-12 17:51:37 +00:00
Dimi f2e5b22392 Bug 2036714 - P1. Port onLoad module initialization to use category-manager invocation r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D298230
2026-05-12 16:19:48 +00:00
Manuel Bucher e81ec786a3 Bug 1994687 - Reduce Page Protection: Telemetry on how users interact with the infobar r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D297043
2026-05-11 19:20:29 +00:00