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

3710 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski ff5954d372 Bug 1736380 - Disable the Kinja shim in bug 1656171 on Android; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D128755
2021-10-18 17:19:18 +00:00
Paul Zuehlcke 6d767e0e76 Bug 1656171 - Shim requestStorageAccess calls for Kinja-powered blogs. r=webcompat-reviewers,twisniewski,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D124493
2021-10-15 19:23:24 +00:00
Emilio Cobos Álvarez c4b7109fac Bug 1736038 - Remove -moz-toolbar-prefers-color-scheme. r=dao
By making prefers-color-scheme return the ColorSchemeForChrome(), which
accounts for the Firefox theme.

Differential Revision: https://phabricator.services.mozilla.com/D128611
2021-10-15 16:53:08 +00:00
William Durand b12f82a49c Bug 1735758 - Add proxy-failover system add-on. r=rpl
This patch contains the following changes:

- Moved the files from https://github.com/mozilla-extensions/proxy-monitor (`extension/*`) to `browser/extensions/proxy-failover`.
- In `api.js`:
  - Added license at the top of the file
  - Added a `globals` comment to tell ESLint about `ExtensionAPI`
  - Added a comment to disable an ESLint rule on L289 (consistent-return)
  - Added a comment to disable an ESLint rule on L422 (no-unused-vars)
  - Reformatted some comment blocks to break ato break at ~80 chars
- Added `moz.build` to build the `proxy-failover` extension
- Added `proxy-failover` to the list of built-in system add-ons
- Added a smoke test to make sure the add-on is loaded

Differential Revision: https://phabricator.services.mozilla.com/D128466
2021-10-14 18:13:28 +00:00
Tim Giles 6fe1099c7b Bug 1688607 - Enable autofill and capturing when there are multiple credit card number fields. r=sgalich
Enable the feature only in Nightly.

Add functionality for previewing and autofilling into multiple cc-number fields.

Fix test_Lush.js case.

Add logic to handle credit card saving/update when multiple cc-number fields are present.

Add heuristic test for Lufthansa site.

Add test for filling cc-number when there are multiple cc-number fields in a form.

Add test for collecting multiple cc-number fields via collectFormFields.

Add multiple cc-number fields case to onFormSubmitted test.

Add multiple cc-number fields with maxlength=4 case to markAsAutofillField.

Add implementation of the preview and fill test cases for multiple cc-number fields.

Differential Revision: https://phabricator.services.mozilla.com/D127987
2021-10-14 14:03:38 +00:00
Niklas Baumgardner 4dfb677424 Bug 1733428 - Toggle screenshots UI if screenshots toolbar button is pressed. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D127893
2021-10-13 15:25:05 +00:00
Niklas Baumgardner 9dd0c68d5c Bug 1714234 - Enable the dimension checks for visible-page screenshots in browser_screenshots_dimensions.js. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D127573
2021-10-07 16:58:02 +00:00
Tim Giles e887c746eb Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=sfoster,desktop-theme-reviewers,harry,mstange
Fixes the visibility issues of Form Autofill footer when using different system themes on Windows, Mac, and Linux.

Differential Revision: https://phabricator.services.mozilla.com/D125107
2021-09-29 20:17:08 +00:00
Thomas Wisniewski 4933912b02 Bug 1733069 - Use var instead of const to declare UAHelpers and prevent breakage in the webcompat addon (also fix a minor typo). r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126973
2021-09-29 17:36:42 +00:00
Emma Malysz 08da538533 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-28 20:01:35 +00:00
Sandor Molnar 40c775840b Backed out changeset 92aee7fde9a1 (bug 1696132) for causing bc failures in browser_parsable_css. 2021-09-28 23:25:29 +03:00
Dimi 58428be34b Bug 1454211 - Re-enable test_basic_autocomplete_form.html test on Windowns and Mac r=tgiles
Differential Revision: https://phabricator.services.mozilla.com/D126759
2021-09-28 18:46:02 +00:00
Thomas Wisniewski 6012a105da Bug 1720140 - Ship v27.0.0 of the WebCompat System Addon; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126816
2021-09-28 17:47:04 +00:00
Tim Giles 229ab96b68 Bug 1696132 - Fix visibility of 'Form Autofill Options' footer on all platforms. r=sfoster,desktop-theme-reviewers,harry,mstange
Fixes the visibility issues of Form Autofill footer when using different system themes on Windows, Mac, and Linux.

