Commit graph

265 commits

Author SHA1 Message Date
Liang-Heng Chen
0da6a82dda Bug 1602715 - support cookieBehavior=5 in protection UI; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D61543

--HG--
extra : moz-landing-system : lando
2020-02-07 09:42:45 +00:00
Johann Hofmann
bfb55452df Bug 1607499 - Remove the contentblocking.exceptions probe. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D60492

--HG--
extra : moz-landing-system : lando
2020-01-21 15:35:39 +00:00
Dimi Lee
27d4d88bfe Bug 1600878 - P2. Use contentBlockingEvents in WindowGlobalParent instead of contentBlockingEvent in RemoteSecurityUI r=timhuang,Ehsan
ContentBlockingEvent in RemoteSecurityUI is updated after receiving a notification from a child process.
Since contentBlockingEvent will be removed from the child, this patch removes the use of
contentBlockingEvent in RemoteSecurityUI and uses the API defined in WindowGlobalActor.

Depends on D55621

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

--HG--
extra : moz-landing-system : lando
2019-12-17 11:25:23 +00:00
Tim Huang
fcb8a4f3fb Bug 1599043 - Part 7: Update tests to adapt the change of the OnContentBlockingEvent. r=dimi,johannh
There are three major issues that we need to fix for tests if we move the
OnContentBlockingEvent to the parent process. First, we notify the event
in the idle queue in the parent process. For some reasons, the test
script could outrun the callbacks of the OnContentBlockingEvent. So, it
could happen that the UI hasn't got updated while we check its state. To
fix this, we make the test script to wait the UI to be updated
explicitly.

Second, the tracking UI tests would access the ContentblockingLog in the
content in order to get the hosts of different blocking categories. And
the log in the content may not be updated when we open the subview. And
there is no explicit way to know whether the log is updated or not. So,
we use SetTimeout to temporary fix this issue. Once we finish the work
that moving the ContentBlockingLog into the parent (Bug1599046), we can
remove this work-around.

Third, there is one test that it waits OnContentBlockingEvent in the
content. We make it to listen the event in the parent to fix it.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:08:41 +00:00
Erica Wright
a273e05e06 Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D58044

--HG--
extra : moz-landing-system : lando
2020-01-09 17:50:11 +00:00
Noemi Erli
c01a50c28c Backed out changeset bc55dd49ef82 (bug 1603545) for causing build bustages CLOSED TREE 2020-01-09 18:25:18 +02:00
Erica Wright
1966f381fa Bug 1603545 - Add telemetry for app menu protections button r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D58044

--HG--
extra : moz-landing-system : lando
2020-01-09 15:57:02 +00:00
Nihanth Subramanya
326d73b60b Bug 1543634 - Don't wait for STATE_STOP when adding new blank tabs in browser_trackingUI_pbmode_exceptions.js. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D57715

--HG--
extra : moz-landing-system : lando
2019-12-20 17:19:33 +00:00
Ehsan Akhgari
37bd89d95c Bug 1603969 - Part 3: Add an automated test to ensure that after storage access has been granted, the third-party is allowed to load images from tracking origins; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57495

--HG--
extra : moz-landing-system : lando
2019-12-19 02:56:56 +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
76a2708f65 Bug 1603969 - Part 3: Add an automated test to ensure that after storage access has been granted, the third-party is allowed to load images from tracking origins; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57495

--HG--
extra : moz-landing-system : lando
2019-12-18 19:15:03 +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
fd5440a2f4 Bug 1603969 - Part 3: Add an automated test to ensure that after storage access has been granted, the third-party is allowed to load images from tracking origins; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D57495

--HG--
extra : moz-landing-system : lando
2019-12-18 15:50:20 +00:00
Oana Pop Rus
53f1ba7c69 Backed out 10 changesets (bug 1599043) for build bustages in nsGlobalWindowOuter.cpp on a CLOSED TREE
Backed out changeset 463b815557e4 (bug 1599043)
Backed out changeset 7c3f0a58cc6c (bug 1599043)
Backed out changeset 1eadd9f5b50e (bug 1599043)
Backed out changeset e4ea0d47136b (bug 1599043)
Backed out changeset 6b97581c33b6 (bug 1599043)
Backed out changeset a68bd2acf5d6 (bug 1599043)
Backed out changeset c8ed9c52508c (bug 1599043)
Backed out changeset aaf83f7806b4 (bug 1599043)
Backed out changeset 0ad30634e416 (bug 1599043)
Backed out changeset 68219c132efc (bug 1599043)
2019-12-12 17:14:54 +02:00
Tim Huang
3698a21e17 Bug 1599043 - Part 7: Update tests to adapt the change of the OnContentBlockingEvent. r=dimi,johannh
There are three major issues that we need to fix for tests if we move the
OnContentBlockingEvent to the parent process. First, we notify the event
in the idle queue in the parent process. For some reasons, the test
script could outrun the callbacks of the OnContentBlockingEvent. So, it
could happen that the UI hasn't got updated while we check its state. To
fix this, we make the test script to wait the UI to be updated
explicitly.

