Commit graph

90 commits

Author SHA1 Message Date
Ehsan Akhgari
2f00a97c85 Bug 1510911 - Part 1: Backout changeset cdb8932d1d8d (bug 1493563 - Part 11) for regressing performance 2018-12-03 14:27:53 -05:00
Ehsan Akhgari
0da23d95e8 Bug 1509047 - Part 6: Add an automated test for the heuristics for the automatic grants of temporary access in the storage access API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D12867
2018-11-29 00:45:06 -05:00
Ehsan Akhgari
19ca24926c Bug 1509555 - Part 5: Remove fastblock from tests r=baku
Depends on D12831

Differential Revision: https://phabricator.services.mozilla.com/D12832

--HG--
extra : moz-landing-system : lando
2018-11-27 08:57:53 +00:00
Ehsan Akhgari
5a990aab93 Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:49 +00:00
Andrea Marchesini
256980ac39 Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan 2018-11-19 23:56:04 +01:00
Ciure Andrei
97ae4101ac Backed out 4 changesets (bug 1507769, bug 1505571) for browser_storageAccessWithHeuristics.js failures CLOSED TREE
Backed out changeset 401763b97e54 (bug 1507769)
Backed out changeset 838dfe679fdd (bug 1505571)
Backed out changeset 88af3329ee16 (bug 1505571)
Backed out changeset be17a8b7aefa (bug 1505571)
2018-11-19 22:06:24 +02:00
Andrea Marchesini
7fd5fc4b5c Bug 1507769 - User-interaction required before granting storage access for some 3rd party trackers, r=ehsan
We want to introduce a new pref to block trackers that try to workaround our
heuristic. The pref is called:
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts
2018-11-19 19:16:25 +01:00
Narcis Beleuzu
c8215609ff Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE
Backed out changeset 26318538f077 (bug 1505198)
Backed out changeset fc39602006be (bug 1504728)
2018-11-16 02:34:15 +02:00
Ehsan Akhgari
7f3a7b13de Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-14 17:19:25 +00:00
Dorel Luca
2f261feba3 Backed out changeset 365e0d2414bf (bug 1504728) for browser-chrome failures. CLOSED TREE 2018-11-09 18:48:39 +02:00
Ehsan Akhgari
b11a25f3c6 Bug 1504728 - Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin
Differential Revision: https://phabricator.services.mozilla.com/D11122

--HG--
extra : moz-landing-system : lando
2018-11-09 15:36:02 +00:00
Ehsan Akhgari
2cde9dfed2 Bug 1504194 - Part 3: Add tests for granting access to trackers across the same eTLD+1 r=baku
Depends on D10789

Differential Revision: https://phabricator.services.mozilla.com/D10790

--HG--
extra : moz-landing-system : lando
2018-11-05 17:10:49 +00:00
Ehsan Akhgari
3da9ced0c9 Bug 1503697 - Record trackers being loaded on a site in the content blocking log; r=baku,francois
Differential Revision: https://phabricator.services.mozilla.com/D10439
2018-11-05 13:44:29 -05:00
Andrea Marchesini
84bf38d17e Bug 1502045 - Honour cookie permissions correctly in 3rd party contexts, r=ehsan 2018-11-05 10:18:05 +01:00
Ehsan Akhgari
49523b05c4 Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it.  (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)

Differential Revision: https://phabricator.services.mozilla.com/D10664

