Jan-Ivar Bruaroey
891c0ae289
Bug 1904632 - validate permissions.default.* prefs r=pbz,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D216856
2024-07-22 14:42:46 +00:00
William Wen
491bc93a5c
Bug 1658094 - Add new cleaner for "cookie" permissions. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D212057
2024-06-24 15:14:45 +00:00
Timur Valeev
11b82e90e7
Bug 1881694 - Remove unused method PermissionManager::LegacyTestPermissionFromURI. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D213918
2024-06-18 11:18:42 +00:00
Paul Zuehlcke
c455cf46f1
Bug 1899292 - Call EnsureReadCompleted before computing permission type index. r=permissions-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D211854
2024-05-28 15:26:04 +00:00
Harshit Sohaney
15e5ac7e50
Bug 1881797 - (part 3) Testing for storage permission clearing in the new clear history dialog. r=pbz,settings-reviewers,mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D204919
2024-04-09 15:39:32 +00:00
Artur Iunusov
b1d6f2eeb8
Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
...
Depends on D183230
Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-03-07 13:04:23 +00:00
Artur Iunusov
67db960e48
Bug 1770944 - Remove isInIsolatedMozBrowserElement
. r=smaug,necko-reviewers,kershaw,valentin
...
Depends on D183229
Differential Revision: https://phabricator.services.mozilla.com/D183230
2024-03-07 13:04:22 +00:00
Narcis Beleuzu
7eae8c1064
Backed out 16 changesets (bug 1770944) as req by asuth.
...
Backed out changeset 61af32f40777 (bug 1770944)
Backed out changeset 4ff0c45db93b (bug 1770944)
Backed out changeset 8a217eff7bcd (bug 1770944)
Backed out changeset 6435f48c96bf (bug 1770944)
Backed out changeset 0d2432765ca0 (bug 1770944)
Backed out changeset 58e02566db85 (bug 1770944)
Backed out changeset 0a8c4c2460ee (bug 1770944)
Backed out changeset 9416bafd9982 (bug 1770944)
Backed out changeset 79de4f83fe2e (bug 1770944)
Backed out changeset 63ac518aceb0 (bug 1770944)
Backed out changeset 14952f872b77 (bug 1770944)
Backed out changeset f65e0967ad75 (bug 1770944)
Backed out changeset bd53c42038f7 (bug 1770944)
Backed out changeset 36c378ba8212 (bug 1770944)
Backed out changeset 9ba54ab06348 (bug 1770944)
Backed out changeset fb5a54b3cbe9 (bug 1770944)
2024-02-23 21:11:08 +02:00
Artur Iunusov
bb8df1117c
Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
...
Depends on D183230
Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-02-22 10:13:15 +00:00
Artur Iunusov
8a817efa45
Bug 1770944 - Remove isInIsolatedMozBrowserElement
. r=smaug,necko-reviewers,kershaw,valentin
...
Depends on D183229
Differential Revision: https://phabricator.services.mozilla.com/D183230
2024-02-22 10:13:14 +00:00
Sandor Molnar
be27c149eb
Backed out 16 changesets (bug 1770944) for causing asan failures @ dom/base/InProcessBrowserChildMessageManager.cpp
...
Backed out changeset b73885731e73 (bug 1770944)
Backed out changeset 23d0dc98eb51 (bug 1770944)
Backed out changeset 15661e24d8e1 (bug 1770944)
Backed out changeset 97aa839dc200 (bug 1770944)
Backed out changeset 0d4318bf3239 (bug 1770944)
Backed out changeset be28bb62e9f3 (bug 1770944)
Backed out changeset 708b2671410e (bug 1770944)
Backed out changeset 0a138f3b56b9 (bug 1770944)
Backed out changeset 3a149ef794c2 (bug 1770944)
Backed out changeset 4b6ae7dd0e69 (bug 1770944)
Backed out changeset e3960ad85182 (bug 1770944)
Backed out changeset 9ea253525227 (bug 1770944)
Backed out changeset 1828b66c2f7c (bug 1770944)
Backed out changeset 55b0886f9025 (bug 1770944)
Backed out changeset a4197071d10a (bug 1770944)
Backed out changeset 9b18524f541e (bug 1770944)
2024-02-20 20:34:55 +02:00
Artur Iunusov
981b9eb009
Bug 1770944 - Remove other references to inBrowserElement, r=cookie-reviewers,valentin,janv,decoder
...
Depends on D183230
Differential Revision: https://phabricator.services.mozilla.com/D189490
2024-02-20 16:53:24 +00:00
Artur Iunusov
ad804b13e8
Bug 1770944 - Remove isInIsolatedMozBrowserElement
. r=smaug,necko-reviewers,kershaw,valentin
...
Depends on D183229
Differential Revision: https://phabricator.services.mozilla.com/D183230
2024-02-20 16:53:23 +00:00
dylan
e7a5a40c46
Bug 1742554 - removed instances of ftp. r=necko-reviewers,dom-storage-reviewers,kershaw,valentin,janv
...
Differential Revision: https://phabricator.services.mozilla.com/D197368
2024-01-16 16:11:00 +00:00
Vincent Hilla
f0dc3526ed
Bug 1589554 - Part 3: Screen Wake Lock permission integration. r=webidl,dom-core,smaug,pbz,edgar
...
Depends on D189509
Differential Revision: https://phabricator.services.mozilla.com/D189510
2023-12-05 23:58:06 +00:00
Cosmin Sabou
0917a1636c
Backed out 7 changesets (bug 1589554) for causing non-unified bustages on WakeLockJS.cpp.
...
Backed out changeset a0db8be67659 (bug 1589554)
Backed out changeset 76a3c248813f (bug 1589554)
Backed out changeset f1500173aa53 (bug 1589554)
Backed out changeset e02e11c3d977 (bug 1589554)
Backed out changeset 202c4f5c642b (bug 1589554)
Backed out changeset 82e03a404c2f (bug 1589554)
Backed out changeset b55991835aec (bug 1589554)
2023-12-05 19:12:31 +02:00
Vincent Hilla
956cdde134
Bug 1589554 - Part 3: Screen Wake Lock permission integration. r=webidl,dom-core,smaug,pbz,edgar
...
Depends on D189509
Differential Revision: https://phabricator.services.mozilla.com/D189510
2023-12-05 15:37:06 +00:00
Benjamin VanderSloot
6d22baa587
Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-21 01:48:49 +00:00
Benjamin VanderSloot
80843f7e90
Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
...
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.
Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-21 01:48:48 +00:00
Iulian Moraru
385fa91360
Backed out 9 changesets (bug 1848783, bug 1837168, bug 1835920) for causing multiple failures. CLOSED TREE
...
Backed out changeset ab1717421318 (bug 1848783)
Backed out changeset de5e1715c877 (bug 1848783)
Backed out changeset 1f64106e6667 (bug 1848783)
Backed out changeset e082ba20bbb2 (bug 1848783)
Backed out changeset cb56c5d713bf (bug 1848783)
Backed out changeset 735161c251e4 (bug 1848783)
Backed out changeset 3d1468ac6e84 (bug 1848783)
Backed out changeset 9ff5b92032cb (bug 1837168)
Backed out changeset 15cfb0c4f048 (bug 1835920)
2023-09-20 22:29:41 +03:00
Benjamin VanderSloot
7b66b30764
Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-20 16:14:40 +00:00
Benjamin VanderSloot
2810b58e9c
Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
...
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.
Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-20 16:14:39 +00:00
Cosmin Sabou
39c14444b7
Backed out 9 changesets (bug 1837168, bug 1835920, bug 1848783) for causing storage-access-api wpt failures. CLOSED TREE
...
Backed out changeset 3fd66f8f5d65 (bug 1848783)
Backed out changeset a96afb6d05d6 (bug 1848783)
Backed out changeset 117132b000ac (bug 1848783)
Backed out changeset 3a14281b7d72 (bug 1848783)
Backed out changeset 7dc5f794364d (bug 1848783)
Backed out changeset 84ca25a557a6 (bug 1848783)
Backed out changeset 8bb89cf9587e (bug 1848783)
Backed out changeset 15a005bef445 (bug 1837168)
Backed out changeset a97bc1fd6637 (bug 1835920)
2023-09-20 04:41:18 +03:00
Benjamin VanderSloot
cf0a6fd895
Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-19 21:03:08 +00:00
Benjamin VanderSloot
cfc4424236
Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
...
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.
Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-19 21:03:07 +00:00
Narcis Beleuzu
2990006272
Backed out 9 changesets (bug 1835920, bug 1848783, bug 1837168) for assertion failure on PermissionManager.cpp . CLOSED TREE
...
Backed out changeset 589241e4e1f6 (bug 1848783)
Backed out changeset 7446d643420d (bug 1848783)
Backed out changeset 1b5a505a9bc6 (bug 1848783)
Backed out changeset bfd4df9014d7 (bug 1848783)
Backed out changeset 01f053bbdb97 (bug 1848783)
Backed out changeset e1b829bfb8d1 (bug 1848783)
Backed out changeset f17d58a27f3c (bug 1848783)
Backed out changeset d21bdbf5baf1 (bug 1837168)
Backed out changeset a2d17b5958b8 (bug 1835920)
2023-09-19 16:15:26 +03:00
Benjamin VanderSloot
5a1eb36a94
Bug 1848783, part 6 - Revoke has storage access when the permission is revoked - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D187287
2023-09-19 11:11:19 +00:00
Benjamin VanderSloot
9603be41ae
Bug 1848783, part 3 - Add the site (sans port) to the permission keys of a content process - r=anti-tracking-reviewers,timhuang
...
without this, permissions set in the main process that are site-scoped on origins with non-null ports are not pushed out to the content process.
Differential Revision: https://phabricator.services.mozilla.com/D186984
2023-09-19 11:11:19 +00:00
Benjamin VanderSloot
a560a190fb
Bug 1847769 - Clean up warnings from NotifySecondaryKeyPermissionUpdateInContentProcess - r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D185685
2023-08-11 16:46:39 +00:00
Malte Juergens
05a00d1692
Bug 1720458: Do not isolate https-only-load-insecure
by origin attributes r=fluent-reviewers,settings-reviewers,flod,ckerschb,Gijs
...
Do not isolate `https-only-load-insecure` by origin attributes. This way the HTTPS-Only exceptions will behave similar to the `cookie` permission. This means that exceptions set in the system settings will also apply to private windows, but exceptions set in private windows via the identity pane will be reset after closing the browser.
Depends on D182761
Differential Revision: https://phabricator.services.mozilla.com/D183745
2023-07-24 13:31:19 +00:00
Benjamin VanderSloot
0129b6667c
Bug 1805860 - Notify PermissionObserver when doubly keyed permissions are updated - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D182243
2023-07-19 14:51:11 +00:00
Stanca Serban
9e82c693d0
Backed out 8 changesets (bug 1805860, bug 1733556) for causing bp-nu bustages in StorageAccessAPIHelper.cpp.
...
Backed out changeset fa21a55ce837 (bug 1733556)
Backed out changeset 6c09379cdb5a (bug 1733556)
Backed out changeset d8c19265b981 (bug 1733556)
Backed out changeset d48d415fca83 (bug 1805860)
Backed out changeset 3acd0ba1dba6 (bug 1805860)
Backed out changeset d2a6174bbb14 (bug 1805860)
Backed out changeset 48558ba49efe (bug 1805860)
Backed out changeset c8693b9449d3 (bug 1805860)
2023-07-18 23:39:08 +03:00
Benjamin VanderSloot
7b4d1e4af1
Bug 1805860 - Notify PermissionObserver when doubly keyed permissions are updated - r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D182243
2023-07-18 19:14:30 +00:00
Benjamin VanderSloot
61ee4f8919
Bug 1836792, part 1 - Add new site-pair-scoped permission 3rdPartyFrameStorage, r=anti-tracking-reviewers,timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D180215
2023-06-23 12:14:18 +00:00
Harshit Sohaney
55b229ad09
Bug 1579517 - Added a check in removeAllSince to avoid deleting default permissions for new profiles. r=pbz
...
Differential Revision: https://phabricator.services.mozilla.com/D180881
2023-06-19 19:34:31 +00:00
Andi-Bogdan Postelnicu
4efa1bd0ba
Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-27 07:20:25 +00:00
Sandor Molnar
9db345d4c1
Backed out 2 changesets (bug 1276351) for causing build bustage in image/ClippedImage.cp CLOSED TREE
...
Backed out changeset e84598eb82c1 (bug 1276351)
Backed out changeset e940b0554484 (bug 1276351)
2023-03-25 14:16:43 +02:00
Andi-Bogdan Postelnicu
447f1e3358
Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-25 06:58:52 +00:00
Iulian Moraru
6d40eee997
Backed out 2 changesets (bug 1276351) for causing multiple failures.
...
Backed out changeset eeaf4f1e06af (bug 1276351)
Backed out changeset d44cb5704342 (bug 1276351)
2023-03-25 00:08:24 +02:00
Andi-Bogdan Postelnicu
a1b827b503
Bug 1276351 - Move away from mozilla::tuple to std::tuple. r=necko-reviewers,sergesanspaille
...
Differential Revision: https://phabricator.services.mozilla.com/D173256
2023-03-24 18:55:39 +00:00
Nika Layzell
bebd207110
Bug 1823159 - Avoid racily initializing the PermissionManager twice during startup, r=timhuang,baku
...
It appears that the issue is caused by a change in behaviour from bug
1799470 which made the profile available earlier during startup. If the
permission manager is started between the time when the profile becomes
available and profile-do-change, it would've previously initialized
without storage, and initialized storage after profile-do-change, but
after the changes it may initialize twice instead.
This patch changes the profile-do-change handler to check if we already
have a profile, and avoid initializing the DB twice in that situation.
Differential Revision: https://phabricator.services.mozilla.com/D173062
2023-03-20 22:15:31 +00:00
nchevobbe
2479165e79
Bug 1790017 - Add Services.perms.getAllByTypes(permissionTypes). r=permissions-reviewers,necko-reviewers,pbz
...
This new method return an array of `nsIPermission` whose type are included in the
array of permission types parameter.
This will help the implementation of Bug 1778959 where we need to get all the permission
of a given Set of (gated) permission types.
Differential Revision: https://phabricator.services.mozilla.com/D156951
2022-09-09 14:52:38 +00:00
Benjamin VanderSloot
d169434ceb
Bug 1782526 - Clean up site scope permission code, r=permissions-reviewers,pbz
...
While working on Bug 1777497 I bumped into a few things I would have done
differently that make it harder to misuse the site-scoped permissions.
These are just bugs waiting to happen, so I'm cleaning them up while I'm in here.
Differential Revision: https://phabricator.services.mozilla.com/D152760
2022-08-12 16:12:07 +00:00
Norisz Fay
c03af93699
Backed out 5 changesets (bug 1777497, bug 1782526) for causing build bustages on PContent.ipdl CLOSED TREE
...
Backed out changeset 64e16a70484e (bug 1782526)
Backed out changeset 381806d5afc3 (bug 1777497)
Backed out changeset 820f6f9c9cc3 (bug 1777497)
Backed out changeset f541ad605d6d (bug 1777497)
Backed out changeset 620681c22b83 (bug 1777497)
2022-08-11 03:20:29 +03:00
Benjamin VanderSloot
6e5d1e80dc
Bug 1782526 - Clean up site scope permission code, r=permissions-reviewers,pbz
...
While working on Bug 1777497 I bumped into a few things I would have done
differently that make it harder to misuse the site-scoped permissions.
These are just bugs waiting to happen, so I'm cleaning them up while I'm in here.
Differential Revision: https://phabricator.services.mozilla.com/D152760
2022-08-11 00:04:40 +00:00
Iulian Moraru
4ef2e59bee
Backed out 5 changesets (bug 1782526, bug 1777497) for causing gv-junit failures.
...
Backed out changeset bb4451a7b19c (bug 1782526)
Backed out changeset cbc8344b02ac (bug 1777497)
Backed out changeset 85e6b889e139 (bug 1777497)
Backed out changeset a64c8ee85a42 (bug 1777497)
Backed out changeset fd74aafff8a7 (bug 1777497)
2022-08-02 02:45:32 +03:00
Benjamin VanderSloot
8bcb083041
Bug 1782526 - Clean up site scope permission code, r=permissions-reviewers,pbz
...
While working on Bug 1777497 I bumped into a few things I would have done
differently that make it harder to misuse the site-scoped permissions.
These are just bugs waiting to happen, so I'm cleaning them up while I'm in here.
Differential Revision: https://phabricator.services.mozilla.com/D152760
2022-08-01 21:27:01 +00:00
Benjamin VanderSloot
bc2619cc16
Bug 1774854, part 2 - Create helper function for the forward-declared storage access handoff permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D149661
2022-07-08 18:16:37 +00:00
smolnar
1547adcf3d
Backed out 4 changesets (bug 1774854) for causing browser-chrome failures in antitracking/test/browser/browser_subResources.js
...
Backed out changeset 46884d2a4eb4 (bug 1774854)
Backed out changeset ee02080a80cc (bug 1774854)
Backed out changeset 5e01fd1a1423 (bug 1774854)
Backed out changeset 98244d30acff (bug 1774854)
2022-07-08 17:08:49 +03:00
Benjamin VanderSloot
e175bc03d6
Bug 1774854, part 2 - Create helper function for the forward-declared storage access handoff permission, r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D149661
2022-07-08 12:36:43 +00:00