Commit Graph
117 Commits
Author SHA1 Message Date
Manuel Bucher b7d20e85f9 Bug 2039932 - Remove network.cookie.cookieBehavior.trackerCookieBlocking pref r=cookie-reviewers,bvandersloot
Differential Revision: https://phabricator.services.mozilla.com/D302996
2026-06-01 20:55:51 +00:00
Manuel Bucher 446ffade62 Bug 1918337 - Rename cookieBehavior BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN to BEHAVIOR_PARTITION_FOREIGN r=mkaply,extension-reviewers,devtools-reviewers,cookie-reviewers,dom-worker-reviewers,Sasha,Gijs,farre,nchevobbe,robwu,asuth,timhuang
The cookie behavior was changed in bug 1918342. Lets update the
constant name to reflect the new behavior.

This adds new string constants for enterprise policy while keeping the
old constant for backwards compatibilty.
"reject-tracker-and-partition-foreign" is now deprecated and aliases to
the new "partition-foreign"

Addons API keeps the current "reject_trackers_and_partition_foreign"[1]
string constant for compatibility.

[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/privacy/websites#cookieconfig

Differential Revision: https://phabricator.services.mozilla.com/D300794
2026-05-26 15:01:08 +00:00
Benjamin VanderSloot ef79f85b0b Bug 2027745, part 1 - Remove the storage access unpartitioning of non-cookie Storage - r=timhuang,dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D290972
2026-05-01 14:22:54 +00:00
Sylvestre Ledru 6be5ec2fff Bug 2023419 - Remove Emacs/Vim modelines from toolkit/ r=emilio,mkaply,extension-reviewers,credential-management-reviewers,desktop-theme-reviewers,win-reviewers,webcompat-reviewers,core-sessionstore-reviewers,profiles-reviewers,ai-platform-reviewers,mconley,twisniewski,gstoll,jhirsch,rpl,dimi,akulyk
Differential Revision: https://phabricator.services.mozilla.com/D287874
2026-04-14 12:56:19 +00:00
agoloman ae99dfb565 Revert "Bug 2023419: apply code formatting via Lando" for causing bc failures @browser_sendQuery.js.
This reverts commit aa15b809d9.

Revert "Bug 2023419 - Remove Emacs/Vim modelines from toolkit/ - follow up r=emilio"

This reverts commit c659385796.

Revert "Bug 2023419 - Remove Emacs/Vim modelines from toolkit/ r=emilio,mkaply,extension-reviewers,credential-management-reviewers,desktop-theme-reviewers,win-reviewers,webcompat-reviewers,core-sessionstore-reviewers,profiles-reviewers,ai-platform-reviewers,mconley,twisniewski,gstoll,jhirsch,rpl,dimi,akulyk"

This reverts commit 1e55e9bf9b.
2026-04-13 13:06:21 +00:00
Sylvestre Ledru 1e55e9bf9b Bug 2023419 - Remove Emacs/Vim modelines from toolkit/ r=emilio,mkaply,extension-reviewers,credential-management-reviewers,desktop-theme-reviewers,win-reviewers,webcompat-reviewers,core-sessionstore-reviewers,profiles-reviewers,ai-platform-reviewers,mconley,twisniewski,gstoll,jhirsch,rpl,dimi,akulyk
Differential Revision: https://phabricator.services.mozilla.com/D287874
2026-04-13 11:30:51 +00:00
rperta f5848b1deb Revert "Bug 2023419: apply code formatting via Lando" for causing bc failures at browser_sendQuery.js and browser_console_to_mozlog.js
This reverts commit f8a9770c7d.

This reverts commit 47e16fbdd2.

This reverts commit 9f363abaef.
2026-03-20 06:37:54 +00:00
Sylvestre Ledru 9f363abaef Bug 2023419 - Remove Emacs/Vim modelines from toolkit/ r=emilio,mkaply,extension-reviewers,credential-management-reviewers,desktop-theme-reviewers,win-reviewers,webcompat-reviewers,profiles-reviewers,ai-ondevice-reviewers,mconley,twisniewski,gstoll,jhirsch,rpl,dimi,akulyk
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287874
2026-03-20 04:55:48 +00:00
Simon Farre 2b68fb9e0e Bug 2013043 - Set associated browsing context ID for fetch r=necko-reviewers,dom-worker-reviewers,devtools-reviewers,cookie-reviewers,manuel,nchevobbe,edgul,kershaw,edenchuang
Changes name of "WorkerAssociatedBrowsingContext" in LoadInfo to just
"AssociatedBrowsingContext" to signal it's somewhat broader use case.

For reporting api, to show up in dev tools, we need dev tooling to match
against the channel and for that it needs a browsing context id (or
something similar). We set the associated bc id and then try matching
against that in NetworkUtils.sys.mjs.

Differential Revision: https://phabricator.services.mozilla.com/D283896
2026-03-13 12:26:53 +00:00
serge-sans-paille 7662b3abdc Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 19:36:01 +00:00
Cristina Horotan 8a1b1970b7 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing Gtest failures on AlreadyAddRefed.h
This reverts commit e98adca292.
2025-10-21 16:16:29 +00:00
serge-sans-paille e98adca292 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 15:05:17 +00:00
Cristina Horotan aab924e90d Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing build bustage at nsBrowserApp.cpp
This reverts commit fd0ffa193c.
2025-10-21 10:44:13 +00:00
serge-sans-paille fd0ffa193c Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 09:44:11 +00:00
Narcis Beleuzu e1e6bbb1c9 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing bustages on Document.cpp
This reverts commit b23c15e927.
2025-10-21 06:34:58 +00:00
serge-sans-paille b23c15e927 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 06:01:36 +00:00
Manuel Bucher 1aa15354b1 Bug 1968722 - Storage-Access-Headers: Set Request header with storage-access state and frame activation r=necko-reviewers,jesup,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D257147
2025-08-28 18:57:20 +00:00
Cristina Horotan e7d283c2ba Revert "Bug 1979307, Bug 1968722 - Storage-Access-Headers: Add "Origin"-header when sending "Sec-Fetch-Storage-Access: inactive" r=necko-reviewers,valentin" for causing wpt failures on storage-access-headers.tentative.https.sub.window.html
This reverts commit 5e25aa2de6.

Revert "Bug 1968722 - Storage-Access-Headers: Set Request header with storage-access state and frame activation r=necko-reviewers,jesup,timhuang"

This reverts commit f72bb573c1.
2025-08-27 12:02:51 +00:00
Manuel Bucher f72bb573c1 Bug 1968722 - Storage-Access-Headers: Set Request header with storage-access state and frame activation r=necko-reviewers,jesup,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D257147
2025-08-27 10:29:31 +00:00
Andrew Sutherland 8bc42fad87 Bug 1837969 - StorageAllowedForDocument() shouldn't return ePartitionForeignOrDeny for top-level windows. r=anti-tracking-reviewers,timhuang
This is a slight variation on :twisniewski's prototype fix.

Differential Revision: https://phabricator.services.mozilla.com/D235399
2025-03-26 01:31:04 +00:00
Emilio Cobos Álvarez 97288e8d9a Bug 1954134 - Remove ApproximateAllowAccessForWithoutChannel. r=anti-tracking-reviewers,timhuang
I removed the last caller on the previous patch.

Differential Revision: https://phabricator.services.mozilla.com/D241731
2025-03-18 23:25:01 +00:00
Cristina Horotan d9e06baff6 Backed out 6 changesets (bug 1837969, bug 1320796) for causing mochitets failures at test_file_blob_upload.html. CLOSED TREE
Backed out changeset 1e583de2110f (bug 1320796)
Backed out changeset f9fd810e029c (bug 1320796)
Backed out changeset a54afb750109 (bug 1320796)
Backed out changeset 965e5db0af1b (bug 1320796)
Backed out changeset f93ed49dbc28 (bug 1320796)
Backed out changeset 2e7b9f87e4a3 (bug 1837969)
2025-03-02 21:20:16 +02:00
Andrew Sutherland 34e0a803e8 Bug 1837969 - StorageAllowedForDocument() shouldn't return ePartitionForeignOrDeny for top-level windows. r=anti-tracking-reviewers,timhuang
This is a slight variation on :twisniewski's prototype fix.

Differential Revision: https://phabricator.services.mozilla.com/D235399
2025-02-26 22:21:51 +00:00
Benjamin VanderSloot 986aa04113 Bug 1937102 - Fix protections UI tests that rely on unpartitioning storage - r=anti-tracking-reviewers,cookie-reviewers,webcompat-reviewers,timhuang,twisniewski
This is where I found and addressed a bug with surplus console messages when we enabled APS

Differential Revision: https://phabricator.services.mozilla.com/D233915
2025-01-16 15:39:24 +00:00
Tim Huang 2dbfecdc8b Bug 1918340 - Notify the STATE_COOKIES_PARTITIONED_TRACKER content blocking event for partitioned tracker cookies. r=anti-tracking-reviewers,cookie-reviewers,bvandersloot,edgul
To show the trackers who access partitioned cookies, we need to notify
the STATE_COOKIES_PARTITIONED_TRACKER content blocking event.

The patch changes the cookie service to nofity when accessing the
partitioned tracker cookies. And replace the
STATE_COOKIES_LOADED_TRACKER and
STATE_COOKIES_LOADED_SOCIALTRACKER events with the
STATE_COOKIES_PARTITIONED_TRACKER for the ContentBlockingNotifier.

Differential Revision: https://phabricator.services.mozilla.com/D229330
2024-11-20 23:38:09 +00:00
Tim Huang d47e3e3ff7 Bug 1918336 - Update storage access logic to partition tracker cookies when track cookie blocking is disabled. r=anti-tracking-reviewers,cookie-reviewers,bvandersloot,edgul
Differential Revision: https://phabricator.services.mozilla.com/D229329
2024-11-20 23:38:08 +00:00
Timothy Nikkel 657c5b6cc5 Bug 1863046. Remove redundant nsContentUtils::IsInPrivateBrowsing (it's also slow). r=tjr,media-playback-reviewers,anti-tracking-reviewers,karlt,pbz
Those query interfaces on image load show up in profiles, eg it's about 0.05% of total time of the NewsSite test on sp3.

Differential Revision: https://phabricator.services.mozilla.com/D192726
2024-11-08 10:11:13 +00:00
Alexandru Marc 0765edc157 Backed out changeset e374514be19b (bug 1863046) for causing Bug 1863046 . CLOSED TREE 2024-11-05 14:49:01 +02:00
Timothy Nikkel 72a73550dd Bug 1863046. Remove redundant nsContentUtils::IsInPrivateBrowsing (it's also slow). r=tjr,media-playback-reviewers,anti-tracking-reviewers,karlt,pbz
Those query interfaces on image load show up in profiles, eg it's about 0.05% of total time of the NewsSite test on sp3.

Differential Revision: https://phabricator.services.mozilla.com/D192726
2024-11-05 01:53:54 +00:00
Kagami Sascha Rosylight 90c218ca5f Bug 1908664 - Add nsIPrincipal::GetIsInPrivateBrowsing r=media-playback-reviewers,anti-tracking-reviewers,dom-storage-reviewers,padenot,asuth,pbz
Differential Revision: https://phabricator.services.mozilla.com/D216993
2024-07-26 17:47:51 +00:00
Tim Huang 47b136aa2f Bug 1907353 - Use the loadInfo to check storage access if there is no target browsing context. r=anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D216394
2024-07-12 13:59:13 +00:00
Tim Huang 083b7f811a Bug 1900565 - Don't immediately return from the ShouldAllowAccessFor(nsIChannel) if the channel doesn't have target browsing context. r=bvandersloot
The patch modifies the ShouldAllowAccessFor(nsIChannel) to handle the
channels that don't have target browsing context. For example, the
channel for loading shared worker scripts won't have a associated
browsing context. In this case, the ShouldAllowAccessFor() should still
work but just ignore the checks that require the browsing context.

Differential Revision: https://phabricator.services.mozilla.com/D212542
2024-06-04 14:14:04 +00:00
Tim Huang 61f7af66c5 Bug 1888032 - Use WorkerAssociatedBrowsingContext in ShouldAllowAccessFor() for worker fetch requests. r=bvandersloot,anti-tracking-reviewers
The targetBrowsingContext is not available for fetch requests from
worker scopes. So, we cannot get the target browsing context in
ShouldAllowAccessFor().

To fix this, we can use the WorkerAssociatedBrowsingContext if the target
browsing context is not available.

Differential Revision: https://phabricator.services.mozilla.com/D208757
2024-05-06 20:26:17 +00:00
Benjamin VanderSloot 20dc5ddeec Bug 1874416 - Refactor and update comments to clear up the ShouldAllowAccessFor functions - r=anti-tracking-reviewers,timhuang
The bulk of this is updating the comments. That makes everything easier to understand, and will be useful to understand when StorageKeying.

Other changes:
- remove an extra CJS Create call when we already have one.
- create and use a CookiesBehavior-esque helper for the ApproximateAllowAccessFor function. This creates a parallel structure adds a minor improvement for webextensions for Image caching.
- Use the CheckCookiePermissionPrincipal helper in the ShouldAllowAccessFor(principal) function. This was the only of the SAAF funcitons that didn't use this helper and it is functionally equivalent to do so. Parallel structure is good!

Differential Revision: https://phabricator.services.mozilla.com/D198714
2024-01-23 19:06:27 +00:00
Benjamin VanderSloot 13bf4e6b4f Bug 1873490, part 3 - Refactor StorageDisabledByAntiTracking away by coalescing it into InternalStorageAllowedCheck - r=anti-tracking-reviewers,timhuang
Similarly to part 2, this makes one function bigger, but removes a funciton.

IMO the "and then do more stuff" helper call at the end of a function without a clear separation/purpose and no other callsites
mostly makes the code harder to reason about. Especially when that helper is exported in the header so you can't tell at a
glance that there aren't other callers.

Differential Revision: https://phabricator.services.mozilla.com/D198036
2024-01-12 17:03:21 +00:00
Benjamin VanderSloot 01cb2642a7 Bug 1873490, part 2 - Refactor StorageDisabledByAntiTrackingInternal away by coalescing it into StorageDisabledByAntiTracking - r=anti-tracking-reviewers,timhuang
This makes the single remaining function larger, but makes things much easier to read to my eyes and reuses the branches that exist instead of mirroring them in both functions

Differential Revision: https://phabricator.services.mozilla.com/D198035
2024-01-12 17:03:20 +00:00
Benjamin VanderSloot eae4992c1e Bug 1873490, part 1 - Refactor the only external call to StorageDisabledByAntiTracking - r=anti-tracking-reviewers,timhuang
I'm considering dropping this if statement entirely because this is only hit when we disable network state partitioning.
According to code coverage, we only see the ""_ns as the result of this ternary in our testing too.

But, if you disable network state partitioning and then block cookies from a given domain, then we would still want to partition network state I suppose, so I'll leave it like this..

Differential Revision: https://phabricator.services.mozilla.com/D198034
2024-01-12 17:03:20 +00:00
Harshit Sohaney 3898675cdd Bug 1835913 - Deprecating RejectForeignAllowList. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187286
2023-09-14 15:41:40 +00:00
Benjamin VanderSloot 3d8d18cfc1 Bug 1835907, part 5 - Refactor the window's mStorageAccessPermissionGranted variable and its Getters to a more accurate name: mUsingStorageAccess - r=anti-tracking-reviewers,pbz
This probably should have been done earlier, but became obvious with uses of Document::HasStorageAccessPermissionGrated in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D184825
2023-08-15 13:04:05 +00:00
Cosmin Sabou 819840f3b4 Backed out 6 changesets (bug 1835907) for causing multiple failures. CLOSED TREE
Backed out changeset 91ef29afec50 (bug 1835907)
Backed out changeset 989479621780 (bug 1835907)
Backed out changeset 86e3f98ceb31 (bug 1835907)
Backed out changeset 4790e44c234c (bug 1835907)
Backed out changeset bb9f48eec5bf (bug 1835907)
Backed out changeset 74f90708260a (bug 1835907)
2023-08-14 22:18:10 +03:00
Benjamin VanderSloot dfe479593f Bug 1835907, part 5 - Refactor the window's mStorageAccessPermissionGranted variable and its Getters to a more accurate name: mUsingStorageAccess - r=anti-tracking-reviewers,pbz
This probably should have been done earlier, but became obvious with uses of Document::HasStorageAccessPermissionGrated in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D184825
2023-08-14 18:02:47 +00:00
Nika Layzell b783e25bea Bug 1840647 - Part 1: Fix callers of GetWebExposedOriginSerialization in AntiTracking, r=smaug,anti-tracking-reviewers,timhuang
I have done my best to figure out what these specific call-sites
actually want to be using, however I do not understand the AntiTracking
implementation. Please look over these callers somewhat carefully to
make sure this is actually the desired behaviour.

It seems like the majority of these cases are in places where
`OriginNoSuffix` has been mixed up with
`GetWebExposedOriginSerialization`. This makes sense, as these will be
identical strings for the majority of web-exposed URLs. The big
differences between the two are with other URL types, like null
principals.

The logic seems somewhat inconsistent about its handling of origin
attributes, which was also confusing when reading through it. I've tried
to align with the existing code when possible.

Differential Revision: https://phabricator.services.mozilla.com/D182226
2023-07-07 17:08:35 +00:00
Nika Layzell 30c48eac49 Bug 1839920 - Rename Get{ASCII,UTF}Origin to GetWebExposedOriginSerialization, r=smaug,necko-reviewers,anti-tracking-reviewers,bvandersloot,jesup
This should make uses of the type more clearly indicating where the
origin came from, and should help avoid potential confusion between this
origin and nsIPrincipal::origin in new code.

This new name is long, but explicit. The string returned from this
function corresponds to the "serialization of an origin" from the WHATWG
html spec:
https://html.spec.whatwg.org/multipage/browsers.html#ascii-serialisation-of-an-origin

Differential Revision: https://phabricator.services.mozilla.com/D181794
2023-06-27 19:59:15 +00:00
Tim Huang 72e8d279dd Bug 1839464 - Check storage access in content accessible about pages. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181807
2023-06-26 08:49:32 +00:00
serge-sans-paille 13be3960da Bug 1823343 - Make toolkit/components/backgroundhangmonitor buildable outside of a unified build environment r=andi
Depends on D172970

Differential Revision: https://phabricator.services.mozilla.com/D172971
2023-03-21 10:47:29 +00:00
serge-sans-paille 7e05b62fdb Bug 1823341 - Make toolkit/components/antitracking buildable outside of a unified build environment r=andi
Depends on D172968

Differential Revision: https://phabricator.services.mozilla.com/D172969
2023-03-21 10:47:28 +00:00
Thomas Wisniewski 5ab0bdec19 Bug 1758745 - Refactor EffectiveStoragePrincipal to EffectiveCookiePrincipal and create new function EffectiveStoragePrincipal that is never unpartitioned; r=bvandersloot
Depends on D143626

Differential Revision: https://phabricator.services.mozilla.com/D143627
2022-07-15 13:26:17 +00:00
Cristian Tuns 3357ee59dc Backed out 19 changesets (bug 1758745, bug 1758740, bug 1762462, bug 1779603) for causing mochitest failures on browser_partitionedConsoleMessage.js CLOSED TREE
Backed out changeset e3c8cd6f00b6 (bug 1779603)
Backed out changeset 4e46a6f209b4 (bug 1762462)
Backed out changeset 00c0c6314640 (bug 1762462)
Backed out changeset 8f11221f859f (bug 1762462)
Backed out changeset ffbf90e3bbab (bug 1762462)
Backed out changeset 0c760428dfec (bug 1762462)
Backed out changeset 7c99293cc8f9 (bug 1762462)
Backed out changeset 92bd237a95e1 (bug 1762462)
Backed out changeset 74539a3cc7fc (bug 1762462)
Backed out changeset acf08a10c6fb (bug 1762462)
Backed out changeset 0cf191a7739f (bug 1762462)
Backed out changeset 030c276d6669 (bug 1762462)
Backed out changeset a88a099c684d (bug 1762462)
Backed out changeset cbd69786a24b (bug 1762462)
Backed out changeset e5e0655206a8 (bug 1762462)
Backed out changeset 707f9dfed501 (bug 1762462)
Backed out changeset 619e4bb01a81 (bug 1762462)
Backed out changeset 02b7641683b0 (bug 1758745)
Backed out changeset a2f110442038 (bug 1758740)
2022-07-14 17:26:17 -04:00
Thomas Wisniewski 5a542d4e45 Bug 1758745 - Refactor EffectiveStoragePrincipal to EffectiveCookiePrincipal and create new function EffectiveStoragePrincipal that is never unpartitioned; r=bvandersloot
Depends on D143626

Differential Revision: https://phabricator.services.mozilla.com/D143627
2022-07-14 19:26:26 +00:00
Norisz Fay e8b394df6c Backed out 18 changesets (bug 1762462, bug 1758745, bug 1758740) for causing mochitest failures on test_storage_copied.html
Backed out changeset a27ae15872a9 (bug 1762462)
Backed out changeset b7d979a36324 (bug 1762462)
Backed out changeset 6249efe40513 (bug 1762462)
Backed out changeset 1e81ed3014a0 (bug 1762462)
Backed out changeset 92cec5f5db1c (bug 1762462)
Backed out changeset fa3c45b4de5c (bug 1762462)
Backed out changeset 64df67f43ad7 (bug 1762462)
Backed out changeset d66dd76ec2b6 (bug 1762462)
Backed out changeset 4f8aaba02a03 (bug 1762462)
Backed out changeset 81eb7d60dea9 (bug 1762462)
Backed out changeset 01504f5f818a (bug 1762462)
Backed out changeset 2615b571c9ba (bug 1762462)
Backed out changeset 73ed8be3f117 (bug 1762462)
Backed out changeset edb94ba8ec59 (bug 1762462)
Backed out changeset 21dd6fdc672e (bug 1762462)
Backed out changeset 31a70f9ad879 (bug 1762462)
Backed out changeset 5261ee5a2368 (bug 1758745)
Backed out changeset ad6ffd85ef3c (bug 1758740)
2022-07-14 03:16:08 +03:00