Commit Graph

3427 Commits

Author SHA1 Message Date
Thomas Wisniewski
92fe91691a Bug 1687944 - log a message to the web console when users opt in to allowing trackers via shims; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D103085
2021-01-26 19:49:27 +00:00
Mark Banner
8a9fc4165b Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian
201069fdac Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner
36cf48f89d Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
Markus Stange
06bedadb8b Bug 1516552 - In the Google Analytics shim, call window.dataLayer.hide.end() even if window.ga is already defined. r=twisniewski,webcompat-reviewers
This also removes the queue loop at the end, because as far as I can tell that code was never run.
The loop was only entered if gaQueue was falsy (check in the first line), and if gaQueue was a
function (check just before the loop), which is unlikely to be true at the same time.

The uBlock Origin loop does have that loop, but it doesn't call the original function; the loop
calls the shim function, because uBlock Origin replaces window.ga with its shim function even
if window.ga is already defined.

Differential Revision: https://phabricator.services.mozilla.com/D101496
2021-01-22 20:39:13 +00:00
Thomas Wisniewski
061f5c950f Bug 1686065 - Import v19.0.0 webcompat addon sources r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102455
2021-01-20 19:15:36 +00:00
Itiel
8f8918f6a6 Bug 1684530 - Minor improvements to the Saved Addresses and Saved Credit Cards dialogs r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D100833
2021-01-06 19:48:06 +00:00
Emma Malysz
4ffb06d477 Bug 1683194: ignore scroll coordinates when taking screenshots r=sfoster
We will create the image using the selected position, and the canvas
will use the image coordinates, which have not been adjusted
for scrolling

Differential Revision: https://phabricator.services.mozilla.com/D100291
2021-01-05 01:48:43 +00:00
Razvan Maries
5b4503d865 Backed out 2 changesets (bug 1681985) for perma failures on test_basic.js and test_getInfo.js. CLOSED TREE
Backed out changeset 1ba9b39ff543 (bug 1681985)
Backed out changeset b515a3ab8bac (bug 1681985)
2020-12-23 20:04:55 +02:00
Erik Rose
22047233d5 Bug 1681985 - Add and call Fathom ruleset. r=zbraniecki
Remove calls to old heuristics, which are duplicated, improved, expanded, and balanced in the Fathom model. We'll come along in the next release and delete the dead code. We're leaving it in for now to keep it from bitrotting, in case we have to revert to it.

Differential Revision: https://phabricator.services.mozilla.com/D100141
2020-12-23 12:45:30 +00:00
Erik Rose
cc88cc1122 Bug 1681985 - Extract LabelUtils to FormAutofillUtils.jsm. r=zbraniecki
We need it from both FormAutofillHeuristics and CreditCardRuleset, and it would make a circular import otherwise: FormAutofillHeuristics -> CreditCardRuleset -> FormAutofillHeuristics.

Differential Revision: https://phabricator.services.mozilla.com/D100140
2020-12-21 21:08:25 +00:00
Jim Mathies
036e7625ca Bug 1683141 - Remove cc autofill hard coded en-US locale restriction. r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D100048
2020-12-18 19:56:57 +00:00
Mike Conley
280e456efd Bug 1681663 - Use a 0.7 visibility threshold for the PiP icon on YouTube to account for the Skip Ads button. r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D100038
2020-12-18 18:21:51 +00:00
Emilio Cobos Álvarez
0a3527106a Bug 1475316 - Rename -moz-autofill to just autofill. r=geckoview-reviewers,esawin,boris
No compat impact, as this remains an internal pseudo-class for the time
being.

Differential Revision: https://phabricator.services.mozilla.com/D99295
2020-12-16 08:16:08 +00:00
Dorel Luca
63d9620399 Backed out changeset a9b7489b5a3a (bug 1475316) for Browser-chrome failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE 2020-12-16 03:42:27 +02:00
Emilio Cobos Álvarez
a3741f8aa1 Bug 1475316 - Rename -moz-autofill to just autofill. r=geckoview-reviewers,esawin,boris
No compat impact, as this remains an internal pseudo-class for the time
being.

Differential Revision: https://phabricator.services.mozilla.com/D99295
2020-12-15 19:39:59 +00:00
Dennis Schubert
e522d55689 Bug 1682238 - Follow-up: Replace all macOS 11.x User Agent strings, not just 11.0. r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99815
2020-12-15 17:53:26 +00:00
Kartik Gautam
cb9c278e67 Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Emma Malysz
03a53fcacc Bug 1664444, make screenshots fission compatible and remove unused code r=sfoster
This patch removes the code that saves screenshots, as that is no longer supported.
We remove the drawing canvas work in shooter.js to make this fission compatible.
This work is repeated in the background, so we should instead rely on that to handle
downloading and copying a screenshot, as well as previewing full page and the visible
parts of the page.

