Tim Huang
7057b877bd
Bug 1612378 - Part 8: Remove "trackingprotection" and "trackingprotection-pb" from the preload permission list. r=dimi,baku
...
We can remove this two permissions from the preload list since we would
only access these two permissions in the parent process. So, it doesn't
need to be sent to content processes anymore.
Differential Revision: https://phabricator.services.mozilla.com/D66215
--HG--
extra : moz-landing-system : lando
2020-03-25 13:22:09 +00:00
Chris Fronk
d5b004443b
Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D64511
--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-17 12:42:12 +00:00
aarushivij
679f1a2799
Bug 1580866 - PermissionTestUtils should throw for undefined r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D66413
--HG--
extra : moz-landing-system : lando
2020-03-12 19:15:48 +00:00
shindli
b02b3a6e1a
Backed out changeset a08637fb30c8 (bug 1143478) for causing bustages in /builds/worker/checkouts/gecko/ipc/mscom/Registration.cpp CLOSED TREE
...
--HG--
rename : mfbt/CompactPair.h => mfbt/Pair.h
2020-03-11 14:30:54 +02:00
Chris Fronk
a27e438c2d
Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D64511
--HG--
rename : mfbt/Pair.h => mfbt/CompactPair.h
extra : moz-landing-system : lando
2020-03-11 12:18:13 +00:00
Ehsan Akhgari
4369044005
Bug 1620322 - Part 6: Refactor the code related to user interactions out of AntiTrackingCommon.cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65819
--HG--
extra : moz-landing-system : lando
2020-03-09 23:36:35 +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
a95fb737fd
Bug 1620322 - Part 6: Refactor the code related to user interactions out of AntiTrackingCommon.cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65819
--HG--
extra : moz-landing-system : lando
2020-03-09 18:12:35 +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
300024b8c3
Bug 1620322 - Part 6: Refactor the code related to user interactions out of AntiTrackingCommon.cpp; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D65819
--HG--
extra : moz-landing-system : lando
2020-03-09 10:22:14 +00:00
Mark Banner
15cfe23b88
Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D65703
--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Mike Conley
aef458a960
Bug 1614639 - Clear expired permissions from the database during idle off of the main thread. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D64749
--HG--
extra : moz-landing-system : lando
2020-02-28 17:50:19 +00:00
Ehsan Akhgari
7a072c5114
Bug 1617893 - Ensure that we properly strip OriginAttributes when deciding which permissions to send for a principal; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D64428
--HG--
extra : moz-landing-system : lando
2020-02-26 18:39:30 +00:00
Ehsan Akhgari
cc9c416a87
Bug 1618251 - Remove the duplicated call to GetKeyForPrincipal() which got added during rebasing; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D64404
--HG--
extra : moz-landing-system : lando
2020-02-26 16:49:59 +00:00
Simon Giesecke
aaf6cb4e75
Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63899
--HG--
extra : moz-landing-system : lando
2020-02-25 17:03:36 +00:00
Simon Giesecke
32c9aeaad4
Bug 1617542 - Remove nsRefPtrHashtable::Put overload accepting already_AddRefed and adapt all uses. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63865
--HG--
extra : moz-landing-system : lando
2020-02-25 09:36:12 +00:00
Cosmin Sabou
7f1afff492
Backed out 5 changesets (bug 1617604, bug 1617542, bug 1617546) for causing build bustages on ipc/mscom/Interceptor.cpp.
...
CLOSED TREE
Backed out changeset 5faa54ad950e (bug 1617542)
Backed out changeset cb38779e1eb6 (bug 1617604)
Backed out changeset 3aea18e0396f (bug 1617542)
Backed out changeset bc3eeefdfb6c (bug 1617542)
Backed out changeset b76a3aa5ff6f (bug 1617546)
2020-02-24 19:50:13 +02:00
Simon Giesecke
df538d9a79
Bug 1617542 - Remove nsRefPtrHashtable::Put overload accepting already_AddRefed and adapt all uses. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D63865
--HG--
extra : moz-landing-system : lando
2020-02-24 17:08:30 +00:00
Ehsan Akhgari
8cf4826b61
Bug 1617205 - In nsPermissionManager::AddInternal(), only compute the origin string when it is needed, and when the caller doesn't have it available; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D63678
--HG--
extra : moz-landing-system : lando
2020-02-24 15:06:54 +00:00
Ehsan Akhgari
a8ca0713ed
Bug 1614831
- Speed up the transmission of permissions to content processes upon navigation; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D63674
--HG--
extra : moz-landing-system : lando
2020-02-24 15:21:51 +00:00
pbz
490d6db508
Bug 1614956 - Removed invalid IsOAForceStripPermission call in nsPermissionManager. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D62610
--HG--
extra : moz-landing-system : lando
2020-02-12 18:50:02 +00:00
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
pbz
0d5e5faea7
Bug 1357107 - Remove nsContentBlocker. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D59696
--HG--
extra : moz-landing-system : lando
2020-01-21 19:19:17 +00:00
pbz
9f91b02a4c
Bug 1591748 - Added test for oa strip permission list. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D58832
--HG--
extra : moz-landing-system : lando
2020-01-08 12:17:05 +00:00
pbz
2945018d83
Bug 1591748 - nsPermissionMgr: Added principal oa strip permission list for userContext and privateBrowsing. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D58831
--HG--
extra : moz-landing-system : lando
2020-01-08 13:06:28 +00:00
Noemi Erli
c2e009f1e0
Backed out 2 changesets (bug 1591748) for causing bustages in nsPermissionManager.cpp CLOSED TREE
...
Backed out changeset 18fe0c505632 (bug 1591748)
Backed out changeset 94d8942709df (bug 1591748)
2020-01-07 02:28:04 +02:00
pbz
2eac1bb2bf
Bug 1591748 - Added test for oa strip permission list. r=Ehsan
...
Depends on D58831
Differential Revision: https://phabricator.services.mozilla.com/D58832
--HG--
extra : moz-landing-system : lando
2020-01-06 20:11:07 +00:00
pbz
f5737d34aa
Bug 1591748 - nsPermissionMgr: Added principal oa strip permission list for userContext and privateBrowsing. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D58831
--HG--
extra : moz-landing-system : lando
2020-01-06 23:49:10 +00:00
Thomas Nguyen
b4435e40e5
Bug 1603674 - Add a new API to check if permission delegation and Feature Policy are enabled r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D57077
--HG--
extra : moz-landing-system : lando
2020-01-06 15:28:12 +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
Ehsan Akhgari
77edf2c060
Bug 1603969 - Part 2: Update existing 'storageAccessAPI' permissions with granted origin used in them; r=baku
...
This permission manager migration drops the granted origin part of the
permission type.
Differential Revision: https://phabricator.services.mozilla.com/D57494
--HG--
extra : moz-landing-system : lando
2019-12-19 02:56:54 +00:00
Gurzau Raul
bed8b9f116
Backed out 4 changesets (bug 1603969) for failing at /browser_startup_mainthreadio.js on a CLOSED TREE.
...
Backed out changeset c4d79087eef1 (bug 1603969)
Backed out changeset 2c0198f3506c (bug 1603969)
Backed out changeset c5ad252c525b (bug 1603969)
Backed out changeset a334451b95eb (bug 1603969)
2019-12-19 02:08:09 +02:00
Ehsan Akhgari
5cd834fdd4
Bug 1603969 - Part 2: Update existing 'storageAccessAPI' permissions with granted origin used in them; r=baku
...
This permission manager migration drops the granted origin part of the
permission type.
Differential Revision: https://phabricator.services.mozilla.com/D57494
--HG--
extra : moz-landing-system : lando
2019-12-18 19:14:55 +00:00
Gurzau Raul
e92fa08412
Backed out 4 changesets (bug 1603969) for failing at /browser_startup_mainthreadio.js on a CLOSED TREE.
...
Backed out changeset 959f12e42db9 (bug 1603969)
Backed out changeset 18bf461b9630 (bug 1603969)
Backed out changeset 8c3bb23a048b (bug 1603969)
Backed out changeset 450eec13d73e (bug 1603969)
2019-12-18 20:53:13 +02:00
Ehsan Akhgari
1211dd7e49
Bug 1603969 - Part 2: Update existing 'storageAccessAPI' permissions with granted origin used in them; r=baku
...
This permission manager migration drops the granted origin part of the
permission type.
Differential Revision: https://phabricator.services.mozilla.com/D57494
--HG--
extra : moz-landing-system : lando
2019-12-18 15:49:17 +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
pbz
a937a753bc
Bug 1601256 - nsPermissionManager: Store all private browsing permissions with session expiry. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D56183
--HG--
extra : moz-landing-system : lando
2019-12-13 12:27:10 +00:00
Kearwood Kip Gilbert
19ba3b0322
Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
...
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html. -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin. (This was backed out due to test failures originally, and since been fixed)
Differential Revision: https://phabricator.services.mozilla.com/D45951
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-12 03:10:51 +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
Megha
08ae52fe49
Bug 1556380 - Enable more ESLint rules for extensions/. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D43355
--HG--
extra : moz-landing-system : lando
2019-12-06 21:05:20 +00:00
Mark Banner
2103c3b16a
Bug 1601681 - Switch recently added files with Windows line endings to Unix. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D55990
--HG--
extra : moz-landing-system : lando
2019-12-11 08:12:49 +00:00
Brindusan Cristian
9c36dcbf23
Backed out 2 changesets (bug 1580567, bug 1599927
) for mochitest failures at test_interfaces.html. CLOSED TREE
...
Backed out changeset 0e0d88942d33 (bug 1599927
)
Backed out changeset 522c8d183bd5 (bug 1580567)
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 05:31:08 +02:00
Kearwood Kip Gilbert
7c8ce74b8f
Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
...
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html. -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin. (This was backed out due to test failures originally, and since been fixed)
Differential Revision: https://phabricator.services.mozilla.com/D45951
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-11 01:38:17 +00:00
shindli
652f3b0296
Backed out 2 changesets (bug 1580567, bug 1599927
) for causing permafailures in dom/tests/mochitest/general/test_interfaces.html CLOSED TREE
...
Backed out changeset aeceec922866 (bug 1599927
)
Backed out changeset 29809135f18e (bug 1580567)
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 03:32:44 +02: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
Kearwood Kip Gilbert
6a9c22db45
Bug 1580567 - Implement XR device access permission UI r=fluent-reviewers,bzbarsky,pbz,daoshengmu,imanol
...
Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android.
Added @bzbarsky for test_interfaces.html. -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin. (This was backed out due to test failures originally, and since been fixed)
Differential Revision: https://phabricator.services.mozilla.com/D45951
--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js
extra : moz-landing-system : lando
2019-12-10 23:55:05 +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