Second, the tracking UI tests would access the ContentblockingLog in the
content in order to get the hosts of different blocking categories. And
the log in the content may not be updated when we open the subview. And
there is no explicit way to know whether the log is updated or not. So,
we use SetTimeout to temporary fix this issue. Once we finish the work
that moving the ContentBlockingLog into the parent (Bug1599046), we can
remove this work-around.

Third, there is one test that it waits OnContentBlockingEvent in the
content. We make it to listen the event in the parent to fix it.

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

--HG--
extra : moz-landing-system : lando
2019-12-11 15:01:22 +00:00
Jean-Yves Avenard
20d5d4d0d3 Bug 1588241 - P6. Disable test under fission. r=mattwoodrow
And amend comment on other bugs failing for the same reasons, linking to bug that is the cause.

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

--HG--
extra : moz-landing-system : lando
2019-11-15 02:42:10 +00:00
Narcis Beleuzu
e7c61f4a68 Backed out 8 changesets (bug 1588241) for wpt leaks on ChannelEvent/ChannelEventQueue. CLOSED TREE
Backed out changeset 6a4727c44078 (bug 1588241)
Backed out changeset 125430c4316a (bug 1588241)
Backed out changeset 449606f22baf (bug 1588241)
Backed out changeset c9a6203582ac (bug 1588241)
Backed out changeset 48362412c9d5 (bug 1588241)
Backed out changeset a21cd1c41c6c (bug 1588241)
Backed out changeset 8d2cf0fc6b9b (bug 1588241)
Backed out changeset 17e7f137067f (bug 1588241)
2019-11-13 09:24:22 +02:00
Jean-Yves Avenard
92451b9f4c Bug 1588241 - P6. Disable test under fission. r=mattwoodrow
And amend comment on other bugs failing for the same reasons, linking to bug that is the cause.

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

--HG--
extra : moz-landing-system : lando
2019-11-11 06:08:59 +00:00
Nihanth Subramanya
a13671e1aa Bug 1578831 - Link directly to breakage report subview when ETP is off. r=timhuang,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47574

--HG--
extra : moz-landing-system : lando
2019-11-07 20:13:31 +00:00
Nihanth Subramanya
ef158825dd Bug 1592616 - Ensure we wait for site not working link to be updated before checking visibility. r=timhuang
This also disables browser_protections_UI.js on fission since it now loads a tracking page.

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

--HG--
extra : moz-landing-system : lando
2019-11-06 21:38:58 +00:00
Johann Hofmann
708a5abfb0 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-06 21:14:21 +00:00
Johann Hofmann
fd25cd93cd Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-06 21:16:53 +00:00
Coroiu Cristina
10c5246702 Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for browser-chrome failures at browser/base/content/test/siteProtections/browser_protections_UI.js on a CLOSED TREE
Backed out changeset 7bc4ba491fc6 (bug 1592616)
Backed out changeset 7f420cfdf282 (bug 1592616)
Backed out changeset 9c00153e7458 (bug 1575785)
Backed out changeset e8ba7d342c46 (bug 1582751)
Backed out changeset 6ded6886d2ed (bug 1592616)
2019-11-06 22:58:29 +02:00
Nihanth Subramanya
c96522709a Bug 1592616 - Ensure we wait for site not working link to be updated before checking visibility. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D51920

--HG--
extra : moz-landing-system : lando
2019-11-06 16:48:08 +00:00
Johann Hofmann
bdc5996289 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-06 15:35:17 +00:00
Johann Hofmann
cf38629e29 Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-06 16:48:08 +00:00
Gurzau Raul
a48236e296 Backed out 5 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
Backed out changeset ee2ba98f5a17 (bug 1592616)
Backed out changeset 1f665fb32bff (bug 1592616)
Backed out changeset dde543f12c83 (bug 1575785)
Backed out changeset fadcc9e29ffd (bug 1582751)
Backed out changeset e86703d8db17 (bug 1592616)
2019-11-06 15:48:17 +02:00
Johann Hofmann
22a9a59387 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-06 00:47:33 +00:00
Johann Hofmann
747f319cf0 Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-06 11:38:26 +00:00
Brindusan Cristian
7dd89e5631 Backed out 4 changesets (bug 1582751, bug 1575785, bug 1592616) for bc failures at browser_protections_UI.js. CLOSED TREE
Backed out changeset 7065a97d62f2 (bug 1592616)
Backed out changeset 5f243fa3ab1e (bug 1575785)
Backed out changeset 7870976299f2 (bug 1582751)
Backed out changeset a9b6b44f82af (bug 1592616)
2019-11-06 02:23:31 +02:00
Johann Hofmann
757b8d00e4 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-03 06:46:39 +00:00
Johann Hofmann
b9ceb02e8c Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-05 21:33:06 +00:00
Nihanth Subramanya
303298d4bb Bug 1593573 - Use skipURLs prefs instead of whitelist testEntries in social tracking UI test. r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D51646