Differential Revision: https://phabricator.services.mozilla.com/D125107
2021-09-28 17:16:45 +00:00
criss c036c2f5c2 Backed out changeset ec019c0205a9 (bug 1725430) for causing failures on dbg-toggling-tools.js 2021-09-28 00:42:30 +03:00
Thomas Wisniewski a8494d482c Bug 1668408 - Work around site breakage on StackBlitz related to dFPI, by using SmartBlock shims to disable service workers; r=pbz,ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126556
2021-09-27 19:27:44 +00:00
Emma Malysz 53a01f5fb9 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-27 17:30:35 +00:00
Thomas Wisniewski 588de135e7 Bug 1731825 - Hide the Office365 Outlook registerProtocolHandler notification after it shows once, as a work-around until bug 668577 is fixed; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126374
2021-09-23 15:01:27 +00:00
Dan Minor 2228681a5b Bug 1642415 - Update existing tests to pass metasource into createMock; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125240
2021-09-22 18:16:07 +00:00
Narcis Beleuzu 033a7edbff Backed out changeset ceaaed353b66 (bug 1725430) for assertion failure on ErrorResult.h . CLOSED TREE 2021-09-22 01:09:22 +03:00
Emma Malysz 6fede10fc1 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-21 20:37:48 +00:00
Thomas Wisniewski 01d291cc55 Bug 1727040 - apply the Google Publisher Tags SmartBlock shim to more URLs; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D126127
2021-09-21 01:20:25 +00:00
Thomas Wisniewski 36b3cf3bf5 Bug 1728594 - fix a SmartBlock regression which causes some site links to not be clickable; r=johannh,ksenia,webcompat-reviewers
- gpt.js expends dataLayer.push to return true, or it will cancel clicks on the relevant tracked links.

Differential Revision: https://phabricator.services.mozilla.com/D126009
2021-09-17 21:21:40 +00:00
Neil Deakin a62618baa7 Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-17 09:04:59 +00:00
Narcis Beleuzu 72152613c6 Backed out 3 changesets (bug 1690390) for mochitest failures on test_notificationbox.xhtml . CLOSED TREE
Backed out changeset e6404b7424cd (bug 1690390)
Backed out changeset a161177099af (bug 1690390)
Backed out changeset cc7e02d3d418 (bug 1690390)
2021-09-16 23:41:21 +03:00
Neil Deakin 82501df9f7 Bug 1690390, change appendNotification to take a smaller number of arguments: the string type value, a dictionary containing the notification details, and the button list, r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D107755
2021-09-16 19:11:17 +00:00
Geoff Brown 019c21f335 Bug 1730213 - Explicitly skip tests under browser/ on android; r=ahal
These tests are excluded from android test runs in moz.build. Including
an explicit annotation in each manifest avoids scheduling confusion.
browser-chrome and plain-chrome tests in browser/ are of no concern,
since those test types are never scheduled on android.

Differential Revision: https://phabricator.services.mozilla.com/D125266
2021-09-13 15:22:27 +00:00
Emilio Cobos Álvarez d41c93a17a Bug 1687682 - Make autofill use a semi-transparent background-image rather than filter. r=mstange,tgiles
With the non-native theme we don't need filter for this to affect
"native" inputs, we can just implement the logic in nsNativeBasicTheme
instead.

A bit unfortunate that we need that special-case, but it seems better
than using filter, which can break websites due to it creating an
stacking context.

I _think_ there are tests that I need to adjust for this change, but if
not I'll write some.

Keep the current behavior behind a pref just in case.

Differential Revision: https://phabricator.services.mozilla.com/D125232
2021-09-12 11:16:07 +00:00
Tim Giles cabe439f32 Bug 1688609 - Add 'titulaire' to cc-name heuristic regex. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D124948
2021-09-09 17:12:23 +00:00
Ben Hearsum 1ce8af6321 Bug 1714200: annotate remaining M1 test failures. r=jmaher,application-update-reviewers,bytesized DONTBUILD
Depends on D124907

Differential Revision: https://phabricator.services.mozilla.com/D124908
2021-09-08 18:14:01 +00:00
Ben Hearsum 4ca3a60f1d Bug 1714200: annotate tests that fail in regular suites but pass when run in isolation. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D124907
2021-09-08 18:14:00 +00:00
Tim Giles a914d7247b Bug 1687684 - Fix credit card autofill not working due to site prefilling fields. r=dimi,sfoster
Enables autofilling into fields that may have been filled by the site.
Enables autofill preview to work as expected if a field already has a value.
Ensures autofill does not restore the default value if the user manually clears out the field's value.

This fixes the case on next.co.uk where the value of the cardholder name is being used as a placeholder.

Differential Revision: https://phabricator.services.mozilla.com/D123260
2021-09-02 15:29:48 +00:00
Emilio Cobos Álvarez 8b10d3a89d Bug 1693222 - Implement SelectedItem and SelectedItemText system colors. r=mstange
Since Highlight / HighlightText are now equivalent to the text selection
ones, remove those too.

