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
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
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
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
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
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
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.
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
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
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
- 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
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
This reverts commit 679da580e2.
Revert "Bug 2036714 - P1. Port onLoad module initialization to use category-manager invocation r=Gijs"
This reverts commit f2e5b22392.