Tom Schuster
6c07d29b47
Bug 1837153 - Make RFPTarget parameter of ShouldResistFingerprinting_dangerous non-optional. r=tjr,cookie-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D180668
2023-06-14 13:34:59 +00:00
Tom Schuster
c6275439e2
Bug 1837153 - Make RFPTarget parameter of ShouldResistFingerprinting with nsIChannel non-optional. r=tjr,cookie-reviewers,timhuang,geckoview-reviewers,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D180199
2023-06-13 19:32:17 +00:00
Perry McManis
8348cb300a
Bug 1752139 - Support TestResetFOG
on Android r=chutten,extension-reviewers,cookie-reviewers,pbz,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179975
2023-06-09 17:17:19 +00:00
Cristian Tuns
f54c00efaa
Backed out changeset 07a0dce54c55 (bug 1752139) for possibly causing Bug 1837869 a=backout
2023-06-12 02:22:24 -04:00
Perry McManis
b0a4d9a719
Bug 1752139 - Support TestResetFOG
on Android r=chutten,extension-reviewers,cookie-reviewers,pbz,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D179975
2023-06-09 17:17:19 +00:00
Mark Banner
6725448902
Bug 1834176 - Convert consumers of NetUtil.jsm to import the ES module directly. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-06-07 08:42:36 +00:00
Mark Banner
5d59c7aecd
Bug 1824613 - Convert consumers of toolkit/mozapps/extensions/ to import ES modules directly. r=extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,sync-reviewers,sgalich,bytesized,robwu,skhamis
...
Depends on D179819
Differential Revision: https://phabricator.services.mozilla.com/D179820
2023-06-02 20:00:35 +00:00
Saira Abdulla
9691ab4a5f
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 15:27:03 +00:00
Iulian Moraru
90b739a400
Backed out 2 changesets (bug 1824612) for causing dt failures on browser_dbg-features-source-tree.js. CLOSED TREE
...
Backed out changeset c3f38adc818e (bug 1824612)
Backed out changeset 58ba8bb3398a (bug 1824612)
2023-05-31 17:28:16 +03:00
Saira Abdulla
2e8db5969a
Bug 1824612 - Convert consumers of toolkit/components/extensions to ES modules. r=robwu,webcompat-reviewers,geckoview-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,sgalich,valentin,nalexander,mconley,m_kato
...
Depends on D175553
Differential Revision: https://phabricator.services.mozilla.com/D176005
2023-05-31 10:21:37 +00:00
Kris Maglione
32784b2883
Bug 1648545: Part 4 - Move ContentPage.spawn to use SpecialPowers rather than ContentTask. r=ahal,cookie-reviewers,anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D119451
2023-05-27 03:46:44 +00:00
Noemi Erli
06b68d0d45
Backed out 4 changesets (bug 1648545) for causing mass failures
...
Backed out changeset ac3d639547fa (bug 1648545)
Backed out changeset f63760c845f3 (bug 1648545)
Backed out changeset 652b48b10d37 (bug 1648545)
Backed out changeset 1ca7abd873d1 (bug 1648545)
2023-05-26 02:12:58 +03:00
Kris Maglione
f3218c1a70
Bug 1648545: Part 4 - Move ContentPage.spawn to use SpecialPowers rather than ContentTask. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D119451
2023-05-25 22:04:32 +00:00
Natalia Csoregi
e87ecf485e
Backed out 3 changesets (bug 1834222, bug 1834176) for causing RemoteProcessMonitor failures. CLOSED TREE
...
Backed out changeset 346d3a1568dd (bug 1834222)
Backed out changeset ea1d8b634bfc (bug 1834176)
Backed out changeset 74d1880272d3 (bug 1834176)
2023-05-24 04:29:45 +03:00
Mark Banner
fbc15bdb60
Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 19:09:29 +00:00
Noemi Erli
aa2f146d78
Backed out 2 changesets (bug 1834176) for causing xpc failures in test_unload.js CLOSED TREE
...
Backed out changeset 57876d77a652 (bug 1834176)
Backed out changeset ae2f0837b528 (bug 1834176)
2023-05-23 12:14:37 +03:00
Mark Banner
e3e9a991b8
Bug 1834176 - Convert NetUtil.jsm to be an ES system module. r=arai,webdriver-reviewers,perftest-reviewers,valentin,extension-reviewers,devtools-reviewers,sync-reviewers,cookie-reviewers,robwu,afinder,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D178589
2023-05-23 08:13:08 +00:00
Mark Banner
130a655906
Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
...
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
8219a5c503
Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Valentin Gosu
6250f03723
Bug 1828126 - Test for cookie timestamp fixup r=pbz,cookie-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D176022
2023-05-03 08:30:51 +00:00
Valentin Gosu
8b6cf1971b
Bug 1828126 - Add a mechanism to fix cookies with invalid future createdAt timestamp r=pbz,edgul,cookie-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D175589
2023-05-03 08:30:50 +00:00
Robert Longson
332b093789
Bug 1676651
- don't warn to console if a cookie is deleted r=dveditz
...
Differential Revision: https://phabricator.services.mozilla.com/D175563
2023-04-28 14:33:34 +00:00
Stanca Serban
18b9a1123b
Backed out 2 changesets (bug 1828126) for causing xpcshell failures in test_timestamp_fixup.js. CLOSED TREE
...
Backed out changeset 66859868cbe0 (bug 1828126)
Backed out changeset bf9de9179b04 (bug 1828126)
2023-04-27 16:59:43 +03:00
Valentin Gosu
3ed266ca7d
Bug 1828126 - Test for cookie timestamp fixup r=pbz,cookie-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D176022
2023-04-27 12:59:12 +00:00
Valentin Gosu
90caf4fa95
Bug 1828126 - Add a mechanism to fix cookies with invalid future createdAt timestamp r=pbz,edgul,cookie-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D175589
2023-04-27 12:59:12 +00:00
Sandor Molnar
0f674185af
Backed out changeset a6dadf64c1e0 (bug 1819529) for causing bug 1827669
2023-04-14 16:59:32 +03:00
Mark Banner
474708c181
Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Nika Layzell
c4bc184bac
Bug 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8
...
Manual changes to make all refcounted types be marked as `nullable` after the
changes in part 1a. This was done without any investigation into whether the
actual types want to be nullable, in order to avoid code changes.
Differential Revision: https://phabricator.services.mozilla.com/D168889
2023-03-20 15:40:37 +00:00
Iulian Moraru
801dae8f2c
Backed out 14 changesets (bug 1607634, bug 1814683, bug 1815177, bug 1814686) for causing build bustages on MaybeStorageBase. CLOSED TREE
...
Backed out changeset ae1c0551cea5 (bug 1815177)
Backed out changeset a11cafaa1884 (bug 1814686)
Backed out changeset 621507521762 (bug 1814686)
Backed out changeset ad692c73e381 (bug 1814686)
Backed out changeset 3be031e503dc (bug 1607634)
Backed out changeset aebbaa145d2d (bug 1607634)
Backed out changeset 9aa1f346fe14 (bug 1607634)
Backed out changeset e3eb77ad55ca (bug 1607634)
Backed out changeset e60591e5d5cf (bug 1607634)
Backed out changeset 6e43042d204a (bug 1814683)
Backed out changeset 1706e88652d6 (bug 1814683)
Backed out changeset 6878a1590e91 (bug 1814683)
Backed out changeset b1c980c834d8 (bug 1814683)
Backed out changeset 94480b82d102 (bug 1814683)
2023-03-15 01:58:36 +02:00
Nika Layzell
a07f4ca7c9
Bug 1814686 - Part 1b: Add nullable annotations to refcounted types in ipdl, r=ipc-reviewers,mccr8
...
Manual changes to make all refcounted types be marked as `nullable` after the
changes in part 1a. This was done without any investigation into whether the
actual types want to be nullable, in order to avoid code changes.
Differential Revision: https://phabricator.services.mozilla.com/D168889
2023-03-14 19:31:41 +00:00
Tim Huang
c89fa7c1ae
Bug 1821545 - Reset the mFingerprintingRandomKey of CookieJarSettings before setting it. r=anti-tracking-reviewers,pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D172213
2023-03-10 12:29:21 +00:00
Mark Banner
30ec141b24
Bug 1819960 - Convert consumers of netwerk/ to import ES modules directly. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D171490
2023-03-04 11:15:30 +00:00
Mark Banner
6c4b226572
Bug 1819960 - Convert some netwerk files to ES modules. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D171489
2023-03-04 11:15:29 +00:00
Tim Huang
449649877a
Bug 1816064 - Part 2: Implement the fingerprinting randomization key to cookieJarSettings. r=tjr,pbz
...
This patch adds a fingerprintingRandomizationKey to the
nsICookieJarSettings. The random key will be generated when loading a
top-level http channel and set to the cookieJarSettings. The key will
propagate to the top-level documant and all sub-documents with the
cookieJarSettings. Accessing the fingerprintingRandomizationKey will
return an error if the fingerprinting randomization is disabled.
Differential Revision: https://phabricator.services.mozilla.com/D170604
2023-03-02 21:47:06 +00:00
Hannah Peuckmann
7d95913448
Bug 1819529 - Add test cases for cookie clearing in time range. r=pbz,necko-reviewers,valentin,edgul
...
Differential Revision: https://phabricator.services.mozilla.com/D170377
2023-03-01 07:54:05 +00:00
edgul
63fa842543
Bug 1783536 - Prevent document.cookie de-sync from cookie jar when setting secure cookies. r=dveditz,necko-reviewers
...
Secure cookie names are now sent to insecure-origin content processes so they are
able to prevent cookie setting when there is a pre-existing secure cookie
on another process. This will prevent each content process document.cookie from
getting de-synchronized from the cookie jar.
Differential Revision: https://phabricator.services.mozilla.com/D157537
2023-02-17 22:15:17 +00:00
Valentin Gosu
60c50820bc
Bug 1797231 - Add pref to block unicode chars in cookies r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165954
2023-02-05 09:08:15 +00:00
Valentin Gosu
ac41350f52
Bug 1813469 - Add telemetry for cookies containing unicode characters r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165953
2023-02-05 09:08:15 +00:00
Iulian Moraru
057b6edd3e
Backed out 2 changesets (bug 1813469, bug 1797231) for causing failures related to TestCookie.BlockUnicode on windows. CLOSED TREE
...
Backed out changeset 89ccb90407c3 (bug 1797231)
Backed out changeset 7026b56af3d2 (bug 1813469)
2023-01-31 17:21:31 +02:00
Valentin Gosu
7cb9481d10
Bug 1797231 - Add pref to block unicode chars in cookies r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165954
2023-01-31 08:21:38 +00:00
Valentin Gosu
b200ebd397
Bug 1813469 - Add telemetry for cookies containing unicode characters r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165953
2023-01-31 08:21:37 +00:00
Valentin Gosu
f5e5b05f46
Bug 1808206 - Remove code that moves cookies around in memory r=edgul,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D165822
2023-01-04 08:48:19 +00:00
Sylvestre Ledru
1f8d23143a
Bug 1802288 - remove trailing whitespaces in idl/webidl files r=credential-management-reviewers,webidl,smaug,sgalich
...
Differential Revision: https://phabricator.services.mozilla.com/D165559
2022-12-28 09:52:44 +00:00
edgul
cef96316b3
Bug 1790965 - Correct CookieService to get only session cookies from persistent storage when requested for session cookies. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D164907
2022-12-20 14:39:42 +00:00
Jens Stutte
ccf7f72677
Bug 1768581 - Part 5: Avoid late initialization of permanent cookie storage. r=necko-reviewers,valentin
...
The `CookieService` singleton observes "profile-before-change"
(`ShutdownPhase::AppShutdown`) to destroy the cookie storages, but uses
`ClearOnShutdown` in order to release itself.
If we tried to use it the first time after `ShutdownPhase::AppShutdown`,
`InitCookieServices` would instantiate a new DB connection that is never
removed until MozStorage asserts.
As a minimal invasive hack we check the shutdown phase in
`InitCookieStorage` and in case deviate to a `CookiePrivateStorage`.
As a follow up we should probably verify, up to which shutdown phase we
really want to be able to provide the `CookieService` as a whole.
Depends on D162497
Differential Revision: https://phabricator.services.mozilla.com/D163050
2022-12-12 15:21:28 +00:00
Paul Zuehlcke
fce60ddb69
Bug 1788907 - Add support for multiple domains per nsICookieBannerRule. r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D163356
2022-12-05 20:34:38 +00:00
Tom Schuster
e0b9da0442
Bug 1774857 - Send (only) laxByDefault cookies on boomerang-redirects. r=dveditz
...
Differential Revision: https://phabricator.services.mozilla.com/D150253
2022-11-18 11:08:45 +00:00
Tom Schuster
dbd87a19fb
Bug 1797235 - Implement WPT expectation. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D160638
2022-11-04 16:24:54 +00:00
Eden Chuang
2aa93e45f4
Bug 1658869 - Propagate the InterceptedHttpChannel information to fetch's channel casued by FetchEvent.request. r=dom-worker-reviewers,dragana,jesup
...
When a network load needs to be intercepted by ServiceWorker, we extract the Request from the InterceptedHttpChannel, and propagate the Request through FetchEvent.request.
However, some needed information is not extracted or is modified during the Request propagation, so getting the wrong result when using the Request to fetch resources in the ServiceWorker script.
Differential Revision: https://phabricator.services.mozilla.com/D145969
2022-09-30 22:39:23 +00:00
Nika Layzell
3202b3d09e
Bug 1789902 - Part 3: Stop generating rust bindings for Services.py, r=xpcom-reviewers,barret
...
Differential Revision: https://phabricator.services.mozilla.com/D156892
2022-09-13 13:47:14 +00:00