Differential Revision: https://phabricator.services.mozilla.com/D123964
2021-09-02 11:38:01 +00:00
Narcis Beleuzu 92fc260af2 Backed out changeset 28a0487d0291 (bug 1693222) for reftest failure on themed-widget.html. CLOSED TREE 2021-09-02 02:26:12 +03:00
Emilio Cobos Álvarez c3eb845bbf Bug 1693222 - Implement SelectedItem and SelectedItemText system colors. r=mstange
Since Highlight / HighlightText are now equivalent to the text selection
ones, remove those too.

Differential Revision: https://phabricator.services.mozilla.com/D123964
2021-09-01 18:21:57 +00:00
Ksenia Berezina 114db2fddc Bug 1720139 - Ship v26.0.0 of the WebCompat System Addon r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D123983
2021-08-31 16:52:33 +00:00
Tim Giles c9d617afa2 Bug 1688209 - Prevent simple hidden fields from being eligible for autofill. r=dimi
Prevent simple hidden fields from being eligible for autofill.
'Simple' in this case means fields that have the hidden attribute or 'display:none' inline property.

Differential Revision: https://phabricator.services.mozilla.com/D120669
2021-08-30 15:17:39 +00:00
Paul Zuehlcke 518d5ded96 Bug 1683165 - Add a pref to control anti-tracking webcompat features. r=timhuang,twisniewski,webcompat-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D123614
2021-08-26 15:13:10 +00:00
Matt Woodrow b8eef01e83 Bug 1708403 - Make resetting of scroll position for drawSnapshot opt-in. r=mstange,kmag
Differential Revision: https://phabricator.services.mozilla.com/D117613
2021-08-25 20:49:18 +00:00
Thomas Wisniewski 02c17994ff Bug 1624914 - Work around Google Trends sub-frame ETP breakage; r=johannh,denschub,webcompat-reviewers
Google Trends subframes are currently broken by dFPI protections, as they
expect the Google NID cookie to be present as per their set-cookie
response header, but it is being blocked.

This patch adds a new custom SmartBlock-style shim which:
- listens for requests made for Google Trends subframes.
- remembers their set-cookie response header.
- redirects the request right back to the same URL.
- subsequently passes along the saved cookie, preventing the breakage.

Differential Revision: https://phabricator.services.mozilla.com/D123372
2021-08-25 15:37:09 +00:00
criss bccf559d4b Backed out changeset 8868fe82dafd (bug 1708403) for causing failures on test_drawSnapshot_fixed.html. CLOSED TREE 2021-08-25 04:08:24 +03:00
Matt Woodrow bb02f9029f Bug 1708403 - Make resetting of scroll position for drawSnapshot opt-in. r=mstange,kmag
Differential Revision: https://phabricator.services.mozilla.com/D117613
2021-08-25 00:21:01 +00:00
Michelle Goossens d192833f8d Bug 1723574 - Migrate Windows 10 mochitest-browser-chrome suite from AWS to Azure r=jmaher,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122511
2021-08-20 20:55:02 +00:00
Kajal Sah 3026a19d36 Bug 1722774 - Adds telemetry to know which of the region selection methods are used. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D122273
2021-08-18 23:00:44 +00:00
Geoff Brown 8a563cea2a Bug 1724296 - Remove many skip-if(verify) test annotations (mochitest); r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122972
2021-08-18 21:33:32 +00:00
Thomas Wisniewski 15c9edb956 Bug 1713694 - update the SmartBlock shim for AddThis to load an empty Angular module instead as needed; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122987
2021-08-18 20:36:20 +00:00
Thomas Wisniewski de7bfe225c Bug 1713694 - Add a SmartBlock shim for AddThis; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122859
2021-08-17 18:03:16 +00:00
Tim Giles 9285e090f8 Bug 1687681: Add France specific CC expiry date transformation. r=dimi,sfoster
Our previous regex did not parse "AAAA" or "AA" so I've added this to the transformation regex.
For the year first regex, I added a separate regex because trying to bolt on the missing "AA" caused the resulting parsed result to drop characters for other locales ("yyyy" became "yyy" and the same with "aaaa").

Remove backslash as a supported month/year divider when checking expiry date placeholders.

Differential Revision: https://phabricator.services.mozilla.com/D120550
2021-08-17 15:58:48 +00:00
Cosmin Sabou 383665d07c Backed out changeset 43af938350db (bug 1713694) for eslint failure on data/shims.js. CLOSED TREE 2021-08-17 19:09:44 +03:00
Thomas Wisniewski 7cdd040859 Bug 1713694 - Add a SmartBlock shim for AddThis; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D122859
2021-08-17 15:42:45 +00:00