Commit Graph

4442 Commits

Author SHA1 Message Date
Thomas Wisniewski
5ace89e16e Bug 1881803 - convert Report Site Issue extension to event pages; r=robwu,webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D202602
2024-03-04 15:15:01 +00:00
Dave Townsend
593067ba03 Bug 1864896: Remove jsdoc params for removed arguments (pip). r=pip-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D202978
2024-03-02 15:26:03 +00:00
Dave Townsend
e9b3189f4b Bug 1864896: Autofix unused function arguments (pip). r=pip-reviewers,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D202977
2024-03-02 15:26:02 +00:00
Sandor Molnar
7ec5066cee Backed out changeset 5b88e57227bc (bug 1789727) for causing bc failures @ browser_feature_callout_in_chrome.js & browser_asrouter_toolbarbadge CLOSED TREE 2024-03-01 20:33:14 +02:00
Sam Foster
27c17caceb Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-03-01 15:02:51 +00:00
Dimi
3f9f51581c Bug 1755033 - P2. Use the same text color for autofill and -moz-autofill-preview r=credential-management-reviewers,emilio,sgalich
UX suggests to use the same text color for autofill and autofill
preview.

Differential Revision: https://phabricator.services.mozilla.com/D203098
2024-03-01 14:01:19 +00:00
Johannes J. Schmidt
45252fe27c Bug 1845305 - add tests for sandboxed iframe autocompletion r=dimi
Note the test fails, and the fix will be provided via the next patch in this stack.

Differential Revision: https://phabricator.services.mozilla.com/D203240
2024-03-01 10:42:01 +00:00
Cristian Tuns
7a00471ac3 Backed out changeset 4099afcff2be (bug 1881925) for causing gecko decision task failures in browser.toml CLOSED TREE 2024-02-29 16:49:46 -05:00
Joel Maher
e325923409 Bug 1881925 - standardize on more manifest conditions. r=aryx,credential-management-reviewers,devtools-reviewers,dom-storage-reviewers,omc-reviewers,nchevobbe,janv,issammani
Differential Revision: https://phabricator.services.mozilla.com/D202663
2024-02-29 21:25:17 +00:00
Noemi Erli
6b84db45b8 Backed out changeset 9b4da905ce36 (bug 1789727) for causing failures in browser_asrouter_toolbarbadge.js CLOSED TREE 2024-02-29 22:43:51 +02:00
Sam Foster
998fa1d9fe Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-29 18:27:46 +00:00
Issam Mani
c237089aa4 Bug 1882587 - Check supportedRegions as well as experiment flags for address autofill. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D203034
2024-02-29 09:16:16 +00:00
Norisz Fay
a215f11d6c Backed out changeset 0b5a1215fcc4 (bug 1882587) for causing bc failures on browser_address_autofill_nimbus.js CLOSED TREE 2024-02-29 11:03:22 +02:00
Issam Mani
bb9dadf3ea Bug 1882587 - Check supportedRegions as well as experiment flags for address autofill. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D203034
2024-02-29 08:00:01 +00:00
Sandor Molnar
0941fe84f2 Backed out changeset c8f7d19d58bb (bug 1789727) for causing telemetry/marionette/tests/client/test_subsession_management.py CLOSED TREE 2024-02-28 18:42:48 +02:00
Sam Foster
0b69b3a243 Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-28 15:40:08 +00:00
Dimi
93718475e1 Bug 1880450 - Do not use visiblity to filter out elements for autofilling, but use visibility check when classify sections r=credential-management-reviewers,jneuberger,issammani
We introduced visibility/focusability check to filter out invisible or unfocusable elements
to address the following issues:

1. Bug 1688209: The website's credit card form contains hidden credit card fields beneath the visible ones.

Example:
  <input id="cc-number" autocomplete="cc-number">
  <input id="hidden-cc-number" autocomplete="cc-number" hidden>.
  <input id="cc-name" autocomplete="cc-name">

The issue occurs because when our heuristic encounters consecutive fields that should not appear multiple times in a row,
we divide them and treat them as separate sections. In this example, the
visible cc-number and visible cc-name are put in different sections so we don't autofill both of the fields at the same time.

2. Bug 1822494: There is one hidden cc-exp-month field and one visible cc-exp field.

Example:
  <input id="cc-exp" autocomplete="cc-exp">
  <input id="hidden-cc-exp" autocomplete="cc-exp" hidden>.

When two cc-exp-* fields appear consecutively, our heuristic adjusts the first one to cc-exp-month and the second one to cc-exp-year.
However, in this bug, we should just honor the autocomplete attribute and do not change the field name

