Commit Graph

3589 Commits

Author SHA1 Message Date
Thomas Wisniewski
28f711f96c Bug 1713691 - Add a SmartBlock shim for Google SafeFrame; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119994
2021-07-16 15:04:25 +00:00
Thomas Wisniewski
1c8f471101 Bug 1713699 - Add a SmartBlock shim for Chartbeat Superfly; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119883
2021-07-14 14:26:26 +00:00
Andre Natal
612e9f013e Bug 1715913 - Update Firefox Translations to 0.4.3 r=preferences-reviewers,jaws,fluent-reviewers,flod,mixedpuppy
Updating Firefox Translations to 0.4.3 https://bugzilla.mozilla.org/show_bug.cgi?id=1715913
Adding a new option to the preferences menu to handle translations exceptions https://bugzilla.mozilla.org/show_bug.cgi?id=1714031
Fixes diffoscope issues https://bugzilla.mozilla.org/show_bug.cgi?id=1713561

Differential Revision: https://phabricator.services.mozilla.com/D117512
2021-07-13 21:00:08 +00:00
Kartikaya Gupta
6ec49e1375 Bug 1720171 - Ensure ga.getAll().filter exists in SmartBlock Google Analytics shim. r=twisniewski,webcompat-reviewers
The original GA code returns an Array for ga.getAll(), while the
shim was returning an Iterator. This caused code that relied on
ga.getAll().filter(..) to break with the shim. This patch wraps
the Iterator contents back into an Array.

Differential Revision: https://phabricator.services.mozilla.com/D119737
2021-07-13 16:44:42 +00:00
Masayuki Nakano
9ef37fef48 Bug 1720252 - Get rid of "dom.input_events.beforeinput.enabled" from tests r=smaug
`beforeinput` event was shipped and it won't be disabled for avoiding confusion
of web developers. So, we can drop the pref setting of
"dom.input_events.beforeinput.enabled" in our tests.

Depends on D119716

Differential Revision: https://phabricator.services.mozilla.com/D119729
2021-07-13 10:02:12 +00:00
Thomas Wisniewski
87c9ab60a1 Bug 1713701 - Add a SmartBlock shim for IASPet; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119642
2021-07-12 16:03:56 +00:00
Dennis Schubert
db1e1e16ed Bug 1714611 - Ship v24.0.0 of webcompat system addon. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119526
2021-07-09 15:34:20 +00:00
Thomas Wisniewski
b418a00eca Bug 1713690 - fix a trivial mis-merge for the Google IMA SmartBlock shim; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119472
2021-07-09 00:27:40 +00:00
Thomas Wisniewski
579452aea9 Bug 1713690 - Improve the SmartBlock shimming for Google IMA3; r=denschub,webcompat-reviewers
- adds an actual shim for Google IMA3, rather than shimming with an empty file
- simplifies the AdSafeProtected IMA shim:
  - no longer needs to opt in to the original script for videos to play
  - it can now just be a basic stub shim for the API

Differential Revision: https://phabricator.services.mozilla.com/D119337
2021-07-08 15:08:27 +00:00
Thomas Wisniewski
e6e20822fd Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-07 19:14:32 +00:00
Butkovits Atila
b15ca78c69 Backed out changeset a0e84f443e91 (bug 1713693) for causing build bustage. CLOSED TREE 2021-07-06 23:19:49 +03:00
Thomas Wisniewski
74d344bc35 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 19:59:33 +00:00
Butkovits Atila
b510358aae Backed out changeset 21e5a34cf792 (bug 1713693) for causing build bustages. CLOSED TREE 2021-07-06 22:29:35 +03:00
Thomas Wisniewski
256cc6a79d Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 18:46:17 +00:00
Dorel Luca
55806ebe68 Backed out changeset 52a7608366bd (bug 1713693) for Build bustages. CLOSED TREE 2021-07-06 19:24:14 +03:00
Thomas Wisniewski
8191be5e74 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 15:52:17 +00:00
Dorel Luca
6fc68e89c3 Backed out changeset 82f3980be0c0 (bug 1713693) for build bustage on Linux. CLOSED TREE 2021-07-06 18:30:12 +03:00
Thomas Wisniewski
3bc0580165 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 14:59:20 +00:00
Kajal Sah
2b57205e39 Bug 1718269 Renamed event that opens screenshots UI from the extension.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118855
2021-06-30 03:35:40 +00:00
Sam Foster
d96b6ab775 Bug 1708018 - Use toolkit's lightbulb icon for the report-site-issue extension. r=webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D117581
2021-06-24 21:59:33 +00:00
Butkovits Atila
99e6882652 Bug 1714295 - disable browser_screenshots_dimensions.js on Win_64_opt_asan for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118428
2021-06-24 05:49:04 +00:00
Kajal Sah
5ad1c8317e Bug 1713938 - Corrects toggle-screenshot-disable button. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D117506
2021-06-21 15:02:52 +00:00
Neil Deakin
3b9e7eaf5a Bug 1701078, re-enable browser_remoteiframe.js now that bug 1600059 that improved the form autofill tests is fixed, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D118285
2021-06-21 14:23:44 +00:00
Thomas Wisniewski
eef085027f Bug 1713685 - Update the Google Publisher Tags SmartBlock shim; r=denschub,webcompat-reviewers
- expand the API surface that is stubbed out more completely to account for sites relying on deprecated or more obscure functionality.
- have the shim perform basic content placement as some sites expect GPT to do.

