MahakBansal
ee093cd087
Bug 1582666 - Enable more ESLint rules for netwerk/. r=Standard8,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D69257
--HG--
extra : moz-landing-system : lando
2020-04-07 16:00:03 +00:00
Andreas Farre
25ca8d7890
Bug 1620594 - Part 7: Remove TabGroup and SystemGroup. r=nika,bas
...
TabGroup never really made any difference in which thread something go
dispatched to. This was the intended use, but development of TabGroups
with abstract main threads never made it that far. The good thing is
that thish makes it safe to also remove to the SystemGroup and instead
switch all SystemGroup dispatches to dispatches to main thread.
Timers for setTimeout and workers were the sole users of wrapped and
throttled event targets, that those throttled queues have been moved
to the BrowsingContextGroup and are now accessed explicitly.
The SchedulerEventTarget has been removed, since there are no longer a
separate event target for every TaskCategory. Instead a
LabellingEventTarget has been added to DocGroup to handle the case
where an event is dispatched do DocGroup or when an AbstractThread is
created using a DocGroup. This means that we'll actually label more
events correctly with the DocGroup that they belong to.
DocGroups have also been moved to BrowsingContextGroup.
Depends on D67636
Differential Revision: https://phabricator.services.mozilla.com/D65936
--HG--
extra : moz-landing-system : lando
2020-04-07 15:17:47 +00:00
Andreas Farre
36eaf82163
Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika
...
Depends on D67631
Differential Revision: https://phabricator.services.mozilla.com/D67632
--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:33 +00:00
Andrea Marchesini
4391185b5c
Bug 1562868 - Limit the amount of data shared between processes when document.cookie is set, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D68179
--HG--
extra : moz-landing-system : lando
2020-04-06 14:03:59 +00:00
Andrea Marchesini
bd0c1b0080
Bug 1624146 - Cookie code refactoring - part 16 - Modernize c++ code, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D68958
--HG--
extra : moz-landing-system : lando
2020-04-06 12:32:45 +00:00
Andrea Marchesini
3741528e0a
Bug 1624146 - Cookie code refactoring - part 15 - Remove mozIStorage* from CookieStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67777
--HG--
extra : moz-landing-system : lando
2020-04-06 12:33:56 +00:00
Andrea Marchesini
78a4aecdfd
Bug 1624146 - Cookie code refactoring - part 14 - Fix the namespaces, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67763
--HG--
extra : moz-landing-system : lando
2020-04-06 12:33:45 +00:00
Andrea Marchesini
0f16f86d52
Bug 1624146 - Cookie code refactoring - part 13 - More functions in CookieCommons, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67762
--HG--
extra : moz-landing-system : lando
2020-04-06 12:27:28 +00:00
Andrea Marchesini
f6c7a629a9
Bug 1624146 - Cookie code refactoring - part 12 - Header cleanup, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67761
--HG--
extra : moz-landing-system : lando
2020-04-06 12:27:05 +00:00
Andrea Marchesini
38395b3e34
Bug 1624146 - Cookie code refactoring - part 11 - Separate files for CookiePrivateStorage and CookiePersistentStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67760
--HG--
extra : moz-landing-system : lando
2020-04-06 12:26:42 +00:00
Andrea Marchesini
9bea58365a
Bug 1624146 - Cookie code refactoring - part 10 - CookieService under mozilla::net, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67759
--HG--
rename : netwerk/cookie/nsCookieService.cpp => netwerk/cookie/CookieService.cpp
rename : netwerk/cookie/nsCookieService.h => netwerk/cookie/CookieService.h
extra : moz-landing-system : lando
2020-04-06 12:26:14 +00:00
Andrea Marchesini
97c9328d8f
Bug 1624146 - Cookie code refactoring - part 9 - DB handling in CookieDefaultStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67758
--HG--
extra : moz-landing-system : lando
2020-04-06 12:25:44 +00:00
Andrea Marchesini
0fa65a1483
Bug 1624146 - Cookie code refactoring - part 8 - CookieStorage observers pref changes, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67757
--HG--
extra : moz-landing-system : lando
2020-04-06 12:25:36 +00:00
Andrea Marchesini
e444769cb0
Bug 1624146 - Cookie code refactoring - part 7 - CookiePrivateStorage and CookieDefaultStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67756
--HG--
extra : moz-landing-system : lando
2020-04-06 12:25:34 +00:00
Andrea Marchesini
299696f535
Bug 1624146 - Cookie code refactoring - part 6 - CookieStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67755
--HG--
extra : moz-landing-system : lando
2020-04-06 12:24:15 +00:00
Andrea Marchesini
eab1416209
Bug 1624146 - Cookie code refactoring - part 5 - Separate files for CookieStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67754
--HG--
extra : moz-landing-system : lando
2020-04-06 12:23:48 +00:00
Andrea Marchesini
6107852338
Bug 1624146 - Cookie code refactoring - part 4 - DBState renamed CookieStorage, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67753
--HG--
extra : moz-landing-system : lando
2020-04-06 12:23:25 +00:00
Andrea Marchesini
42df52a06f
Bug 1624146 - Cookie code refactoring - part 3 - CookiePermission, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67752
--HG--
rename : netwerk/cookie/nsCookiePermission.cpp => netwerk/cookie/CookiePermission.cpp
rename : netwerk/cookie/nsCookiePermission.h => netwerk/cookie/CookiePermission.h
extra : moz-landing-system : lando
2020-04-06 12:22:57 +00:00
Andrea Marchesini
aeba7dc82c
Bug 1624146 - Cookie code refactoring - part 2 - CookieKey, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67751
--HG--
rename : netwerk/cookie/nsCookieKey.h => netwerk/cookie/CookieKey.h
extra : moz-landing-system : lando
2020-04-06 12:22:29 +00:00
Andrea Marchesini
edb320168f
Bug 1624146 - Cookie code refactoring - part 1 - Cookie, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D67749
--HG--
rename : netwerk/cookie/nsCookie.cpp => netwerk/cookie/Cookie.cpp
rename : netwerk/cookie/nsCookie.h => netwerk/cookie/Cookie.h
extra : moz-landing-system : lando
2020-04-06 12:22:01 +00:00
Narcis Beleuzu
b7325105ab
Backed out changeset a0732358fb87 (bug 1582318
) for assertion failures on ContentParent.cpp . CLOSED TREE
2020-04-04 04:15:00 +03:00
Kris Maglione
fca69c36bb
Bug 1582318: Remove shutting-down processes from pool immediately. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D69441
--HG--
extra : moz-landing-system : lando
2020-04-03 20:32:33 +00:00
Andrea Marchesini
0311b76022
Bug 1625568 - Add compatibility heuristics to third-party cookie blocking - part 2 - enable storageAccess API and heuristics, r=dimi,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69047
--HG--
extra : moz-landing-system : lando
2020-04-02 15:30:57 +00:00
MahakBansal
a00e0bcebe
Bug 1624286 - Notification for rejected cookies.r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68444
--HG--
extra : moz-landing-system : lando
2020-03-30 11:45:39 +00:00
Dimi Lee
0a5f211268
Bug 1612350 - Use CookieJarSetting in WindowContext when adding permission. r=timhuang,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D66375
--HG--
extra : moz-landing-system : lando
2020-03-25 22:22:35 +00:00
Andrea Marchesini
898e5a24a7
Bug 1293067 - Implement a cookie limit warning - tests, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D67330
--HG--
extra : moz-landing-system : lando
2020-03-25 13:00:20 +00:00
Tim Huang
1375fac6ac
Bug 1612378 - Part 1: Add a boolean IsOnContentBlockingAllowList in the CookieJarSettings. r=dimi,baku
...
In this patch, we add a IsOnContentBlockingAllowList boolean in the
CookieJarSettings. This boolean would be used to indicate whether the
top-level site in in the content blocking allow list.
Differential Revision: https://phabricator.services.mozilla.com/D66208
--HG--
extra : moz-landing-system : lando
2020-03-25 13:20:21 +00:00
Andrea Marchesini
2f43df007a
Bug 1293067 - Implement a cookie limit warning, r=mayhemer,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D67329
--HG--
extra : moz-landing-system : lando
2020-03-25 11:30:45 +00:00
Cosmin Sabou
22c2e8d92c
Backed out 2 changesets (bug 1293067) for failures on browser_oversize.js.
...
CLOSED TREE
Backed out changeset 5df9d39b0b98 (bug 1293067)
Backed out changeset 8ed41aa3ed4f (bug 1293067)
2020-03-25 13:24:19 +02:00
Andrea Marchesini
6a03963e65
Bug 1293067 - Implement a cookie limit warning - tests, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D67330
--HG--
extra : moz-landing-system : lando
2020-03-25 10:39:03 +00:00
Andrea Marchesini
1c645731e5
Bug 1293067 - Implement a cookie limit warning, r=mayhemer,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D67329
--HG--
extra : moz-landing-system : lando
2020-03-25 10:38:45 +00:00
Andrea Marchesini
400b195fb8
Bug 1437057 - Expose the origin of a cookie to JS - tests, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D67590
--HG--
extra : moz-landing-system : lando
2020-03-24 17:52:41 +00:00
Andrea Marchesini
d7badaf4fb
Bug 1623593 - Get rid of NECKO_COOKIES compilation flag, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D67451
--HG--
extra : moz-landing-system : lando
2020-03-24 16:30:03 +00:00
Andrea Marchesini
23a1e408dc
Bug 1623313 - disable cookie sameSite=laxByDefault for a list of hosts by pref, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D67305
--HG--
extra : moz-landing-system : lando
2020-03-24 16:08:36 +00:00
Andrea Marchesini
4fa365563a
Bug 1622306 - Group cookie console info/warning logs, r=nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D66890
--HG--
extra : moz-landing-system : lando
2020-03-24 09:41:07 +00:00
Andrea Marchesini
afcfb5927f
Bug 1623867
- Get rid of expired cookies telemetry IDs, r=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D67610
--HG--
extra : moz-landing-system : lando
2020-03-23 17:39:31 +00:00
Andrea Marchesini
53edc6acc8
Bug 1620179 - cookie sameSite=lax by default must have a 2 minute tolerance for unsafe HTTP methods, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D66781
--HG--
extra : moz-landing-system : lando
2020-03-20 07:51:26 +00:00
Ehsan Akhgari
5200d034f5
Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65821
--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 23:36:39 +00:00
Ehsan Akhgari
8e46ea55d2
Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65743
--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:37 +00:00
Narcis Beleuzu
0186cbe565
Backed out 8 changesets (bug 1620322) for bustages on nsContentSink.cpp . CLOSED TREE
...
Backed out changeset f41739c64dff (bug 1620322)
Backed out changeset be942a7f329e (bug 1620322)
Backed out changeset a916987c7c71 (bug 1620322)
Backed out changeset ead3484ffb5f (bug 1620322)
Backed out changeset 4e1e8b9afa1a (bug 1620322)
Backed out changeset 473bba698e5a (bug 1620322)
Backed out changeset 0e5e5d41597d (bug 1620322)
Backed out changeset 31b24d79db3d (bug 1620322)
--HG--
rename : toolkit/components/antitracking/ContentBlockingLog.cpp => dom/base/ContentBlockingLog.cpp
rename : toolkit/components/antitracking/ContentBlockingLog.h => dom/base/ContentBlockingLog.h
rename : toolkit/components/antitracking/ContentBlocking.cpp => toolkit/components/antitracking/AntiTrackingCommon.cpp
rename : toolkit/components/antitracking/ContentBlocking.h => toolkit/components/antitracking/AntiTrackingCommon.h
2020-03-09 22:18:36 +02:00
Ehsan Akhgari
5045d313c2
Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65821
--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 18:12:40 +00:00
Ehsan Akhgari
78677f7812
Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65743
--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:26 +00:00
Noemi Erli
a48fac9e3b
Backed out 8 changesets (bug 1620322) for causing bustages in ContentBlockingLog.cpp CLOSED TREE
...
Backed out changeset 3dcf513e36cb (bug 1620322)
Backed out changeset 46714855ce1d (bug 1620322)
Backed out changeset 0eb2b5f7322f (bug 1620322)
Backed out changeset 72d640fa0740 (bug 1620322)
Backed out changeset 4533bb4e5177 (bug 1620322)
Backed out changeset 659270edd419 (bug 1620322)
Backed out changeset 6802c18b1914 (bug 1620322)
Backed out changeset 60ff34db9f15 (bug 1620322)
--HG--
rename : toolkit/components/antitracking/ContentBlockingLog.cpp => dom/base/ContentBlockingLog.cpp
rename : toolkit/components/antitracking/ContentBlockingLog.h => dom/base/ContentBlockingLog.h
rename : toolkit/components/antitracking/ContentBlocking.cpp => toolkit/components/antitracking/AntiTrackingCommon.cpp
rename : toolkit/components/antitracking/ContentBlocking.h => toolkit/components/antitracking/AntiTrackingCommon.h
2020-03-09 19:19:41 +02:00
Ehsan Akhgari
1195c302a4
Bug 1620322 - Part 8: Rename AntiTrackingCommon to ContentBlocking; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65821
--HG--
rename : toolkit/components/antitracking/AntiTrackingCommon.cpp => toolkit/components/antitracking/ContentBlocking.cpp
rename : toolkit/components/antitracking/AntiTrackingCommon.h => toolkit/components/antitracking/ContentBlocking.h
extra : moz-landing-system : lando
2020-03-09 10:23:07 +00:00
Ehsan Akhgari
4bc71d0112
Bug 1620322 - Part 2: Refactor the code for content blocking events and notifications out of AntiTrackingCommon.cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65743
--HG--
extra : moz-landing-system : lando
2020-03-09 10:16:54 +00:00
Andrea Marchesini
750d1a507f
Bug 1454781 - SameSite policy logged in the console - part 5 - Console messages for beta, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65579
--HG--
extra : moz-landing-system : lando
2020-03-09 09:42:45 +00:00
Andrea Marchesini
f710f5d5ef
Bug 1454781 - SameSite policy logged in the console - part 4 - tests, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65313
--HG--
extra : moz-landing-system : lando
2020-03-09 09:42:45 +00:00
Andrea Marchesini
371649e01e
Bug 1454781 - SameSite policy logged in the console - part 3 - log invalid sameSite values, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65315
--HG--
extra : moz-landing-system : lando
2020-03-05 03:41:50 +00:00
Andrea Marchesini
3d32ec99d9
Bug 1454781 - SameSite policy logged in the console - part 2 - Console messages, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65242
--HG--
extra : moz-landing-system : lando
2020-03-06 17:21:51 +00:00
Andrea Marchesini
4d8ab701dd
Bug 1454781 - SameSite policy logged in the console - part 1 - more data shown in MOZ_LOG, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65241
--HG--
extra : moz-landing-system : lando
2020-03-05 11:04:44 +00:00