Граф коммитов

3466 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro dac810181c Bug 1694481 - Remove fennec code in webcompat r=webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D106176
2021-03-10 22:43:06 +00:00
Emma Malysz 4e362f6459 Bug 1690585, replace screenshot context menu item r=Gijs,fluent-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D106871
2021-03-10 16:12:02 +00:00
Luca Greco 14ac3915d9 Bug 1696490 - Fix errors loading report-site-issue builtin extension triggered by pageActionExtras.js due to the pageAction removal. r=mconley,denschub,webcompat-reviewers
This patch does remove the pageActionExtras experimental API, which is what started triggering
those errors after the pageAction manifest property was removed from the manifest in Bug 1690573:

- The pageActionExtras API was internally retrieving the pageAction API class
  (see https://searchfox.org/mozilla-central/rev/eeb8cf278192d68b3977d0adb4d43f1463439269/browser/extensions/report-site-issue/experimentalAPIs/pageActionExtras.js#12-16)
  which is a bit of an hack and it used to work because there was a pageAction property in the
  manifest.json file (and that was what used to guarantee that the ext-pageAction.js API module
  was always loaded before the background page of the extension did have a chance to run)

- In Bug 1690573 we removed the pageAction property from the manifest and as a side-effect the
  ext-pageAction.js module wouldn't be loaded anymore, which did break the assumption in
  the pageActionExtras API (and the extension background page script as a side effect of that)

I assume that if we removed the pageAction from the manifest, then we don't need the pageActionExtras
experimental API neither (it seems that its purpose was to localize the pageAction and to set a custom
telemetry label for it) and so to fix the regression I opted to remove the remaining traces of the
pageActionExtras experimental API.

NOTE: there are some more traces left in head.js, which are used for the test cases.
All the tests are currently disabled and it seems that they are meant to be re-enabled
as part or as a follow up of Bug 1693119 and so I think that for those parts we can
wait to get there.

Differential Revision: https://phabricator.services.mozilla.com/D107326
2021-03-08 16:32:18 +00:00
Oliver Pope cfd4a9ef2a Bug 1690076 - Move Picture-in-Picture site overrides into its own Firefox Extension r=mtigley,mhowell,webcompat-reviewers,denschub,robwu
Differential Revision: https://phabricator.services.mozilla.com/D105411
2021-03-03 14:19:34 +00:00
Mike Conley d4da30ccf4 Bug 1690573 - Migrate the report-site-issue UI access point to the Help menu. r=denschub,mixedpuppy,fluent-reviewers,webcompat-reviewers,flod
We're not 100% certain if Help is the right spot for this, but we're going
to give it a shot and see. If it turns out it _is_ the right spot, we'll
probably do something a little more self-contained, and less hacky.

I'm leaving the old .properties file just in case we change our mind here.
Yes, we'll want to port to Fluent anyways, but our ultimate choice of where
we put this thing is probably going to dictate where the string lives.

Differential Revision: https://phabricator.services.mozilla.com/D104832
2021-02-23 00:11:05 +00:00
Thomas Wisniewski 7d97ac4ac9 Bug 1693386 - let simple ETP shims ride the release trains (ones without any special user opt-in behavior); r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D105515
2021-02-17 22:36:51 +00:00
Dennis Schubert c544f2ee27 Bug 1688792 - Ship v20.0.0 of webcompat system addon. r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D105346
2021-02-16 18:10:54 +00:00
Mark Banner 263d555274 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Thomas Wisniewski 3f8e34cb34 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 c4afa9e9ad 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 70ab748bed 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 c793c1efb7 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 93acfaecce 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 80cb1fc6c1 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 87979c71a8 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 4a35b15f5d 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 5ddff60025 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 dcf86667d3 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 47dfb80606 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 2d15f7954c 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 7cc94145aa 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 9715d1f96c 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 67c6219a2e 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 92c6fb3495 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 646ffbca55 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 f7ffcd09fb 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 df66370891 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 b0e957d1af Backed out changeset 90fd0f5a6bb2 (bug 1664444) for turning Bug 1579683 into permafail. CLOSED TREE 2020-12-15 09:44:44 +02:00
Emma Malysz 357f42e294 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 9adf901280 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 7320ae982a 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 caf549c200 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 18d0cc64f5 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 b583b5d472 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 4ec6896977 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 2e689029d7 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 b4e69561d7 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 19ce44f703 Bug 1671119 - tests, r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D92606
2020-11-18 17:18:08 +00:00
Ksenia Berezina 1c92b04989 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 42028efc71 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 7a65ffe33e 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 a780de3394 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 7f028679c4 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 4e04804ac7 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 2e8a3c1dd7 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 10425eddfc 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 5f9c85da95 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 9643ae012b 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 02a7b4ebdf 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 da1098d4aa 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