Commit graph

239 commits

Author SHA1 Message Date
Coroiu Cristina
7944190ad1 Bug 1548086 - Fix ESlint r=me 2019-05-01 04:29:10 +03:00
Ehsan Akhgari
989f66bb1f Bug 1548086 - Work around bug 1548085 in browser_referrerDefaultPolicy.js; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D29399

--HG--
extra : moz-landing-system : lando
2019-04-30 22:31:38 +00:00
Ehsan Akhgari
b1bd6e9654 Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28376

--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Gurzau Raul
2c2d5c8e3d Backed out 7 changesets (bug 1535697) for causing Bug 1547596. a=backout
Backed out changeset 037390836504 (bug 1535697)
Backed out changeset ebad998aae7a (bug 1535697)
Backed out changeset 969945148b3d (bug 1535697)
Backed out changeset 5cbdeb635a3e (bug 1535697)
Backed out changeset c316d49df8c4 (bug 1535697)
Backed out changeset 4a5475f6aa49 (bug 1535697)
Backed out changeset 9191d987a9e1 (bug 1535697)
2019-04-29 01:05:24 +03:00
Ehsan Akhgari
8d5e253237 Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
Differential Revision: https://phabricator.services.mozilla.com/D28376

--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:39 +00:00
Andrea Marchesini
f8b91466be Bug 1545273 - User-Interaction required for trackers only for some urls, set in privacy.restrict3rdpartystorage.userInteractionRequiredForHosts, r=Ehsan
This patch fixes a bug about when the
privacy.restrict3rdpartystorage.userInteractionRequiredForHosts should be
considered.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 19:39:35 +00:00
Ehsan Akhgari
8a23f4f295 Bug 1546509 - Add back the script test case to browser_referrerDefaultPolicy.js; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D28565

--HG--
extra : moz-landing-system : lando
2019-04-24 12:27:23 +00:00
Ehsan Akhgari
ccfae51c32 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Ehsan Akhgari
0ad9b25d34 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-17 15:01:53 +00:00
Brindusan Cristian
1f36a419a9 Backed out changeset 19d9a16423fd (bug 1543786) for ESlint failure at browser_storageAccessRemovalNavigateTopframe.js. CLOSED TREE 2019-04-17 08:29:16 +03:00
Ehsan Akhgari
ad1be13e59 Bug 1543786 - Ensure that we revoke a top frame's storage access when it is navigated away; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27155

--HG--
extra : moz-landing-system : lando
2019-04-16 22:49:25 +00:00
Ehsan Akhgari
33df4a4c48 Bug 1544131 - Part 3: Add tests for the interaction of JS provided referrer policies with each one of the default referrer policy values applied to third-party trackers; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27395

--HG--
extra : moz-landing-system : lando
2019-04-15 08:08:18 +00:00
Ehsan Akhgari
a49e6df780 Bug 1544131 - Part 2: Remove the script test from browser_referrerDefaultPolicy.js since the <script> element doesn't provide support for the referrerPolicy API; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27394

--HG--
extra : moz-landing-system : lando
2019-04-15 08:08:05 +00:00
Ehsan Akhgari
7d6e7d5d64 Bug 1543869 - Make sure that browser_referrerDefaultPolicy passes by packaging its depenencies correctly; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D27197

--HG--
extra : moz-landing-system : lando
2019-04-12 05:22:57 +00:00
Andrea Marchesini
f51a81f6d6 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:19 +00:00
Andrea Marchesini
ad7d593761 Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:36 +00:00
Andrea Marchesini
a2db742a8c Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini
3ec4717c70 Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-12 05:30:56 +00:00
Oana Pop Rus
76651301a1 Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE 2019-04-11 23:15:08 +03:00
Cosmin Sabou
af07021e88 Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Ehsan Akhgari
bf2a5e6e54 Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
Differential Revision: https://phabricator.services.mozilla.com/D26996

--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Andrea Marchesini
bba5a7d699 Bug 1536411 - StoragePrincipal - part 8 - SharedWorkers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D25790

--HG--
extra : moz-landing-system : lando
2019-04-11 16:47:26 +00:00
Andrea Marchesini
677630aa7c Bug 1536411 - StoragePrincipal - part 7 - test for DOMCache and ServiceWorkers, r=Ehsan,asuth
Differential Revision: https://phabricator.services.mozilla.com/D25778

--HG--
extra : moz-landing-system : lando
2019-04-11 16:29:13 +00:00
Andrea Marchesini
0830861f7e Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24864

--HG--
extra : moz-landing-system : lando
2019-04-11 16:28:51 +00:00
Andrea Marchesini
7524dcd07e Bug 1536411 - StoragePrincipal - part 5 - Tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24029

--HG--
rename : toolkit/components/antitracking/test/browser/head.js => toolkit/components/antitracking/test/browser/antitracking_head.js
extra : moz-landing-system : lando
2019-04-11 16:28:28 +00:00
Andrea Marchesini
ddda66db66 Bug 1543314 - Cookies should be sent to the content process also for first-party channels when cookieBehavior is set to 2, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26859

--HG--
extra : moz-landing-system : lando
2019-04-10 15:25:13 +00:00
Ehsan Akhgari
352131739f Bug 1538974 - Ensure that we accept uppercase characters for url-classifier annotation skip URLs; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D26019