Differential Revision: https://phabricator.services.mozilla.com/D98285
2020-12-14 21:47:58 +00:00
Butkovits Atila
0c576e1212 Backed out changeset 90fd0f5a6bb2 (bug 1664444) for turning Bug 1579683 into permafail. CLOSED TREE 2020-12-15 09:44:44 +02:00
Emma Malysz
ed9fc986bf Bug 1664444, make screenshots fission compatible and remove unused code r=sfoster
This patch removes the code that saves screenshots, as that is no longer supported.
We remove the drawing canvas work in shooter.js to make this fission compatible.
This work is repeated in the background, so we should instead rely on that to handle
downloading and copying a screenshot, as well as previewing full page and the visible
parts of the page.

Differential Revision: https://phabricator.services.mozilla.com/D98285
2020-12-14 21:47:58 +00:00
Dennis Schubert
3004785c3d Bug 1682238 - Override navigator.userAgent for gamearter.com on macOS 11.0. r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99685
2020-12-14 16:18:24 +00:00
Dorel Luca
7f1605c133 Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam
2908b96137 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Toshihito Kikuchi
c07782c60a Bug 1669036 - Part9: Move some SVGs from browser to toolkit to use them from about:support. r=dao
This patch moves the following SVGs from browser to toolkit so that a subsequent
patch can load panel-icon-folder.svg and connection-mixed-active-loaded.svg from
toolkit.  The other two SVGs are moved to minimize a change in CSS and JS.

- panel-icon-folder.svg
- panel-icon-magnifier.svg
- connection-mixed-active-loaded.svg
- connection-mixed-passive-loaded.svg

Differential Revision: https://phabricator.services.mozilla.com/D98699
2020-12-10 21:52:50 +00:00
Narcis Beleuzu
5aa2af7ee9 Backed out 10 changesets (bug 1669036) for bustages on TestCombinedStacks.cpp . CLOSED TREE
Backed out changeset 3d158bac444d (bug 1669036)
Backed out changeset d5b6e9d6b7aa (bug 1669036)
Backed out changeset ad3942a4c1f2 (bug 1669036)
Backed out changeset 2d3dd096f49f (bug 1669036)
Backed out changeset cd782ea33949 (bug 1669036)
Backed out changeset a025cdac711c (bug 1669036)
Backed out changeset 91549922741f (bug 1669036)
Backed out changeset cf29ad24eea5 (bug 1669036)
Backed out changeset 9d35204f6569 (bug 1669036)
Backed out changeset 2e779792d865 (bug 1669036)
2020-12-10 23:46:48 +02:00
Toshihito Kikuchi
167cdd2d14 Bug 1669036 - Part9: Move some SVGs from browser to toolkit to use them from about:support. r=dao
This patch moves the following SVGs from browser to toolkit so that a subsequent
patch can load panel-icon-folder.svg and connection-mixed-active-loaded.svg from
toolkit.  The other two SVGs are moved to minimize a change in CSS and JS.

- panel-icon-folder.svg
- panel-icon-magnifier.svg
- connection-mixed-active-loaded.svg
- connection-mixed-passive-loaded.svg

Differential Revision: https://phabricator.services.mozilla.com/D98699
2020-12-10 20:19:37 +00:00
Mike Conley
f02ed4fac6 Bug 1666739 - Add site-specific PiP toggle visibility threshold to the WebCompat add-on. r=mstriemer,webcompat-reviewers,denschub,twisniewski
This also adds the first threshold of 0.9 for YouTube, which allows us to avoid
hittest false positives on the PiP toggle when the user has one of the YouTube
player menus open.

Differential Revision: https://phabricator.services.mozilla.com/D93124
2020-12-04 19:43:54 +00:00
Ksenia Berezina
16557faf82 Bug 1677442 - Import v18.1.0 webcompat addon sources. r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D98639
2020-12-03 17:43:09 +00:00
Gijs Kruitbosch
e7ead870aa Bug 1671119 - tests, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92606
2020-11-18 17:18:08 +00:00
Ksenia Berezina
7d3e42fd56 Bug 1663980 - Import v18.0.0 webcompat addon sources. r=webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D98374
2020-12-01 21:52:45 +00:00
Nika Layzell
ed9e85fc9a Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-12 18:01:03 +00:00
Zibi Braniecki
cbc1c4de47 Bug 1660270 - Revert Part 2: Record address and password usage. r=MattN
Depends on D87769