--HG--
extra : moz-landing-system : lando
2018-11-02 20:14:57 +00:00
Ciure Andrei
e16ad7a8a8 Backed out changeset 462c7102e2db (bug 1502240) for failures related to nsICookieService CLOSED TREE 2018-11-02 19:24:40 +02:00
Ehsan Akhgari
795d456a70 Bug 1502240 - Ensure that Content Blocking allow list is applied to all cookie policies r=baku
Unfortunately we can't test BEHAVIOR_REJECT using the AntiTracking framework,
because the AntiTracking callbacks are incompatible with it.  (The tracking
callbacks expect to be able to unblock themselves, but under BEHAVIOR_REJECT,
that can't happen.)

Differential Revision: https://phabricator.services.mozilla.com/D10664

--HG--
extra : moz-landing-system : lando
2018-11-02 12:55:01 +00:00
Ehsan Akhgari
5fef8e924c Bug 1501978 - Part 1: Stop honouring the browser.contentblocking.enabled pref in Gecko r=baku
Differential Revision: https://phabricator.services.mozilla.com/D10074

--HG--
extra : moz-landing-system : lando
2018-10-30 14:30:15 +00:00
Ehsan Akhgari
f6828ef5bd Bug 1498591 - Add a test to ensure that navigating a subframe will revoke its storage access r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8555

--HG--
extra : moz-landing-system : lando
2018-10-17 23:25:47 +00:00
Noemi Erli
77b328b5a7 Backed out changeset 8efab497c2e6 (bug 1498591) for failures in browser_storageAccessRemovalNavigateSubframe.js a=backout 2018-10-16 04:22:34 +03:00
Ehsan Akhgari
e38073ca8f Bug 1498591 - Add a test to ensure that navigating a subframe will revoke its storage access r=baku
Differential Revision: https://phabricator.services.mozilla.com/D8555

--HG--
extra : moz-landing-system : lando
2018-10-15 10:35:39 +00:00
Ehsan Akhgari
a9be7e60b8 Bug 1494476 follow-up: Remove the debugging console.log calls that crept in inside the part 2 patch 2018-10-12 15:39:04 -04:00
Ehsan Akhgari
907531b78b Bug 1494476 - Part 4: Add tests for requiring interaction with a tracker in the first-party context before granting a third-party storage exception for it r=baku
Depends on D8157

Differential Revision: https://phabricator.services.mozilla.com/D8158

--HG--
extra : moz-landing-system : lando
2018-10-10 15:46:57 +00:00
Ehsan Akhgari
2ace7deeee Bug 1494476 - Part 2: Refactor calls to the storage access API into a helper script file r=baku
Depends on D8155

Differential Revision: https://phabricator.services.mozilla.com/D8156

--HG--
extra : moz-landing-system : lando
2018-10-10 15:47:28 +00:00
Dorel Luca
d58af2c1f9 Backed out 4 changesets (bug 1494476) for build bustage and lining failure. CLOSED TREE
Backed out changeset 70d95bda8458 (bug 1494476)
Backed out changeset f89516a277dc (bug 1494476)
Backed out changeset 3c38fad722a6 (bug 1494476)
Backed out changeset 473362250320 (bug 1494476)
2018-10-10 18:29:04 +03:00
Ehsan Akhgari
659ed478bc Bug 1494476 - Part 4: Add tests for requiring interaction with a tracker in the first-party context before granting a third-party storage exception for it r=baku
Depends on D8157

Differential Revision: https://phabricator.services.mozilla.com/D8158

--HG--
extra : moz-landing-system : lando
2018-10-10 14:52:16 +00:00
Ehsan Akhgari
2b60120800 Bug 1494476 - Part 2: Refactor calls to the storage access API into a helper script file r=baku
Depends on D8155

Differential Revision: https://phabricator.services.mozilla.com/D8156

--HG--
extra : moz-landing-system : lando
2018-10-10 14:50:37 +00:00
Ehsan Akhgari
a68ffa3c04 Bug 1495130 - Part 2: Remove the test cases that are no longer necessary after bug 1494737 r=baku
Depends on D7229

Differential Revision: https://phabricator.services.mozilla.com/D7230

--HG--
extra : moz-landing-system : lando
2018-10-05 16:38:51 +00:00
Ehsan Akhgari
7ce7bddda7 Bug 1495130 - Part 1: Sort the list of subtests by cookieBehavior r=baku
Differential Revision: https://phabricator.services.mozilla.com/D7229

--HG--
extra : moz-landing-system : lando
2018-10-05 16:37:40 +00:00
Ehsan Akhgari
f89b6d88b1 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 14:46:02 -04:00
Ehsan Akhgari
5f0be07390 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 14:46:02 -04:00
Noemi Erli
4419e20e14 Backed out 12 changesets (bug 1493563) for failures in test_css-logic-getCssPath.html CLOSED TREE
Backed out changeset d2e83655082f (bug 1493563)
Backed out changeset 1ce58f004593 (bug 1493563)
Backed out changeset 344298c73ee7 (bug 1493563)
Backed out changeset 02b8b073f7d7 (bug 1493563)
Backed out changeset 3ef707008502 (bug 1493563)
Backed out changeset bb2720a401fe (bug 1493563)
Backed out changeset ce0211be57a1 (bug 1493563)
Backed out changeset 83d6c2bf8dc6 (bug 1493563)
Backed out changeset 1844af4cc25b (bug 1493563)
Backed out changeset c8ab17addb7a (bug 1493563)
Backed out changeset a1ff0cd62563 (bug 1493563)
Backed out changeset 932b41e211e0 (bug 1493563)
2018-09-28 21:31:18 +03:00
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
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
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
Tiberius Oros
70e8d3a299 Backed out 11 changesets (bug 1493563) for failures on dom/workers/test/test_sharedworker_event_listener_leaks.html on a CLOSED TREE
Backed out changeset 0bb55b604bfd (bug 1493563)
Backed out changeset 8e25c301675a (bug 1493563)
Backed out changeset 4f608b8801d4 (bug 1493563)
Backed out changeset f58d0b1ca088 (bug 1493563)
Backed out changeset eae105f2bf6d (bug 1493563)
Backed out changeset 7a8a0d1cfd69 (bug 1493563)
Backed out changeset dbba8451aab1 (bug 1493563)
Backed out changeset a6141dbd0328 (bug 1493563)
Backed out changeset f4ca3d8fa90e (bug 1493563)
Backed out changeset 56bab7fae64d (bug 1493563)
Backed out changeset 66787e603401 (bug 1493563)
2018-09-26 06:16:22 +03:00
Ehsan Akhgari
1e158ef83d Bug 1493563 - Part 11: Add tests for the new onSecurityChange progresslistener arguments; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6601
2018-09-25 21:02:51 -04:00
Ehsan Akhgari
4ced8fedcb 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-25 21:02:51 -04:00
Tiberius Oros
8acb878ef1 Backed out 11 changesets (bug 1493563) for failures on browser_blockingCookies.js on a CLOSED TREE
Backed out changeset d755b96837ac (bug 1493563)
Backed out changeset 651f87dca51f (bug 1493563)
Backed out changeset 68de8f0866d0 (bug 1493563)
Backed out changeset 205d69890f50 (bug 1493563)
Backed out changeset 5f922cd6c21e (bug 1493563)
Backed out changeset 84dc54c1a9c1 (bug 1493563)
Backed out changeset 287666ecdd17 (bug 1493563)
Backed out changeset c64a2ea15b7b (bug 1493563)
Backed out changeset 9085269938cd (bug 1493563)
Backed out changeset de06604fefcb (bug 1493563)
Backed out changeset f9bac5e73bd4 (bug 1493563)
2018-09-25 23:12:03 +03:00
Ehsan Akhgari
16a0020b54 Bug 1493563 - Part 11: Add tests for the new onSecurityChange progresslistener arguments; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D6601
2018-09-25 13:51:47 -04:00
Ehsan Akhgari
59e50ba2d0 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-25 13:51:47 -04: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
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
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
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
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