--HG--
extra : moz-landing-system : lando
2019-11-04 16:49:11 +00:00
Nihanth Subramanya
70df680160 Bug 1593573 - Update socialtracking UI test. r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D51613

--HG--
extra : moz-landing-system : lando
2019-11-04 16:34:53 +00:00
Nihanth Subramanya
1ce9b0ec58 Bug 1593509 - Improvements to social tracking frontend test. r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D51544

--HG--
extra : moz-landing-system : lando
2019-11-04 09:55:02 +00:00
shindli
bc9e237999 Backed out 3 changesets (bug 1582751, bug 1575785, bug 1592616) for causing perma failures in browser/base/content/test/siteProtections/browser_protections_UI.js CLOSED TREE
Backed out changeset d08754485c25 (bug 1575785)
Backed out changeset be51af34cb7a (bug 1582751)
Backed out changeset c753c25b8f77 (bug 1592616)
2019-11-03 08:43:22 +02:00
Johann Hofmann
3063e2d788 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-03 04:10:55 +00:00
Johann Hofmann
0ba8cd8966 Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-03 04:10:43 +00:00
Nihanth Subramanya
70cccb0030 Bug 1584479 - Part 3: Use new social cookies blocked flag in protections panel category logic. r=johannh,xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D47428

--HG--
extra : moz-landing-system : lando
2019-11-01 23:24:29 +00:00
Dorel Luca
b9074d53a1 Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya
76f9f03830 Bug 1584479 - Part 3: Use new social cookies blocked flag in protections panel category logic. r=johannh,xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D47428

--HG--
extra : moz-landing-system : lando
2019-11-01 20:07:09 +00:00
Gurzau Raul
b86970308d Backed out 3 changesets (bug 1582751, bug 1575785, bug 1592616) for failing at browser_protections_UI.js on a CLOSED TREE.
Backed out changeset 4905af6536bd (bug 1575785)
Backed out changeset 13566afee847 (bug 1582751)
Backed out changeset 5fe8f0955483 (bug 1592616)
2019-11-01 18:27:33 +02:00
Johann Hofmann
be50883421 Bug 1582751 - Show an error message when content blocking breakage reporting fails. r=nhnt11,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D51382

--HG--
extra : moz-landing-system : lando
2019-11-01 12:07:13 +00:00
Johann Hofmann
c9f3ddcbdb Bug 1592616 - Don't show breakage report link when we're not blocking anything. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D51381

--HG--
extra : moz-landing-system : lando
2019-11-01 10:50:22 +00:00
Kashav Madan
c39158719d Bug 1582531 - Update fission annotations for tests that pass, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D50507

--HG--
extra : moz-landing-system : lando
2019-10-30 21:51:22 +00:00
Nihanth Subramanya
de955c9281 Bug 1591934 - Enable browser_trackingUI_shield_visibility.js in fission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50809

--HG--
extra : moz-landing-system : lando
2019-10-28 13:59:00 +00:00
Nihanth Subramanya
c1df54d751 Bug 1590688 - Replace ContentTask.spawn with SpecialPowers.spawn in trackingUI tests. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D50176

--HG--
extra : moz-landing-system : lando
2019-10-23 23:36:58 +00:00
Nihanth Subramanya
aeee35538f Bug 1589015 - Update cookies category label tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49865

--HG--
extra : moz-landing-system : lando
2019-10-21 15:16:34 +00:00
Anny Gakhokidze
4b5f88535e Bug 1582531 - Update fission annotations for mochitests, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47646

--HG--
extra : moz-landing-system : lando
2019-10-01 14:24:15 +00:00
Anny Gakhokidze
f1c694e18f Bug 1582531 - Update fission annotations for skipped tests that are now passing succesfully, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47347

--HG--
extra : moz-landing-system : lando
2019-09-27 14:25:10 +00:00