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

4482 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 9fe8bde13c Bug 1884623 - Update more jsm references in production code and docs in browser/. r=mossop,extension-reviewers,omc-reviewers,migration-reviewers,robwu,mconley,aminomancer
Differential Revision: https://phabricator.services.mozilla.com/D204182
2024-03-11 15:26:28 +00:00
Mark Banner 4f1d29d324 Bug 1883371 - Enable ESLint rule no-console on production code. r=mossop,webcompat-reviewers,devtools-reviewers,omc-reviewers,twisniewski,nchevobbe,aminomancer
Allow for console.error, console.warn and console.createInstance, but fail for everything else.

Differential Revision: https://phabricator.services.mozilla.com/D203456
2024-03-05 16:56:57 +00:00
Mike Kaply 6d6a154f3b Bug 1677524 - Add policies for credit card and address autofill. r=sgalich,fluent-reviewers,bolsson,dimi
Differential Revision: https://phabricator.services.mozilla.com/D202733
2024-03-05 15:25:16 +00:00
jneuberger 3b8f0a1b61 Bug 1881501 - Handle form submit event by central form submission detector r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D202425
2024-03-05 09:35:34 +00:00
Joel Maher 2a0bfb5827 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-03-05 02:14:17 +00:00
Sergey Galich 3de8f5dc53 Bug 1864896: Polishing autofix of unused function arguments (credential management). r=credential-management-reviewers,dimi
Depends on D202958

Differential Revision: https://phabricator.services.mozilla.com/D203314
2024-03-05 00:08:04 +00:00
Dave Townsend 96586e9da0 Bug 1864896: Remove jsdoc params for removed arguments (credential management). r=credential-management-reviewers,mtigley
Depends on D202957

Differential Revision: https://phabricator.services.mozilla.com/D202958
2024-03-05 00:08:04 +00:00
Dave Townsend 1b11b782c2 Bug 1864896: Autofix unused function arguments (credential management). r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D202957
2024-03-05 00:08:03 +00:00
Sam Foster b496d884f0 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-04 21:13:17 +00:00
Thomas Wisniewski dd33e85ad8 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 5a36ecfb41 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 59b829116d 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 ef39b591b9 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 9911ad6052 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 75b985ac56 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 497846017a 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 633ccd1c45 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 63ecc826a4 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 02ac792b19 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 24d2e39f9d 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 35dadda521 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 6545691753 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 86760e7be7 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 801590e08e 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 92b8f5b6e3 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 6cabc3f465 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 aaf856f070 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 b4dc975e82 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 565a626d50 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 7a64ec0778 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 b933333d3f 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 d40ce6e7b6 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 fb929a6abc 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 6b9e711a99 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 8e8cc1684d 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 7140e63712 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 a97528bde6 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 5695a8fe71 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 660077e5e3 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 1855a96448 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 3c78905f47 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 dbbe0357c5 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 307566dd3c 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 51bb77759a 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 2434015dc5 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 e51f564065 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 7c64a5f440 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 281c1b69d6 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 3794750a4d 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 3ad5072cf1 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