Andrea Marchesini
8317bb8abb
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 5 - extra cleanup, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71978
2020-05-09 20:26:06 +00:00
Andrea Marchesini
b5a4c16dc8
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 4 - remove nsICookieService::setCookieString, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71977
2020-05-09 20:26:09 +00:00
Andrea Marchesini
3321630999
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 3 - remove nsICookieService::setCookieString from tests, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71976
2020-05-09 22:28:53 +00:00
Andrea Marchesini
871dd4ea6a
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 2 - implementation, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71974
2020-05-09 20:26:13 +00:00
Andrea Marchesini
14236dd004
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 1 - CookieService::CanSetCookie without nsIChannel, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71973
2020-05-09 20:26:04 +00:00
Coroiu Cristina
b2935aef35
Backed out 5 changesets (bug 1632187) for xpcshell failures at netwerk/test/unit/test_proxyconnect.js
...
Backed out changeset c0e6dad41b74 (bug 1632187)
Backed out changeset 328ee0899987 (bug 1632187)
Backed out changeset cb775f75ff1f (bug 1632187)
Backed out changeset de6907618ac9 (bug 1632187)
Backed out changeset 1070e843071c (bug 1632187)
2020-05-09 23:22:06 +03:00
Andrea Marchesini
1857609938
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 5 - extra cleanup, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71978
2020-05-09 19:03:47 +00:00
Andrea Marchesini
ac2dfdc4a4
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 4 - remove nsICookieService::setCookieString, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71977
2020-05-09 19:03:30 +00:00
Andrea Marchesini
275ef67da0
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 3 - remove nsICookieService::setCookieString from tests, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71976
2020-05-09 19:03:12 +00:00
Andrea Marchesini
5dbb73b13c
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 2 - implementation, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71974
2020-05-09 19:02:44 +00:00
Andrea Marchesini
c80e092dc1
Bug 1632187 - Introduce nsICookieService::setCookieStringFromDocument - part 1 - CookieService::CanSetCookie without nsIChannel, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D71973
2020-05-09 19:02:30 +00:00
Andrea Marchesini
fcc5266a9e
Bug 1635193 - StoragePrincipalHelper::GetOriginAttributes instead of NS_GetOriginAttributes, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D73727
2020-05-05 20:56:04 +00:00
Andrea Marchesini
20e7f42224
Bug 1632853 - Remove the support for cookie.txt import, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D72392
2020-04-28 15:40:37 +00:00
Alex Catarineu
0b7a953f77
Bug 1633015 - Allow 'secure' cookies when set by .onion site r=baku
...
Allow secure cookies when set by a .onion site if
the pref dom.securecontext.whitelist_onions is set to true.
Most of the needed parts were introduced in bug 1618113, due
to the fact that the `IsPotentiallyTrustworthyOrigin()` check
also takes into account onion hostnames.
This adds one missing check, allowing a trustworthy origin
(e.g. onion site) to replace a secure cookie by an insecure
one, as well as adding some tests for the .onion case.
Differential Revision: https://phabricator.services.mozilla.com/D72486
2020-04-27 09:20:50 +00:00
MahakBansal
4650254df8
Bug 1622620 - Replace URIParams with nsIURI in PCookieService.ipdl.r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D67268
2020-04-25 19:10:00 +00:00
Andrea Marchesini
37a13f7df5
Bug 1632188 - Cleanup Cookie CTOR, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D71972
2020-04-22 21:01:37 +00:00
Andrea Marchesini
c4a611be40
Bug 1631565 - setCookieStringFromHttp requires the nsIChannel argument, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D71641
2020-04-21 10:41:21 +00:00
Andrea Marchesini
e80177ec06
Bug 1631565 - getCookieStringFromHttp requires the nsIChannel argument, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D71642
2020-04-21 10:41:40 +00:00
Andrea Marchesini
1ba927f859
Bug 1631444 - Remove CookiePermission.cpp/h, r=dimi
...
Depends on D71594
Differential Revision: https://phabricator.services.mozilla.com/D71595
2020-04-21 10:41:40 +00:00
Andrea Marchesini
9259ee6959
Bug 1631444 - Cookies should follow the CookieJarSettings, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D71594
2020-04-21 08:53:33 +00:00
Andrea Marchesini
ebc905d3f2
Bug 1631523 - Remove unused params in nsICookieService methods - setCookieStringFromHttp without first URI, r=dimi
...
Depends on D71611
Differential Revision: https://phabricator.services.mozilla.com/D71612
2020-04-20 18:58:28 +00:00
Andrea Marchesini
4eec356d45
Bug 1631523 - Remove unused params in nsICookieService methods - getCookieStringFromHttp without first URI, r=dimi
...
Depends on D71609
Differential Revision: https://phabricator.services.mozilla.com/D71611
2020-04-20 18:57:04 +00:00
Andrea Marchesini
66bb8c57df
Bug 1631523 - Remove unused params in nsICookieService methods - setCookieStringFromHttp without serverTime, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D71609
2020-04-20 18:56:25 +00:00
Andrea Marchesini
637fa9bcf5
Bug 1630865 - Implement nsICookieService::getCookieStringForPrincipal() - part 4 - remove nsICookieService::getCookieString(), r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D71278
2020-04-20 10:03:43 +00:00
Andrea Marchesini
4172d4a0f0
Bug 1630865 - Implement nsICookieService::getCookieStringForPrincipal() - part 3 - stop using nsICookieService::getCookieString(), r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D71277
2020-04-20 10:03:13 +00:00
Andrea Marchesini
d6580b1a3a
Bug 1630865 - Implement nsICookieService::getCookieStringForPrincipal() - part 2 - implementation, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D71276
2020-04-20 10:02:38 +00:00
Andrea Marchesini
24fe2594ba
Bug 1627653 - document.cookie should expose all the cookies, ignoring sameSite limitations - part 2 - extra cleanup in CookieServiceChild, r=ckerschb,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D70845
2020-04-20 10:00:25 +00:00
Andrea Marchesini
8c8d7f8b4d
Bug 1627653 - document.cookie should expose all the cookies, ignoring sameSite limitations - part 1 - implementation, r=ckerschb,mgoodwin,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D70844
2020-04-20 11:45:00 +00:00
Andrea Marchesini
1611112ee4
Bug 1629112 - Group console warnings about invalid sameSite cookie attributes, r=nchevobbe
...
Invalid sameSite cookie attributes generate console warning messages in the
wrong 'generic' category. In this patch, we put them under the 'sameSite'
category. We also rename the 'generic' category to 'oversize' because all the
remaining messages are about invalid cookie sizes.
Differential Revision: https://phabricator.services.mozilla.com/D70795
2020-04-17 07:56:45 +00:00
Kris Maglione
2b97c80ec2
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-15 22:44:36 +00:00
Andrea Marchesini
cc9ceea0dc
Bug 1620334 - Update sameSite MDN URL, r=fscholz
...
Differential Revision: https://phabricator.services.mozilla.com/D70850
--HG--
extra : moz-landing-system : lando
2020-04-14 13:27:11 +00:00
Razvan Maries
7b34a6593b
Backed out changeset 001575dc6d78 (bug 1582318
) for breaking bug 1628661.
2020-04-13 00:05:27 +03:00
Andrea Marchesini
9f0376cefe
Bug 1363541 - Modernize the PermissionManager - part 5 - headers, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70041
--HG--
extra : moz-landing-system : lando
2020-04-11 13:42:30 +00:00
Andrea Marchesini
13481ea877
Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70040
--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-11 13:42:12 +00:00
Andrea Marchesini
d0bfec4f79
Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69963
--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-10 08:36:37 +00:00
Andrea Marchesini
9867dce537
Bug 1610373
- Introduce nsICookieManager::getCookieSince() - test, r=ewright a=reland CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D70056
--HG--
extra : source : 24b87cfe04ad9134bdc1f1ffc8b90e8f291b699d
extra : histedit_source : 47e8a93deb67db2f3e8c91f173f1a33114743d4a
2020-04-08 15:59:19 +00:00
Andrea Marchesini
c1ee01fb9d
Bug 1610373
- Introduce nsICookieManager::getCookieSince(), r=ewright a=reland CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D70055
--HG--
extra : source : a984dfddd43d4156745481aef60493b45280c3cc
extra : histedit_source : d63d3d21a4c439524d56148c1d321176360f2585
2020-04-08 15:59:29 +00:00
Csoregi Natalia
3ebf837989
Backed out 2 changesets (bug 1610373
) for causing bug 1629090. CLOSED TREE
...
Backed out changeset 24b87cfe04ad (bug 1610373
)
Backed out changeset a984dfddd43d (bug 1610373
)
--HG--
extra : rebase_source : 4118495b76de18b6a25e6b2e3902b16565921c5b
2020-04-10 21:21:50 +03:00
Razvan Maries
b74e338c98
Backed out 6 changesets (bug 1363541) for perma failures. CLOSED TREE
...
Backed out changeset a775f6e9eb41 (bug 1363541)
Backed out changeset 9212bfd89eca (bug 1363541)
Backed out changeset bf41b0c139f6 (bug 1363541)
Backed out changeset aa7c6668b249 (bug 1363541)
Backed out changeset 9f413a8a47bb (bug 1363541)
Backed out changeset 827a9a2866bd (bug 1363541)
--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 11:31:20 +03:00
Andrea Marchesini
4adbfbb4d0
Bug 1363541 - Modernize the PermissionManager - part 5 - headers, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70041
--HG--
extra : moz-landing-system : lando
2020-04-09 22:08:03 +00:00
Andrea Marchesini
b523b552a4
Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70040
--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Andrea Marchesini
2ab42cd711
Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69963
--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-09 22:08:02 +00:00
Coroiu Cristina
d37de5ed78
Backed out 6 changesets (bug 1363541) for browser-chrome failures at browser/base/content/test/performance/browser_startup_mainthreadio.js on a CLOSED TREE
...
Backed out changeset 947073be919f (bug 1363541)
Backed out changeset 1f397b686c11 (bug 1363541)
Backed out changeset d2ba944a47a3 (bug 1363541)
Backed out changeset 80d4d1f0c921 (bug 1363541)
Backed out changeset 9d6b9052f413 (bug 1363541)
Backed out changeset aeaa10789071 (bug 1363541)
--HG--
rename : extensions/permissions/Permission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/permissions/Permission.h => extensions/permissions/nsPermission.h
rename : extensions/permissions/PermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/permissions/PermissionManager.h => extensions/permissions/nsPermissionManager.h
2020-04-10 01:00:15 +03:00
Andrea Marchesini
3e892fdba4
Bug 1363541 - Modernize the PermissionManager - part 5 - headers, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70041
--HG--
extra : moz-landing-system : lando
2020-04-09 13:27:53 +00:00
Andrea Marchesini
8764c55c53
Bug 1363541 - Modernize the PermissionManager - part 4 - mozilla namespace, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D70040
--HG--
rename : extensions/permissions/nsPermissionManager.cpp => extensions/permissions/PermissionManager.cpp
rename : extensions/permissions/nsPermissionManager.h => extensions/permissions/PermissionManager.h
extra : moz-landing-system : lando
2020-04-09 13:27:35 +00:00
Andrea Marchesini
23b424cd70
Bug 1363541 - Modernize the PermissionManager - part 1 - nsPermission to mozilla::Permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D69963
--HG--
rename : extensions/permissions/nsPermission.cpp => extensions/permissions/Permission.cpp
rename : extensions/permissions/nsPermission.h => extensions/permissions/Permission.h
extra : moz-landing-system : lando
2020-04-09 14:07:34 +00:00
Andrea Marchesini
b65f8ca3b9
Bug 1610373
- Introduce nsICookieManager::getCookieSince() - test, r=ewright
...
Differential Revision: https://phabricator.services.mozilla.com/D70056
--HG--
extra : moz-landing-system : lando
2020-04-08 15:59:19 +00:00
Andrea Marchesini
4937793ee0
Bug 1610373
- Introduce nsICookieManager::getCookieSince(), r=ewright
...
Differential Revision: https://phabricator.services.mozilla.com/D70055
--HG--
extra : moz-landing-system : lando
2020-04-08 15:59:29 +00:00
Kris Maglione
9e1706a554
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-08 21:13:18 +00:00
Andrea Marchesini
34ef1537f3
Bug 1628298 - Nullify both Cookie storages (private and persistent) before calling Close(), r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D70192
--HG--
extra : moz-landing-system : lando
2020-04-08 14:25:34 +00:00
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
Cosmin Sabou
9ec8941cd4
Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE
...
Backed out changeset 05dbbf7c379f (bug 1603703)
Backed out changeset a1e723439116 (bug 1603703)
--HG--
extra : rebase_source : 65d834f15b63fdd0ce5c90d2efd080e4841777aa
2020-03-05 19:37:32 +02:00
Simon Giesecke
9e296ae57f
Bug 1603703 - Part 2: Rename CreateFunction/RemoveFunction to RegisterFunction/UnregisterFunction. r=mak
...
Depends on D57089
Differential Revision: https://phabricator.services.mozilla.com/D65504
--HG--
extra : moz-landing-system : lando
2020-03-05 15:14:56 +00:00
Simon Giesecke
e6cae211c4
Bug 1603703 - Part 1: Change mozIStorageAsyncConnection::CreateFunction to accept a nsCOMPtr rather than a raw pointer. r=asuth,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D57089
--HG--
extra : moz-landing-system : lando
2020-03-05 16:51:14 +00:00
Andrea Marchesini
9bc071f817
Bug 1619875 - Remove the remaining of the prompting code in the cookie-world, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D65289
--HG--
extra : moz-landing-system : lando
2020-03-04 21:25:33 +00:00
Tim Huang
5d0ba9975d
Bug 1616570 - Part 3: Change the CookieJarSettings::CreateBlockingAll to be a singleton and rename it to GetBlockingAll(). r=Ehsan
...
We don't need to create the blocking-all cookieJarSettings every time we
request it since it is basically the same. Instead, we should make it as
a singleton.
The patch makes this change the rename the
CookieJarSettings::CreateBlockingAll() to GetBlockingAll() which
reflects the fact that it is a singleton.
Differential Revision: https://phabricator.services.mozilla.com/D64564
--HG--
extra : moz-landing-system : lando
2020-03-04 08:59:21 +00:00
Tim Huang
04d44bae12
Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan
...
Given that we are going to add ContentBlockingAllowList in
CookieSettings, so CookieSettings will be responsible for more stuff than the
cookie behavior and cookie permission. We should use a proper name to
reflect the purpose of it. The name 'CookieSettings' is misleading that
this is only for cookie related stuff. So, we decide to rename
'CookieSettins' to 'CookieJarSettings' which serves better meaning here.
Differential Revision: https://phabricator.services.mozilla.com/D63935
--HG--
rename : netwerk/cookie/CookieSettings.cpp => netwerk/cookie/CookieJarSettings.cpp
rename : netwerk/cookie/nsICookieSettings.idl => netwerk/cookie/nsICookieJarSettings.idl
extra : moz-landing-system : lando
2020-03-04 08:59:08 +00:00
Andrea Marchesini
f1666a5ee9
Bug 1618113 - Allow 'secure' cookies when set by localhost, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D64290
--HG--
extra : moz-landing-system : lando
2020-03-02 17:21:03 +00:00
Ehsan Akhgari
50ef8c407b
Bug 1540810 - Part 1: Add a cookie settings API for partitioning third-party content; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D54572
--HG--
extra : moz-landing-system : lando
2020-02-28 19:39:58 +00:00
Ehsan Akhgari
c8bd96de51
Bug 1577040 - Part 1: Remove the usages of nsIHttpChannel::IsTrackingResource() in the cookie service, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D63299
--HG--
extra : moz-landing-system : lando
2020-02-20 07:27:24 +00:00
Andrea Marchesini
d9a4c8b19f
Bug 1608384 - Implement sameSite lax-by-default 2 minutes tolerance for unsafe methods, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D62885
--HG--
extra : moz-landing-system : lando
2020-02-19 17:43:52 +00:00
Andrea Marchesini
2665e4a062
Bug 1595661 - Cookie names and values must exclude NULL char, r=mayhemer,annevk
...
Differential Revision: https://phabricator.services.mozilla.com/D63205
--HG--
extra : moz-landing-system : lando
2020-02-19 12:52:38 +00:00
Andrea Marchesini
bd69c0127b
Bug 1612476 - Introduce telemetry id COOKIE_SAMESITE_SET_VS_UNSET to count cookies without sameSite attribute, r=Ehsan,chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D61351
--HG--
extra : moz-landing-system : lando
2020-02-12 14:47:57 +00:00
Ehsan Akhgari
84d84455c5
Bug 1614646 - Fix a data race in the cookie service initialization code; r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D62941
--HG--
extra : moz-landing-system : lando
2020-02-17 11:52:06 +00:00
Ehsan Akhgari
4bdcfe0033
Bug 1615653 - Remove an unused variable; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D62943
--HG--
extra : moz-landing-system : lando
2020-02-14 17:29:45 +00:00
Eric Rahm
2c08316c5d
Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D60341
--HG--
extra : moz-landing-system : lando
2020-02-11 16:20:08 +00:00
Ehsan Akhgari
39a68b910d
Bug 1322113 - Fix the implementation of the 'from visited' cookie policy in private browsing mode; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D61944
--HG--
extra : moz-landing-system : lando
2020-02-07 10:02:50 +00:00
Ehsan Akhgari
eccae96ef4
Bug 1609176
- Remove the obsolete baseDomain field of the moz_cookies table; r=baku
...
This change is backwards incompatible with the older cookies.sqlite
files, which means files saved from newer versions of Firefox will
no longer be possible to open in older versions of Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D60464
--HG--
rename : netwerk/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_10_migration.js
extra : moz-landing-system : lando
2020-01-25 00:18:34 +00:00
Bogdan Tara
c9467840cd
Backed out changeset 4cf57a5a3143 (bug 1609176
) for test_cookies_async_failure.js related failures CLOSED TREE
2020-01-22 22:19:20 +02:00
Ehsan Akhgari
d0561affbf
Bug 1609176
- Remove the obsolete baseDomain field of the moz_cookies table; r=baku
...
This change is backwards incompatible with the older cookies.sqlite
files, which means files saved from newer versions of Firefox will
no longer be possible to open in older versions of Firefox.
Differential Revision: https://phabricator.services.mozilla.com/D60464
--HG--
rename : netwerk/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_10_migration.js
extra : moz-landing-system : lando
2020-01-22 17:01:55 +00:00
Ehsan Akhgari
8b642fb37e
Bug 1609491 - Update the comment about differences with RFC2109/2616
...
This is based on the recent changes in
https://github.com/httpwg/http-extensions/issues/159 and
https://github.com/httpwg/http-extensions/pull/1018 .
Differential Revision: https://phabricator.services.mozilla.com/D60465
--HG--
extra : moz-landing-system : lando
2020-01-21 00:13:18 +00:00
Coroiu Cristina
9490b63809
Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE
2020-01-20 20:57:54 +02:00
Ehsan Akhgari
5a2d4ea5a4
Bug 1609491 - Stop accepting cookie name-value pairs without an equal sign; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D60040
--HG--
extra : moz-landing-system : lando
2020-01-20 15:59:12 +00:00
Liang-Heng Chen
e5c5a46210
Bug 1587182 - add limitForeignContexts
attribute to support dynamic FPI; r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D58426
--HG--
extra : moz-landing-system : lando
2020-01-14 17:07:48 +00:00
Rob Wu
155bac71f8
Bug 1601499
- Compute baseDomain when cookies are read from the db r=Ehsan
...
baseDomain is used as a key for cookies in a hashmap. For cookie
operations to work properly, the baseDomain generation must be stable.
This is however not the case, because the result can change by updates
to the public suffix list.
Since the stored baseDomain is not reliable, the value must be
recomputed when the database is read.
Differential Revision: https://phabricator.services.mozilla.com/D59430
--HG--
extra : moz-landing-system : lando
2020-01-14 17:17:17 +00:00
Ehsan Akhgari
ae823cb5a3
Bug 1484315 - Refactor the third-party checks used in the cookie backend; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D58998
--HG--
extra : moz-landing-system : lando
2020-01-08 10:25:44 +00:00
Chris Peterson
406763af7f
Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
...
This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.
Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:
* MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
* but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.
Differential Revision: https://phabricator.services.mozilla.com/D56440
--HG--
extra : moz-landing-system : lando
2019-12-20 07:16:43 +00:00
Kris Maglione
295e55e227
Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53745
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:37 +00:00
Kris Maglione
9853440599
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione
94e3b0bd8d
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Tom Tung
83eb41d14a
Bug 1474608
- P1 - Clear origin attributes directly for deleteDataFromOriginAttributesPattern if it's possible; r=asuth,baku
...
The idea of this patch is to try to not use oberver mechanism as possible. To
achieve that, it introduces deleteByOriginAttributes() to cleaners. Different
from other methods, it would only be executed if it's implemented from a
cleaner.
It doesn't remove oberver mechanism entirely since some cleaners are still using
that for other deleteByXXX() functions. So, it only applies removing stuff to
PushService, QuotaManagerService, ServiceWorkerManager, nsPermissionManager,
nsApplicationCacheService, and nsCookieService.
Since the original issue is related to QuotaManagerService, it adds xpcshell
test under the dom/quota/test/unit/ to ensure the behavior won't be changed
accidentally in the future.
Differential Revision: https://phabricator.services.mozilla.com/D33758
--HG--
extra : moz-landing-system : lando
2019-12-02 19:47:13 +00:00
shindli
91924fedc7
Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
...
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione
37c15883a5
Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53745
--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:34 +00:00
Kris Maglione
3ca78ce8e3
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione
16a9b29848
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Noemi Erli
82d41a33b2
Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
...
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione
8c28f5ff8d
Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53745
--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione
fa3556c3fc
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione
910eab35d2
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga
84a601a6d4
Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
...
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione
6d5729ccb5
Bug 1596918: Part 4d - Fix callers which try to return non-clonable values. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D53745
--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:27 +00:00
Kris Maglione
b5238224ba
Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
...
Differential Revision: https://phabricator.services.mozilla.com/D53741
--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione
20da940e14
Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
...
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.
Differential Revision: https://phabricator.services.mozilla.com/D53740
--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Gabriele Svelto
5dc21d568c
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55444
--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
Gabriele Svelto
69790bc62e
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55443
--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Ehsan Akhgari
d94f27a8d6
Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D52761
--HG--
extra : moz-landing-system : lando
2019-12-03 17:08:25 +00:00
Ehsan Akhgari
6216893099
Bug 1599237 - Add a cookie manager API for deleting cookies by a time range, and use it in the clear data service; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D54646
--HG--
extra : moz-landing-system : lando
2019-11-27 11:01:45 +00:00
Andreea Pavel
c81fb53e77
Bug 1582318
- disable correct browser_sharedWorker.js test case on fission r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D54895
--HG--
extra : moz-landing-system : lando
2019-11-27 10:36:36 +00:00
Daniel Varga
f12c40c242
Backed out changeset afe80b4ff889 (bug 1595934) Requested by ehsan to see if it fixex bug 1597915. On a CLOSED TREE
2019-11-22 02:01:51 +02:00
Ehsan Akhgari
30cf316b38
Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D52761
--HG--
extra : moz-landing-system : lando
2019-11-17 07:21:14 +00:00
Nihanth Subramanya
2164478f1e
Bug 1584479 - Part 1: Add flag for blocked social cookies in the content blocking log. r=Ehsan,droeh
...
Differential Revision: https://phabricator.services.mozilla.com/D47427
--HG--
extra : moz-landing-system : lando
2019-11-01 23:24:25 +00:00