Bug 1753669: An invisible country field is located between tel-* fields.

Example:
  <input id="country" autocomplete="country">
  <input id="tel-area-code" autocomplete="tel-area-code">
  <input id="hidden-country" autocomplete="country" hidden>
  <input id="tel-local" autocomplete="tel-local">

When the heuristic sees the hidden country field, since it has already identified another country field previously,
our heuristic creates a new section upon encountering the invisible country field. This results that
we don't put tel-local field in the same section as the rest of the address fields.

---

However, introducing visibility and focusability checks also brings issues.

Some websites implement their own dropdowns for certain fields, like province, and include an invisible or unfocusable
field to store the value, as seen in Bug 1873202 and Bug 1836036.

We also see, in some cases, websites prefill certain address fields for users, and those fields are unfocusable.
For example, websites can use known-address data to determine the "state/province" field so users don't have to fill it.
But in these cases, we still want to identify this type of field so we can capture the data after users submit the form.

So, given the information collected so far, I think we should not filter out unfocusable or invisible elements before
running heuristics. Instead, we should adjust our heuristic to consider invisible elements in some cases. For example,
we should not create a new section upon encountering an invisible field, recognizing that it's common for websites to
place an invisible field near a visible field of the same type for various reasons.

Differential Revision: https://phabricator.services.mozilla.com/D202297
2024-02-26 11:43:58 +00:00
Issam Mani
34d786dd52 Bug 1881427 - Send address telemetry to iOS. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D202386
2024-02-23 10:48:21 +00:00
Mark Banner
b5df22ad0f Bug 1880535 - Enable ESLint rule no-unused-private-class-members. r=Gijs,webdriver-reviewers,webcompat-reviewers,extension-reviewers,application-update-reviewers,devtools-reviewers,translations-reviewers,bytesized,twisniewski,jhirsch,robwu,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D202002
2024-02-20 22:09:21 +00:00
Johannes J. Schmidt
d8b8a2b7a9 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-02-20 14:21:18 +00:00
Noemi Erli
845ab3292b Backed out changeset cd949da4b9b6 (bug 1864340) foe causing failures in browser_creditCard_telemetry.js CLOSED TREE 2024-02-19 23:23:21 +02:00
Johannes J. Schmidt
11df9c4a78 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-02-19 16:49:17 +00:00
Norisz Fay
eaa4787926 Backed out changeset 9e33a77369d3 (bug 1864340) for causing bc failures on browser_creditCard_telemetry.js CLOSED TREE 2024-02-19 16:23:37 +02:00
Johannes J. Schmidt
2b80fb5845 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi,fluent-reviewers,bolsson
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-02-19 10:12:28 +00:00
Greg Stoll
b2839267e7 Bug 1871135 - Add content analysis support to clipboard operations r=edgar,nika,masayuki,devtools-reviewers
When content analysis is on, pastes will be checked by the CA
agent while tab input is blocked. The synchronous nsIClipboard.getData()
method must block until the analysis result is received, so this
requires doing a SpinEventLoopUntil.