--HG--
extra : moz-landing-system : lando
2019-04-04 17:38:09 +00:00
Ehsan Akhgari
de2dd15a33 Bug 1536664 - Re-enable the disabled anti-tracking tests now that bug 1498102 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25936

--HG--
extra : moz-landing-system : lando
2019-04-03 17:52:10 +00:00
Mark Banner
53b3788bba Bug 1415265 - Implement a central configuration for setting ESLint environments for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23849

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:02 +00:00
Daniel Varga
700eee209a Bug 1536664 - toolkit/components/antitracking/test/browser/browser_blockingServiceWorkersStorageAccessAPI.js on linux, windows and osx for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24647

--HG--
extra : moz-landing-system : lando
2019-03-24 21:47:42 +00:00
Andrea Marchesini
1b6bfa6413 Bug 1536110 - StorageAccess should be propagated to workers, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D23861

--HG--
extra : moz-landing-system : lando
2019-03-20 01:06:33 +00:00
Ehsan Akhgari
e0be560c3d Bug 1536158 - Split browser_blockingServiceWorkers.js into two tests so that if we end up disabling part of it, we don't lose all of our test coverage; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23891

--HG--
rename : toolkit/components/antitracking/test/browser/browser_blockingServiceWorkers.js => toolkit/components/antitracking/test/browser/browser_blockingServiceWorkersStorageAccessAPI.js
extra : moz-landing-system : lando
2019-03-19 06:26:01 +00:00
Ehsan Akhgari
d688d61ada Bug 1535337 - Part 3: Don't set prefs inside browser_blockingServiceWorkers.js from the content process and just pass them through extraPrefs; r=baku
Depends on D23509

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

--HG--
extra : moz-landing-system : lando
2019-03-16 02:42:42 +00:00
Ehsan Akhgari
34414669b0 Bug 1535337 - Part 2: Don't clobber the extraPrefs argument when calling AntiTracking._createTask(); r=baku
Depends on D23508

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

--HG--
extra : moz-landing-system : lando
2019-03-16 02:42:25 +00:00
Ehsan Akhgari
9a24d70683 Bug 1535337 - Part 1: Don't pass an extra argument to AntiTracking._setupTest(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D23508

--HG--
extra : moz-landing-system : lando
2019-03-16 02:42:23 +00:00
Andrea Marchesini
6b7df33f3a Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-03-08 09:03:15 +00:00
Ciure Andrei
712dd2bb8c Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
48b3f2b792 Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-03-07 10:18:07 +00:00
Dorel Luca
ac34e1d973 Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
cc69a8960f Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-03-06 17:03:08 +00:00
Ehsan Akhgari
60ba3ea3e2 Bug 1531538 - Delay resolving the promise returned from requestStorageAccess when the automatic storage access grants are invoked; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D21771

--HG--
extra : moz-landing-system : lando
2019-03-04 20:12:14 +00:00
Ehsan Akhgari
3bcc679115 Bug 1525458 - Part 4: Add a test that verifies that when the top-level page is on the content blocking allow-list, we don't emit unexpected content blocking events inside the content blocking log; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20877
2019-02-28 17:10:19 -05:00
Ehsan Akhgari
9f4030202b Bug 1525458 - Part 2: Update the anti-tracking tests to expect storage access right away when the top-level document is on the allow list and tracking cookies are being blocked per the cookie policy; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20875
2019-02-28 17:10:17 -05:00
Ehsan Akhgari
6c217088a5 Bug 1530076 - Part 2: Add a test for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=baku
Depends on D20901

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

--HG--
extra : moz-landing-system : lando
2019-02-26 18:50:22 +00:00
Gurzau Raul
a12ddd1865 Backed out 11 changesets (bug 1525245) for failing at test_cookies_thirdparty.js on a CLOSED TREE.
Backed out changeset 1dcb31a1d5be (bug 1525245)
Backed out changeset 4cde0e38ada8 (bug 1525245)
Backed out changeset d3e99dd3fc32 (bug 1525245)
Backed out changeset a565014fdd8d (bug 1525245)
Backed out changeset 20f336320ce1 (bug 1525245)
Backed out changeset d8ee13b6a17d (bug 1525245)
Backed out changeset b79ec111bf41 (bug 1525245)
Backed out changeset 858d08371107 (bug 1525245)
Backed out changeset 1c359cdcf69f (bug 1525245)
Backed out changeset d65fb2d2a243 (bug 1525245)
Backed out changeset 28147c8790d3 (bug 1525245)
2019-02-26 22:09:25 +02:00
Andrea Marchesini
046b1ecf1b Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 10 - Fix existing tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D18958

--HG--
extra : moz-landing-system : lando
2019-02-26 17:44:02 +00:00
Ehsan Akhgari
0648e78f1c Bug 1529396 - Stop throwing an exception from window.localStorage when a privacy check fails; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D20583

--HG--
extra : moz-landing-system : lando
2019-02-21 14:21:02 +00:00
Andrea Marchesini
e8579da578 Bug 1526225 - Fix anti-tracking tests when checking worker messages, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D19127

--HG--
extra : moz-landing-system : lando
2019-02-08 16:53:20 +00:00
Andrea Marchesini
43a5f36077 Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 1 - UrlClassifierFeatureFactory::IsClassifierBlockingErrorCode, r=ehsan
Differential Revision: https://phabricator.services.mozilla.com/D17637
2019-01-30 13:43:34 +01:00
Myk Melez
25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00