Commit Graph

146 Commits

Author SHA1 Message Date
arthur.iakab
6d5ae40a02 Merge inbound to mozilla-central a=merge 2018-09-29 07:16:35 +03:00
Gabriele Svelto
7089fe7369 Bug 1493955 - Store floating-point preferences in a locale-independent way r=njn
Differential Revision: https://phabricator.services.mozilla.com/D6796

--HG--
extra : moz-landing-system : lando
2018-09-28 20:54:09 +00: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
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
079e3e2790 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 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
Ehsan Akhgari
807e9dc488 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 14:46:02 -04:00
Ehsan Akhgari
6e6423a886 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 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
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
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