Differential Revision: https://phabricator.services.mozilla.com/D196997
2024-02-13 11:26:48 +00:00
Mark Banner
6493c0a4a5 Bug 1879811 - Avoid re-enabling ESLint rules when they are already enabled by ESLint's recommended configuration, or mozilla-central's one. r=Gijs,webcompat-reviewers,extension-reviewers,devtools-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D201361
2024-02-12 18:46:28 +00:00
jneuberger
a59fece8a5 Bug 1879160 - Unregister progress listener on every form submission r=credential-management-reviewers,joschmidt
Differential Revision: https://phabricator.services.mozilla.com/D201056
2024-02-09 15:51:33 +00:00
Issam Mani
178c00bf64 Bug 1865705 - Use nimbus flag to control address autofill. r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D194149
2024-02-08 21:14:20 +00:00
jneuberger
6efeb5460d Bug 1876343 - Handle active and navigated window contexts on page navigation r=credential-management-reviewers,joschmidt
Differential Revision: https://phabricator.services.mozilla.com/D199775
2024-02-08 15:56:41 +00:00
Itiel
a936dbc56c Bug 1874952 - Correctly align confirmation hint panels to their anchor r=aminomancer,Gijs,joschmidt,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198736
2024-02-05 11:28:38 +00:00
jneuberger
58941538f9 Bug 1855498 - Remove isFieldVisible logic in formautofill r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D199783
2024-01-30 09:07:13 +00:00
Tom Marble
a42a175006 Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup
Differential Revision: https://phabricator.services.mozilla.com/D199054
2024-01-29 17:30:48 +00:00
Sandor Molnar
74025c1a97 Backed out changeset 0b0ed98091e7 (bug 1864340) for causing gv-junit-fis failures CLOSED TREE 2024-01-29 17:42:04 +02:00
Johannes J. Schmidt
34e60cef03 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-01-29 14:18:44 +00:00
Sandor Molnar
778333649c Backed out changeset 2be67d91cf16 (bug 1868866) for causing Mn failures at toolkit/xre/test/marionette/test_exitcode.py CLOSED TREE 2024-01-27 00:15:22 +02:00
Tom Marble
920ed4a927 Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup
Differential Revision: https://phabricator.services.mozilla.com/D199054
2024-01-26 20:06:56 +00:00
Sandor Molnar
e9cb0a377b Backed out changeset 70b6fd2bf687 (bug 1864340) for causing mochitest failures at browser/extensions/formautofill/test/mochitest/test_autofill_and_ordinal_forms.html CLOSED TREE 2024-01-26 21:59:18 +02:00
Johannes J. Schmidt
25ed513e83 Bug 1864340 - display correct wording in ac footer - r=sgalich,dimi
Differential Revision: https://phabricator.services.mozilla.com/D198828
2024-01-26 18:55:50 +00:00
Leander Schwarz
ed706a2237 Bug 1790750 - On https://relearnings.com/linkedinlearning.html linkedin iframe load change window.location to iframe. r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D199221
2024-01-25 15:05:01 +00:00
Dimi
b3391b9f97 Bug 1875253 - Enable Address Capture for US and CA regions in Nightly r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D198941
2024-01-25 09:21:36 +00:00
Joel Maher
3662d84cd4 Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-25 00:27:05 +00:00
Stanca Serban
71d0d5cf96 Backed out changeset 54462970f797 (bug 1873732) for causing web platform tests failures. 2024-01-24 21:08:19 +02:00
Gijs Kruitbosch
532c3bc439 Bug 1780071 - autofix browser/ violations of no-comparison-or-assignment-inside-ok, r=Standard8,webcompat-reviewers,extension-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,sessionstore-reviewers,places-reviewers,sgalich,dao,twisniewski,mconley,sclements
Differential Revision: https://phabricator.services.mozilla.com/D198974
2024-01-24 17:03:13 +00:00
Joel Maher
04ec786571 Bug 1873732 - remove outdated manifest conditions and use consistent conditions. r=aryx,necko-reviewers,jgilbert,settings-reviewers,credential-management-reviewers,devtools-reviewers,sessionstore-reviewers,dom-storage-reviewers,sgalich,kershaw,nchevobbe,janv,dao
Differential Revision: https://phabricator.services.mozilla.com/D198082
2024-01-24 16:35:54 +00:00
Iulian Moraru
e30f7afeee Backed out changeset 21b754dc819c (bug 1820287) for causing bc failures on browser_creditCard_telemetry.js. CLOSED TREE 2024-01-23 22:37:24 +02:00
Micah Tigley
e1473b6d11 Bug 1820287 - Use moz-button-group in the add/edit credit card dialog in about:preferences. r=hjones,credential-management-reviewers,desktop-theme-reviewers,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D174069
2024-01-23 18:13:22 +00:00
Issam Mani
5529263215 Bug 1876021 - Use standard Intl.DisplayNames to get countries list. r=dimi
Depends on D199330

Differential Revision: https://phabricator.services.mozilla.com/D199331
2024-01-23 17:37:02 +00:00
Issam Mani
b5249f1cc5 Bug 1876021 - Extract AddressMetaDataLoader into a separate module. r=dimi
Depends on D199329

Differential Revision: https://phabricator.services.mozilla.com/D199330
2024-01-23 17:37:02 +00:00
Issam Mani
0cdb4b9cb7 Bug 1876021 - Move address metadata files to shared folder. r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D199329
2024-01-23 17:37:01 +00:00
Dimi
fedfe03a48 Bug 1836438 - P2. Use a single name field for edit address dialog r=credential-management-reviewers,issammani
Merge the First Name, Middle Name, and Last Name fields in the address management
dialog into a single `Name` field, similar to what we currently have in the edit
address doorhanger.

The reason for this change is not just to synchronize the design.
The main motivation is that a single name field allows users to enter names with
more information, for example, Mr. John Doe. Since first name + middle name + last name
is a subset of name ,we should not limit what users can enter from the outset.

Differential Revision: https://phabricator.services.mozilla.com/D196066
2024-01-22 13:34:23 +00:00