Joel Maher
9d203b1d46
Bug 1859893 - batch 15 - migrate xpcshell.ini -> .toml. r=aryx,geckoview-reviewers,extension-reviewers,valentin,cookie-reviewers,pbz,owlish,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D194384
2023-11-24 14:41:35 +00:00
edgul
9fcf550bd8
Bug 1828942 - Added telemetry for cookie partition counting and purging for cookie jar size investigation. r=pbz,cookie-reviewers,valentin,bvandersloot
...
Differential Revision: https://phabricator.services.mozilla.com/D183544
2023-11-22 19:14:35 +00:00
edgul
9ade511ef2
Bug 1845938 - Change assertion to early return for GetBaseDomainFromHost failure. r=cookie-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D185928
2023-11-09 16:01:57 +00:00
edgul
27e306d932
Bug 1844815 - Added cookie db cleanup for old non-ipv4 urls with hostnames ending in a number. r=valentin,cookie-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D184520
2023-10-17 22:09:10 +00:00
Tom Marble
0cb91fe33e
Bug 1855300 - convert .ini manifests to .toml: batch 11 remaining **/mochitest.ini r=jmaher,geckoview-reviewers,extension-reviewers,valentin,credential-management-reviewers,cookie-reviewers,sgalich,m_kato,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D190515
2023-10-13 02:32:24 +00:00
Emilio Cobos Álvarez
25c0d10932
Bug 1624819 - Remove TaskCategory and other quantum dom remnants. r=smaug,media-playback-reviewers,credential-management-reviewers,cookie-reviewers,places-reviewers,win-reviewers,valentin,mhowell,sgalich,alwu
...
Sorry this is not a particularly easy patch to review. But it should be
mostly straight-forward.
I kept Document::Dispatch mostly for convenience, but could be
cleaned-up too / changed by SchedulerGroup::Dispatch. Similarly maybe
that can just be NS_DispatchToMainThread if we add an NS_IsMainThread
check there or something (to preserve shutdown semantics).
Differential Revision: https://phabricator.services.mozilla.com/D190450
2023-10-10 08:51:12 +00:00
Sylvestre Ledru
4c29c24344
Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D189896
2023-10-03 09:22:18 +00:00
Joel Maher
99abb50b8d
Bug 1853245 - Migrate .ini manifests to .toml (Batch 7.25). r=aryx,webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D189221
2023-09-26 17:40:01 +00:00
Paul Zuehlcke
e5762669e5
Bug 1854028 - Update BounceTrackingStorageObserver cookie check and remove nsICookieNotification isThirdPartyCookie. r=bvandersloot,cookie-reviewers,anti-tracking-reviewers,timhuang
...
For the BounceTrackingStorageObserver, instead of passing in a third-party flag
we can simply check if the changed cookie is partitioned or not.
Differential Revision: https://phabricator.services.mozilla.com/D188732
2023-09-21 14:42:32 +00:00
edgul
c9eda14998
Bug 1802057 - Block the following characters from use in the cookie name in the cookie string: 0x3B (semi-colon), 0x3D (equals), and 0x7F (del) r=dveditz,cookie-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D182373
2023-09-20 17:50:23 +00:00
Paul Zuehlcke
67c904d08b
Bug 1839918 - Use PHttpChannel for SetCookies calls from child channels. r=bvandersloot,necko-reviewers,cookie-reviewers,valentin
...
Depends on D186045
Differential Revision: https://phabricator.services.mozilla.com/D186340
2023-09-18 11:55:10 +00:00
Paul Zuehlcke
392e706ba1
Bug 1839918 - Create SetCookies variant for document.cookie on PWindowGlobal. r=bvandersloot,cookie-reviewers,valentin
...
Using PWindowGlobal for SetCookies calls from content to parent process means we can get
the BrowsingContext the cookies are set for. The current implementation in PCookieService
drops this relationship.
I'm leaving in the old SetCookies call for cases where the inner window is null. This
happens for some of the cookie tests.
Depends on D185303
Differential Revision: https://phabricator.services.mozilla.com/D186045
2023-09-18 11:55:09 +00:00
Paul Zuehlcke
6e479f1af4
Bug 1839918 - Pass BrowsingContext ID and third-party flag through CookieService. r=bvandersloot,cookie-reviewers,edgul
...
Depends on D185302
Differential Revision: https://phabricator.services.mozilla.com/D185303
2023-09-18 11:55:09 +00:00
Paul Zuehlcke
0c249b591f
Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
...
Depends on D185301
Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-18 11:55:09 +00:00
Paul Zuehlcke
ed81c02fbd
Bug 1839918 - Refactor "cookie-changed" notifications to use nsICookieNotification. r=extension-reviewers,cookie-reviewers,sessionstore-reviewers,bvandersloot,edgul,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D185300
2023-09-18 11:55:08 +00:00
Randell Jesup
b80b17d4d2
Bug 1840516: Add diagnostic asserts for CookieJar r=necko-reviewers,cookie-reviewers,kershaw,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D187487
2023-09-15 18:00:34 +00:00
Harshit Sohaney
9559563c34
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
Cosmin Sabou
28bc51699a
Backed out 9 changesets (bug 1839918) for causing a top crash as in Bug 1852357. a=backout
...
Backed out changeset 1c438df525c7 (bug 1839918)
Backed out changeset 6e3d7fdfda3f (bug 1839918)
Backed out changeset 087b27593538 (bug 1839918)
Backed out changeset 302d12c12083 (bug 1839918)
Backed out changeset 750e0796c1ad (bug 1839918)
Backed out changeset 3949d9b400d4 (bug 1839918)
Backed out changeset 707021ebfd23 (bug 1839918)
Backed out changeset fa9a6af80526 (bug 1839918)
Backed out changeset 5aa3b2f1b5ec (bug 1839918)
2023-09-11 16:42:08 +03:00
Paul Zuehlcke
235769e14c
Bug 1839918 - Use PHttpChannel for SetCookies calls from child channels. r=bvandersloot,necko-reviewers,cookie-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D186340
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
59f59ebf3a
Bug 1839918 - Create SetCookies variant for document.cookie on PWindowGlobal. r=bvandersloot,cookie-reviewers,valentin
...
Using PWindowGlobal for SetCookies calls from content to parent process means we can get
the BrowsingContext the cookies are set for. The current implementation in PCookieService
drops this relationship.
I'm leaving in the old SetCookies call for cases where the inner window is null. This
happens for some of the cookie tests.
Differential Revision: https://phabricator.services.mozilla.com/D186045
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
b78b89ca42
Bug 1839918 - Pass BrowsingContext ID and third-party flag through CookieService. r=bvandersloot,cookie-reviewers,edgul
...
Differential Revision: https://phabricator.services.mozilla.com/D185303
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
c50bea95cc
Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
938915596e
Bug 1839918 - Refactor "cookie-changed" notifications to use nsICookieNotification. r=extension-reviewers,cookie-reviewers,sessionstore-reviewers,bvandersloot,edgul,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D185300
2023-09-07 08:25:54 +00:00
Malte Juergens
47197ed8b0
Bug 1835983: Update netwerk/cookie/test/browser/browser_cookie_insecure_overwrites_secure.js to work with https-first enabled r=ckerschb,cookie-reviewers,edgul
...
Differential Revision: https://phabricator.services.mozilla.com/D184354
2023-08-07 13:00:39 +00:00
Peter Van der Beken
3f4ffadbe1
Bug 1846277 - Untangle nsGlobalWindow*.h includes. r=dom-core,media-playback-reviewers,sessionstore-reviewers,padenot,farre
...
Differential Revision: https://phabricator.services.mozilla.com/D184978
2023-08-02 20:41:49 +00:00
Mark Banner
0b2d2afdea
Bug 1837176
- Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D181159
2023-07-12 13:38:34 +00:00
Valentin Gosu
7ce58f3695
Bug 1782561 - Do not use getter_AddRefs to pass object to function r=necko-reviewers,cookie-reviewers,jesup,edgul
...
When using getter_AddRefs it actually nulls out the pointer before
passing it to the function, so in this case a new list was being
created with every call to CreateOrUpdatePurgeList.
Instead, we can just pass a reference to the `nsCOMPtr<nsIArray>&`
Differential Revision: https://phabricator.services.mozilla.com/D181743
2023-07-06 13:34:55 +00:00
Tom Schuster
a413d17357
Bug 1832461 - Remove COOKIE_RETRIEVAL_SAMESITE_PROBLEM telemetry probe. r=cookie-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D181256
2023-06-19 09:25:06 +00:00
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