Differential Revision: https://phabricator.services.mozilla.com/D87770
2020-11-10 04:32:50 +00:00
Zibi Braniecki
ca50aba8b3 Bug 1660270 - Revert Part 1: Track doorhanger interaction. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87769
2020-11-10 02:42:50 +00:00
Narcis Beleuzu
3f20a76fb8 Backed out 2 changesets (bug 1660270) for lint failure on test_basic_creditcard_autocomplete_form.html CLOSED TREE
Backed out changeset db7b1c4a37b1 (bug 1660270)
Backed out changeset 593d42151377 (bug 1660270)
2020-11-10 04:39:08 +02:00
Zibi Braniecki
ba472a68e1 Bug 1660270 - Revert Part 2: Record address and password usage. r=MattN
Depends on D87769

Differential Revision: https://phabricator.services.mozilla.com/D87770
2020-11-10 02:14:05 +00:00
Zibi Braniecki
b132d7e087 Bug 1660270 - Revert Part 1: Track doorhanger interaction. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D87769
2020-11-10 02:13:57 +00:00
Razvan Maries
beb7584870 Backed out 7 changesets (bug 1658084, bug 1671983) for perma failures on browser_async_remove_tab.js and browser_e10s_chrome_process.js. CLOSED TREE
Backed out changeset 2e6309c1cdbd (bug 1658084)
Backed out changeset 99aafd9304ef (bug 1671983)
Backed out changeset 80280b85280a (bug 1671983)
Backed out changeset 008db2659002 (bug 1671983)
Backed out changeset 32bd45c7fe3a (bug 1671983)
Backed out changeset 56e227e6580c (bug 1671983)
Backed out changeset a404f809f79d (bug 1671983)
2020-11-04 04:23:47 +02:00
Nika Layzell
f6849f1603 Bug 1671983 - Part 4: Stop awaiting BrowserTestUtils.loadURI, r=annyG,remote-protocol-reviewers,extension-reviewers,preferences-reviewers,whimboo,zombie
This method only is async in order to allow callers to wait for a process switch
triggered by the call to `loadURI` to be finished before resolving. With
DocumentChannel, we should never trigger a process switch eagerly like this
again, so we don't need any of the async behaviour here anymore.

This part is largely mechanical changes to tests, removing the `await` calls on
`loadURI`, and a follow-up part will remove the actual async logic from
`BrowserTestUtils.loadURI`.

Differential Revision: https://phabricator.services.mozilla.com/D94641
2020-11-04 00:55:36 +00:00
Karl Dubost
654fa5451d Bug 1663978 - Import v17.0.0 webcompat addon sources. r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D95691
2020-11-03 13:02:23 +00:00
Ricky Stewart
31b8ca9716 Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
612312a64c Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
065d2eb893 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Masayuki Nakano
161f5d6fe9 Bug 1607131 - Make beforeinput event for MozEditableElement.setUserInput() not cancelable by default r=smaug
Blink and WebKit do not fire `beforeinput` event when user uses build-in
password manager and autocomplete.  But the `inputType` value for this case,
`"insertReplacementText"` is defined as cancelable in the spec, and it's
actually cancelable when it's fired for correcting a word with built-in
spellchecker of them.

For making only our users' autocomplete and password manager not blocked by
web apps, we should make them not cancelable by default, but I think that we
should keep dispatching such non-cancelable `beforeinput` for conforming to
the standard unless we'd get a web-compat report for this.

Differential Revision: https://phabricator.services.mozilla.com/D93206
2020-10-20 00:13:43 +00:00
Kaizer Soze
65c1d27014 Bug 1665820, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92589
2020-10-14 08:48:31 +00:00
Dennis Schubert
5714ec7142 Bug 1663967 - Ship v16.0.0 of webcompat system addon. r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D92795
2020-10-09 13:23:45 +00:00
Sylvestre Ledru
40667cf727 Bug 1588458 - Replace dxr links by searchfox in the code/test r=kats,sparky
Differential Revision: https://phabricator.services.mozilla.com/D92792
2020-10-08 14:02:40 +00:00
Noemi Erli
21c7c651c8 Backed out changeset d4b7aea9a014 (bug 1663967) for causing failures in browser_permmgr_sync.js CLOSED TREE 2020-10-08 06:25:39 +03:00