Ehsan Akhgari
ceebd8b075
Bug 1493563 - Part 11: Add tests for the new onSecurityChange progresslistener arguments; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6601
2018-09-28 13:24:44 -04:00
Ehsan Akhgari
c245436170
Bug 1493563 - Part 9: Notify about trackers being unblocked when being granted a first-party exception; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6599
2018-09-28 13:24:43 -04:00
Ehsan Akhgari
f0108e78c2
Bug 1493563 - Part 5: Present the old state and the content blocking log to the web progress listeners; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6595
2018-09-28 13:24:41 -04:00
Ehsan Akhgari
6aba052a44
Bug 1493563 - Part 2: Record a log of content blocking actions on each top-level document; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6592
2018-09-28 13:24:39 -04:00
Ehsan Akhgari
c0b679dd5e
Bug 1493563 - Part 1: Make ReportBlockingToConsole() accept an nsIURI* argument instead of an nsIHttpChannel*; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6591
2018-09-28 13:24:39 -04:00
Ehsan Akhgari
17551b155f
Bug 1494737 - Don't check browser.contentblocking.ui.enabled in AntiTrackingCommon::ShouldHonorContentBlockingCookieRestrictions(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D7117
2018-09-28 10:32:34 -04:00
Cristina Coroiu
0dbbfeb9c3
Bug 1491937 - Disabled browser_blockingWorkers.js on win7 pgo and opt for frequent failures r=gbrown
...
--HG--
extra : rebase_source : 06fc91c966317922b56563f6b551faa9d20e1dc0
2018-09-22 15:27:00 +03:00
Ehsan Akhgari
66b4333474
Bug 1493211 - Make the doubly nested iframe checks specific to requests coming from trackers r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6853
--HG--
extra : moz-landing-system : lando
2018-09-25 22:20:19 +00:00
Ehsan Akhgari
1909662130
Bug 1493682 - Part 3: Add tests for the new prefs r=baku
...
The image cache tests didn't follow the previous naming convention
in order to make it clearer how the tests are set up using the
naming conventions of the files.
These tests should be unified into a single file soon.
Depends on D6748
Differential Revision: https://phabricator.services.mozilla.com/D6749
--HG--
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache1-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache1-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache10-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache10-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache11-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache12.js => toolkit/components/antitracking/test/browser/browser_imageCache11-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache13-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache13-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache14-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache15.js => toolkit/components/antitracking/test/browser/browser_imageCache14-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache2-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache2-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache4-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache3.js => toolkit/components/antitracking/test/browser/browser_imageCache4-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache5-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache5-2.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache6-1.js
rename : toolkit/components/antitracking/test/browser/browser_imageCache7.js => toolkit/components/antitracking/test/browser/browser_imageCache6-2.js
extra : moz-landing-system : lando
2018-09-25 05:40:16 +00:00
Ehsan Akhgari
1522f71329
Bug 1493682 - Part 2: Fix the image cache tests r=baku
...
The first line which this patch is fixing was clobbering the object
that the tests were setting up, so all these tests were testing was
the blocking callback of the default runTest() path before this
patch.
Depends on D6747
Differential Revision: https://phabricator.services.mozilla.com/D6748
--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:14 +00:00
Ehsan Akhgari
4ad659ac56
Bug 1493682 - Part 1: Introduce two new prefs for controlling whether the content blocking allow list would be honoured r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6747
--HG--
extra : moz-landing-system : lando
2018-09-25 05:40:12 +00:00
Ehsan Akhgari
c30d164711
Bug 1493060 - Convert an overly aggressive assertion into a runtime check r=baku
...
None of the callers of this function ensure the argument passed
down here is actually a tracking window, so we need to properly
check it here rather than merely assert.
Differential Revision: https://phabricator.services.mozilla.com/D6458
--HG--
extra : moz-landing-system : lando
2018-09-24 17:18:21 +00:00
Andrea Marchesini
25f9ad890f
Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 4 - update permissions after X seconds, r=ehsan
2018-09-24 12:54:54 +02:00
Andrea Marchesini
a7bdca9758
Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 3 - tests, r=ehsan
2018-09-24 12:54:54 +02:00
Andrea Marchesini
9968406ccc
Bug 1491835 - Store User-Interaction for AntiTracking purposes - part 2 - storing user-interaction, r=ehsan
2018-09-24 12:54:54 +02:00
Ehsan Akhgari
3994b52a5a
Bug 1491937 - Add some promise rejection handlers in browser_blockingWorkers.js to try to debug the intermittent failure
2018-09-21 15:47:13 -04:00
Ehsan Akhgari
7228a06636
Bug 1491061 - Part 4: Synchronize the default values of the essential prefs that content blocking depends on for all platforms; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6357
2018-09-20 13:43:05 -04:00
Ehsan Akhgari
006d7d7aae
Bug 1491061 - Part 2: Add tests to ensure that third-party cookie blocking restrictions under content blocking also follow UI prefs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5888
2018-09-20 13:43:05 -04:00
Ehsan Akhgari
a7981b7ace
Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-20 13:43:05 -04:00
Ehsan Akhgari
3807c128b7
Bug 1491513 - Disable fastblock in more antitracking tests; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5936
2018-09-17 21:38:57 -04:00
Ehsan Akhgari
8b7c71b0af
Bug 1469714 - Part 11: Add a storage permission check to Document.hasStorageAccess() to ensure that it always returns the correct value even in the presence of dynamic heuristics grantic storage access permission; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5923
2018-09-17 13:02:04 -04:00
Ehsan Akhgari
445e2b2bce
Bug 1469714 - Part 10: Ensure that private browsing contexts cannot get storage access; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5819
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
711c013b44
Bug 1469714 - Part 9: Ensure that the granted storage access permission is available for non-sandboxed third-party contexts upon navigation; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5818
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
8ce60f3157
Bug 1469714 - Part 8: Add a test for the interaction of the Storage Access API with the allow-storage-access-by-user-activation iframe sandbox; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5817
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
701bc2de3e
Bug 1469714 - Part 7: Add tests for the Storage Access API interaction with worker APIs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5816
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
9c22500af9
Bug 1469714 - Part 6: Add tests for the Storage Access API interaction with localstorage/sessionstorage APIs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5815
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
e8aa46f89a
Bug 1469714 - Part 5: Add tests for the Storage Access API interaction with messaging APIs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5814
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
ba07f66611
Bug 1469714 - Part 4: Add tests for the Storage Access API interaction with IndexedDB; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5813
2018-09-17 13:00:38 -04:00
Ehsan Akhgari
8812e44036
Bug 1469714 - Part 3: Add tests for the Storage Access API interaction with cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5812
2018-09-17 13:00:38 -04:00
Gurzau Raul
78e7d3e5c7
Backed out 13 changesets (bug 1469714, bug 1491061) for bustages at src/dom/base/nsDocument.cpp, failures at test_browserGlue_bookmarkshtml.js and browser_startup.js on a CLOSED TREE
...
Backed out changeset 494e23ba027e (bug 1491061)
Backed out changeset 43552fcae4a4 (bug 1491061)
Backed out changeset 0fb2ac9ad5ec (bug 1469714)
Backed out changeset 4a88ff107478 (bug 1469714)
Backed out changeset 158def1e0b8c (bug 1469714)
Backed out changeset 61dc8b46e7f6 (bug 1469714)
Backed out changeset 453370408672 (bug 1469714)
Backed out changeset ff443966e3d9 (bug 1469714)
Backed out changeset 88f414c8cecc (bug 1469714)
Backed out changeset 36e5c9e69f10 (bug 1469714)
Backed out changeset f90b4272f420 (bug 1469714)
Backed out changeset 4db771422e75 (bug 1469714)
Backed out changeset fe750643da13 (bug 1469714)
2018-09-17 18:06:50 +03:00
Ehsan Akhgari
3c24a84781
Bug 1491061 - Part 2: Add tests to ensure that third-party cookie blocking restrictions under content blocking also follow UI prefs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5888
2018-09-17 10:07:58 -04:00
Ehsan Akhgari
04762303c7
Bug 1491061 - Part 1: Make Disable Protection honour both the Content Blocking UI pref and the pref controlling whether Third-Party Cookies section appears under Content Blocking UI; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5887
2018-09-17 10:07:58 -04:00
Ehsan Akhgari
d4a411dc54
Bug 1469714 - Part 11: Add a storage permission check to Document.hasStorageAccess() to ensure that it always returns the correct value even in the presence of dynamic heuristics grantic storage access permission; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5923
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
d08b732cf9
Bug 1469714 - Part 10: Ensure that private browsing contexts cannot get storage access; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5819
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
69e558a801
Bug 1469714 - Part 9: Ensure that the granted storage access permission is available for non-sandboxed third-party contexts upon navigation; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5818
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
b3139a0f0a
Bug 1469714 - Part 8: Add a test for the interaction of the Storage Access API with the allow-storage-access-by-user-activation iframe sandbox; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5817
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
5221240870
Bug 1469714 - Part 7: Add tests for the Storage Access API interaction with worker APIs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5816
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
ca73a0a0df
Bug 1469714 - Part 6: Add tests for the Storage Access API interaction with localstorage/sessionstorage APIs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5815
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
f6b88e7ae5
Bug 1469714 - Part 5: Add tests for the Storage Access API interaction with messaging APIs; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5814
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
b807bd5749
Bug 1469714 - Part 4: Add tests for the Storage Access API interaction with IndexedDB; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5813
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
695dcdf2b3
Bug 1469714 - Part 3: Add tests for the Storage Access API interaction with cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5812
2018-09-17 10:04:21 -04:00
Ehsan Akhgari
18f3ab5d7b
Bug 1490893 - Disable fastblock for antitracking tests; r=baku
2018-09-13 17:38:40 -04:00
Andrea Marchesini
f7df966db8
Bug 1489077 - Report to console when cookie permission is granted for trackers, r=ehsan
2018-09-09 20:03:09 +02:00
Andrea Marchesini
694c3887e6
Bug 1488635 - Add a test with the cookie permission for the image cache case, r=ehsan
2018-09-06 11:13:04 +02:00
Ehsan Akhgari
c9937d74c5
Bug 1488811 - Call requestLongerTimeout() only once per antitracking test; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5049
2018-09-05 13:52:12 -04:00
Ehsan Akhgari
a883e2c61d
Bug 1488785 - Part 3: Add a test to ensure that setting a storage access permission in a private window won't leave a persistent trace in the permission manager; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5048
2018-09-05 13:52:11 -04:00
Ehsan Akhgari
81a8ce8233
Bug 1488785 - Part 2: Add support for running tests in private windows to the antitracking mini-testsuite; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5047
2018-09-05 13:52:11 -04:00
Ehsan Akhgari
33ef15d7f8
Bug 1488785 - Part 1: Don't save persistent storage access permissions for private browsing contexts; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D5046
2018-09-05 13:52:10 -04:00
Andrea Marchesini
028a5e54ee
Bug 1488712: Wrong assertion in AntiTrackingCommon::MaybeIsFirstPartyStorageAccessGrantedFor, r=ehsan
2018-09-05 18:59:36 +02:00
Ehsan Akhgari
bff765cf05
Bug 1488784 - Part 2: Remove the XPCOM component registration for nsCookiePermission; r=jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D5038
2018-09-05 11:56:17 -04:00