Differential Revision: https://phabricator.services.mozilla.com/D118098
2021-06-17 14:35:59 +00:00
Thomas Wisniewski
e698eca1e8 Bug 1713725 - update the SmartBlock shim for Rich Relevance; r=denschub,webcompat-reviewers
- stub out more of the API to mitigate more breakage
- update the ES coding style to be more modern

Differential Revision: https://phabricator.services.mozilla.com/D118038
2021-06-16 18:38:31 +00:00
Thomas Wisniewski
27d7b75419 Bug 1713687 - Improve the ETP shim for Google Analytics and fold the Tag Manager shim into it; r=webcompat-reviewers,denschub
- add wildcards to the URLs, as some sites access the scripts with GET parameters.
- we don't actually need a standalone Tag Manager shim, so just re-use the GA one.
- this will also mitigate breakage on some sites which load only one of the two scripts.
- more thoroughly stub out the Analytics window object to mitigate more site breakage.

Differential Revision: https://phabricator.services.mozilla.com/D117678
2021-06-15 19:38:20 +00:00
Sandor Molnar
740665d977 Backed out changeset fcc24ac34f5d (bug 1699794) for causing mochitest failures in creditCard/test_clear_form. CLOSED TREE 2021-06-15 21:32:49 +03:00
owlishDeveloper
4dfb3c307e Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-15 13:59:59 +00:00
Silke Hofmann
62efdd5fca Bug 1481470 - Stop using xlink:href in SVG in browser/. r=nhnt11,desktop-theme-reviewers,harry
Differential Revision: https://phabricator.services.mozilla.com/D117204
2021-06-13 19:01:19 +00:00
Butkovits Atila
ffa6f9a04f Backed out changeset c99bb7d3308e (bug 1699794) for causing Mochitest failures in browser_anti_clickjacking.js. CLOSED TREE 2021-06-12 02:41:21 +03:00
owlishDeveloper
16bf450c2f Bug 1699794 - [2.0] Add address autocomplete tests r=geckoview-reviewers,agi
Depends on D109139

Differential Revision: https://phabricator.services.mozilla.com/D109137
2021-06-11 21:41:09 +00:00
Ed Lee
5e8f1563a8 Bug 1633883 - TelemetryTestUtils.assertScalar assumes Number (so behaves odd for boolean, strings) r=chutten
Split assertScalar to assertScalarUnset to allow the former to plain check the value including strings, false and 0.

Differential Revision: https://phabricator.services.mozilla.com/D117457
2021-06-11 21:06:26 +00:00
Kajal Sah
831a989306 Bug 1710635 - Adds capture visible view port using Save visible. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D116405
2021-06-09 17:45:27 +00:00
Thomas Wisniewski
fc8140e0e4 Bug 1714407 - fix a regression caused by bug 1714407 where SmartBlock does not always properly inform the anti-tracking UI when users opt into allowing specific content; r=pbz,ksenia,webcompat-reviewers
Three changes here:
- fix the experimental API to check for the "allow" case first, then the "replace" signal
- update the JSON config for the two opt-in shims so they know to also mark the relevant requests as allowed, not just replaced/shimmed
- remove a pointless (unused) unblocksOnOptIn line

Differential Revision: https://phabricator.services.mozilla.com/D116756
2021-06-03 19:18:25 +00:00
Sam Foster
301470738e Bug 1682634 - Add a mochitest-chrome test for the screenshot flow and result dimensions. r=emalysz
* Some helpers and a basic test for full page and visible page screenshots, using the clipboard to examine the result
* The visible page test's assertions are marked todo, as we don't actually get the expected image dimensions currently. This is possibly bug 1711101?

Differential Revision: https://phabricator.services.mozilla.com/D99854
2021-06-03 05:30:30 +00:00
Brindusan Cristian
7f3f992198 Backed out changeset 64e8532c9a0b (bug 1682634) for causing bc failures in browser_screenshots_dimensions.js. CLOSED TREE 2021-06-03 03:14:56 +03:00
Sam Foster
cfbd27e286 Bug 1682634 - Add a mochitest-chrome test for the screenshot flow and result dimensions. r=emalysz
* Some helpers and a basic test for full page and visible page screenshots, using the clipboard to examine the result
* The visible page test's assertions are marked todo, as we don't actually get the expected image dimensions currently. This is possibly bug 1711101?

Differential Revision: https://phabricator.services.mozilla.com/D99854
2021-06-02 22:52:04 +00:00
Thomas Wisniewski
8ac7025506 Bug 1714180 - fix a logic flaw in SmartBlock which makes it more permissive than necessary; r=denschub,webcompat-reviewers
The bug in question is that if a user opts into allowing one tracker on a given
site for the session, new visits to that site will allow others trackers as
well, not just the expected one.

While we're here, we also improve the web console messages to show the same
"allowing X due to opt in" message on new visits as well, not just the original
one where the user initially opted-in for that shim.

We might as well also land bug 1712959 into m-c, rather than waiting for the
next webcompat release cycle.

Differential Revision: https://phabricator.services.mozilla.com/D116642
2021-06-02 20:10:52 +00:00
Andrew Halberstadt
cbd804bdc5 Bug 1694824 - [ci] Annotate browser-chrome manifests for new fission failures, r=jmaher,extension-reviewers,preferences-reviewers,zombie
Differential Revision: https://phabricator.services.mozilla.com/D116276
2021-06-02 19:22:25 +00:00
Neil Deakin
07a8e774f4 Bug 1600059, remove some usages of waitForCondition in formautofill tests and replace with waitForMutationCondition and waiting for popup event notifications in the child process to see if this fixes the intermittent failures, r=mak
This is the same issue as bug 1701078.

Differential Revision: https://phabricator.services.mozilla.com/D112979
2021-06-02 13:45:10 +00:00
Neil Deakin
e3591ee72c Bug 1600059, browser_autocomplete_footer.js doesn't account for collapsed items, causing it to fail when run twice or in sequence with certain other tests, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D112978
2021-06-02 13:45:10 +00:00
Thomas Wisniewski
5eaeea002f Bug 1713635 - Work around a lack of support for the properties parameter of browser.tabs.onUpdated in GeckoView, so the webcompat addon starts up properly there; r=denschub,webcompat-reviewers
Also put try/catch blocks around the startup sections of the various sub-components, to limit the damage if one of them throws while failing to start

Differential Revision: https://phabricator.services.mozilla.com/D116402
2021-05-31 18:06:48 +00:00
Andre Natal
e29222b4be Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-28 18:38:59 +00:00
Butkovits Atila
e50e922f07 Backed out changeset f6aae19033a0 (bug 1710546) for causing Bug 1713225. CLOSED TREE 2021-05-28 05:56:23 +03:00
Andre Natal
58fecbefcd Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-27 17:56:02 +00:00
Thomas Wisniewski
578d7e6eef Bug 1707797 - Ship v23.0.0 of webcompat system addon; r=ksenia,webcompat-reviewers
This roll-up includes the following fixes:
- Bug 1711082 - Add an intervention for m.aliexpress.com
- Bug 1712807 - Add an override for www.dealnews.com
- Bug 1712833 - Add an intervention for buskocchi.desuca.co.jp
- Bug 1712843 - Add an intervention for snaptik.app
- Bug 1712626 - Change CSS intervention for livescience.com
- Bug 1710993 - Remove Intervention for dev.to
- Bug 1710997 - Remove Intervention for slack.com
- Bug 1711003 - Remove Intervention for store.hp.com

Differential Revision: https://phabricator.services.mozilla.com/D116123
2021-05-27 14:34:29 +00:00
Thomas Wisniewski
27035810d5 Bug 1712562 - fix a perf regression on Facebook by simplifying some code in SmartBlock; r=webcompat-reviewers,denschub
This patch improves the experimental trackingProtection add-on API used by SmartBlock:
- has callers specify both which MatchPatterns to shim, and which to merely allow.
- this simplifies the related code and makes it easier to read its intent.
- this also entirely removes the need for the _ensureOptInRequestAllowedOnTab listener,
  which was causing the performance regression.

Differential Revision: https://phabricator.services.mozilla.com/D116051
2021-05-27 06:19:32 +00:00
Iulian Moraru
bd95ef958d Backed out changeset c7e7bba07257 (bug 1710546) for causing bc failures on browser_all_files_referenced.js. CLOSED TREE 2021-05-27 01:11:00 +03:00
Andre Natal
7560d5016e Bug 1710546 - Firefox Translations integration r=mossop,mixedpuppy,mhoye
Bundle Firefox Translation as a builtin pref'd off addon in Nightly only

Differential Revision: https://phabricator.services.mozilla.com/D114810
2021-05-26 21:25:50 +00:00
Thomas Wisniewski
586726de4c Bug 1711361 - Have SmartBlock's Eluminate shim to treat the cmTagQueue as a no-op; r=robwu,webcompat-reviewers,ksenia
Sites appear to only ever call the cm* functions using cmTagQueue, so since
we are shimming them all as no-ops, it's safer to ignore the queue entirely.

Differential Revision: https://phabricator.services.mozilla.com/D115709
2021-05-21 20:11:54 +00:00