Commit graph

4268 commits

Author SHA1 Message Date
Mark Banner
7fcaa859ad Bug 1846570 - Convert more jsm style imports to ES modules (misc). r=arai,credential-management-reviewers,sgalich
Depends on D185072

Differential Revision: https://phabricator.services.mozilla.com/D185073
2023-08-02 13:43:07 +00:00
jneuberger
7dcae6322b Bug 1834571 - Migrate the scalar formautofill.creditCards.autofill_profiles_count to Glean r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D184622
2023-08-02 09:13:37 +00:00
Gregory Pappas
8a35d5cf5f Bug 1845311 - [Part 2] Use ChromeUtils.defineLazyGetter in more places r=arai,webcompat-reviewers,necko-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,sync-reviewers,anti-tracking-reviewers,tabbrowser-reviewers,bytesized,twisniewski,sgalich,mak,kershaw,sclements,pbz,robwu,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D184623
2023-08-01 23:01:02 +00:00
Thomas Wisniewski
ee35c52491 Bug 1838838 - Fixes and updates to webcompat site patch automated tests; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184839
2023-07-30 01:20:47 +00:00
Thomas Wisniewski
0c562b4122 Bug 1838838 - Ship v117.0.0 of the WebCompat System Addon; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D184838
2023-07-28 19:57:47 +00:00
Peter Van der Beken
a448c355d5 Bug 1845063 - Errors when opening or closing the Edit Credit Card window. r=emilio,credential-management-reviewers,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D184501
2023-07-27 16:29:21 +00:00
Emilio Cobos Álvarez
7719dba185 Bug 1845540 - Remove -moz-windows-default-theme and -moz-mac-graphite-theme. r=dao,pip-reviewers,mhowell
The former is just `not (prefers-contrast)` now. The later is unused.

Differential Revision: https://phabricator.services.mozilla.com/D184602
2023-07-26 18:22:26 +00:00
Mark Banner
6fe765f7ca Bug 1845079 - Update more consumers to import ES modules directly. r=arai,settings-reviewers,credential-management-reviewers,sync-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D184371
2023-07-24 15:32:45 +00:00
Dimi
a044061f66 Bug 1844364 - Use isCreditCardField to determine whether the previous field is a credit card field r=credential-management-reviewers,sgalich
When we determine whether the previous field is a credit card field,
we use a hard-coded field name list, which doesn't include credit card
fields like "cc-given-name", "cc-family-name"

This patch fixes this issue by using "isCreditCardField" API.

Differential Revision: https://phabricator.services.mozilla.com/D184086
2023-07-24 09:21:26 +00:00
Sandor Molnar
6f2a7413f7 Backed out changeset 561b7f418a4d (bug 1844364) for causing bc failures in browser/extensions/formautofill/test/browser/heuristics/third_party/browser_QVC.js CLOSED TREE 2023-07-21 06:11:19 +03:00
Dimi
7894084216 Bug 1844364 - Use isCreditCardField to determine whether the previous field is a credit card field r=credential-management-reviewers,sgalich
When we determine whether the previous field is a credit card field,
we use a hard-coded field name list, which doesn't include credit card
fields like "cc-given-name", "cc-family-name"

This patch fixes this issue by using "isCreditCardField" API.

Differential Revision: https://phabricator.services.mozilla.com/D184086
2023-07-21 02:05:25 +00:00
Gregory Pappas
76facf7cd2 Bug 1842345 - Remove gfx.webrender.enabled pref r=jrmuizel,webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D183071
2023-07-13 04:17:40 +00:00
Mark Banner
0b2d2afdea Bug 1837176 - Convert imports of httpd.js to consume the ES module directly. r=necko-reviewers,webcompat-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,cookie-reviewers,twisniewski,robwu,issammani,bytesized,pbz,valentin
Differential Revision: https://phabricator.services.mozilla.com/D181159
2023-07-12 13:38:34 +00:00
Mark Banner
182b6db303 Bug 1792824 - Convert ObjectUtils.jsm to an ES module. r=barret,necko-reviewers,devtools-reviewers,kershaw
Depends on D183308

Differential Revision: https://phabricator.services.mozilla.com/D183309
2023-07-12 08:07:23 +00:00
Dimi
569aca1f1e Bug 1840584 - Support autofilling first name and last name field in a credit card form r=credential-management-reviewers,sgalich
This patch add a heursitic that when we see a name field (*-name), we check the
previous field, if the previous field is a credit card field, we change
the field to "cc-*-name".

Note. We don't check whether the "next" field is a cc field now. We can
extend the support in the future.

Differential Revision: https://phabricator.services.mozilla.com/D182337
2023-07-11 17:24:33 +00:00
Thomas Wisniewski
d981109bac Bug 1842437 - re-apply the YouTube webcompat intervention to fix back-forward cache navigation issues; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183267
2023-07-11 15:45:35 +00:00
Issam Mani
6f728cec9e Bug 1828408 - Use WeakRef instead of Cu.getWeakReference. r=credential-management-reviewers,dimi
Differential Revision: https://phabricator.services.mozilla.com/D179722
2023-07-11 15:34:26 +00:00
Dimi
f3f58a39b4 Bug 1836450 - Redesign the address/credit card normalization flow r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D181360
2023-07-11 11:30:47 +00:00
Iulian Moraru
879995c157 Backed out changeset bd6b3707b0b4 (bug 1836450) for causing xpcshell failures on test_creditCardRecords.js. CLOSED TREE 2023-07-11 12:23:23 +03:00
Dimi
9a18720b2c Bug 1836450 - Redesign the address/credit card normalization flow r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D181360
2023-07-11 06:32:02 +00:00
Gregory Pappas
2f76844f75 Bug 1842470 - Remove unused image.mem.shared pref r=CanadaHonk,webcompat-reviewers,twisniewski
Since bug 1729051 this pref doesn't actually do anything

Differential Revision: https://phabricator.services.mozilla.com/D183091
2023-07-09 17:25:34 +00:00
Noemi Erli
00bbb7cd04 Backed out changeset f2d5c6c6d0cd (bug 1840584) for causing failures in browser_capture_name.js CLOSED TREE 2023-07-07 16:43:50 +03:00
Dimi
7ba850b50c Bug 1840584 - Support autofilling first name and last name field in a credit card form r=credential-management-reviewers,sgalich
This patch add a heursitic that when we see a name field (*-name), we check the
previous field, if the previous field is a credit card field, we change
the field to "cc-*-name".

Note. We don't check whether the "next" field is a cc field now. We can
extend the support in the future.

Differential Revision: https://phabricator.services.mozilla.com/D182337
2023-07-07 07:30:16 +00:00
Tom Schuster
b686868bde Bug 1831499 - PiP subtitle support for Arte. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D181810
2023-07-05 21:28:50 +00:00
Devesh Bisen
b51ba6dd5a Bug 1841131: Subtitles are not displayed in PiP on Disney+ (Non US) r=pip-reviewers,mhowell
Depends on D182252

Differential Revision: https://phabricator.services.mozilla.com/D182501
2023-07-05 15:18:40 +00:00
Devesh Bisen
1fc617b3b9 Bug 1840583: PiP subtitle fix for Disney+ Hotstar r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D182252
2023-07-05 15:18:40 +00:00
Dimi
8602c77b17 Bug 1839134 - Do not capture address fields whose value are invalid r=mtigley,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181359
2023-07-04 11:04:52 +00:00
Norisz Fay
8cc1f1a03a Backed out changeset 5ce299ca9581 (bug 1840584) for causing bc failures on browser_OfficeDepot.js CLOSED TREE 2023-07-04 12:34:01 +03:00
Dimi
7388ced589 Bug 1840584 - Support autofilling first name and last name field in a credit card form r=credential-management-reviewers,sgalich
This patch add a heursitic that when we see a name field (*-name), we check the
previous field, if the previous field is a credit card field, we change
the field to "cc-*-name".

Note. We don't check whether the "next" field is a cc field now. We can
extend the support in the future.

Differential Revision: https://phabricator.services.mozilla.com/D182337
2023-07-04 08:22:20 +00:00
Dennis Schubert
0a3e4f9f90 Bug 1836521 - Ship v116.0.0 of the WebCompat System Addon. r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D182478
2023-06-29 17:15:13 +00:00
Norisz Fay
4e3d220332 Backed out changeset 15f5f9d7ed2f (bug 1839134) for causing failures on browser_address_doorhanger_display.js, test_addressComponent_city.js 2023-06-28 14:12:05 +03:00
Dimi
fa84538f05 Bug 1839134 - Do not capture address fields whose value are invalid r=mtigley,credential-management-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D181359
2023-06-28 10:15:23 +00:00
Dimi
87372f8ba1 Bug 1838582 - Code cleanup for FormAutofill module r=credential-management-reviewers,sgalich
Several address entry merge and compare functions are not used anymore.

Differential Revision: https://phabricator.services.mozilla.com/D181035
2023-06-28 10:15:00 +00:00
Dimi
dd97c6db31 Bug 1822385 - Add mm/rr expiry format and search labels for possible expiry format strings r=credential-management-reviewers,issammani
Differential Revision: https://phabricator.services.mozilla.com/D181862
2023-06-26 12:30:00 +00:00
Katherine Patenio
44662a6086 Bug 1822999 - allow mute from PiP window for YouTube Shorts r=pip-reviewers,niklas
Differential Revision: https://phabricator.services.mozilla.com/D179378
2023-06-20 16:14:53 +00:00
Tim Huang
d36667f2f6 Bug 1802340 - Add a shim for tsn.ca to address login issue with dFPI. r=anti-tracking-reviewers,webcompat-reviewers,twisniewski,pbz
Adding a shim that calls privilege StorageAccessAPI when tsn.ca using
the bellmedia.ca to perform the login.

We update the matching rule for the content script of crave.ca because it
also uses the bellmedia to do the login. With the updated matching rule,
we will only load the relevant shim script depending on the query string
of the login page.

Differential Revision: https://phabricator.services.mozilla.com/D180438
2023-06-20 12:27:02 +00:00
Niklas Baumgardner
ef8ded1c25 Bug 1580095 - Update netflix wrapper. r=pip-reviewers,mhowell
Depends on D180873

Differential Revision: https://phabricator.services.mozilla.com/D180874
2023-06-17 17:01:59 +00:00
Niklas Baumgardner
1c20254d84 Bug 1580095 - Update youtube wrapper. r=pip-reviewers,mhowell
Depends on D179556

Differential Revision: https://phabricator.services.mozilla.com/D180873
2023-06-17 17:01:58 +00:00
Niklas Baumgardner
f7058e9858 Bug 1580095 - Add audio scrubber to PiP. r=pip-reviewers,desktop-theme-reviewers,kpatenio,dao
Differential Revision: https://phabricator.services.mozilla.com/D179556
2023-06-17 17:01:58 +00:00
Norisz Fay
f890e5a1aa Backed out 3 changesets (bug 1580095) for causing bc failures on browser_mock_wrapper.js CLOSED TREE
Backed out changeset 047ac9aaa0f7 (bug 1580095)
Backed out changeset 22765b6eea1b (bug 1580095)
Backed out changeset 9372bbd6eb40 (bug 1580095)
2023-06-17 05:24:26 +03:00
Niklas Baumgardner
7df7a46a63 Bug 1580095 - Update netflix wrapper. r=pip-reviewers,mhowell
Depends on D180873

Differential Revision: https://phabricator.services.mozilla.com/D180874
2023-06-16 21:57:23 +00:00
Niklas Baumgardner
e7cb292746 Bug 1580095 - Update youtube wrapper. r=pip-reviewers,mhowell
Depends on D179556

Differential Revision: https://phabricator.services.mozilla.com/D180873
2023-06-16 21:57:23 +00:00
Stanca Serban
cf0c7e1d74 Backed out 3 changesets (bug 1580095) for causing mochitests failures in browser_audioScrubber.js. CLOSED TREE
Backed out changeset fa8f9b71e4db (bug 1580095)
Backed out changeset 2d042439b759 (bug 1580095)
Backed out changeset 66a695629d4b (bug 1580095)
2023-06-16 18:32:48 +03:00
Niklas Baumgardner
a31b19ec06 Bug 1580095 - Update netflix wrapper. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D180874
2023-06-16 14:35:03 +00:00
Niklas Baumgardner
cb994ab63e Bug 1580095 - Update youtube wrapper. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D180873
2023-06-16 14:35:03 +00:00
Dimi
63eef94a13 Bug 1838161 - Add regular expression keywords for address-line1 and address-line2 r=credential-management-reviewers,issammani
Differential Revision: https://phabricator.services.mozilla.com/D180791
2023-06-15 06:48:05 +00:00
Dimi
5c07509232 Bug 1821019 - Support classifying cc-csc fields, but refrain from capturing or autofilling cc-csc fields r=mtigley,credential-management-reviewers
We do not intend to capture or autofill Card Security Code (CSC) fields.

The reason for adding "cc-csc" support is to enhance the accuracy of our heuristics.
For instance, if a credit card form contains a CSC field that aligns with both "cc-number"
and "cc-csc" heuristics, we would only classify the field as a "cc-number" field
without the application of the cc-csc heuristic. However, if we include the
cc-csc heuristic, we can use the results as a hint that this field might not be a "cc-number"
field.

Differential Revision: https://phabricator.services.mozilla.com/D179688
2023-06-14 08:42:42 +00:00
Dimi
22da8d172f Bug 1836458 - P2. Update testcases according to the new heuristics r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D180694
2023-06-13 10:46:44 +00:00
Dimi
903ae657e0 Bug 1836458 - P1. Improve form autofill heuristics r=credential-management-reviewers,sgalich
This commit modifies how we identify fields for address (city/state),
street address (including street-address and address-linex), and credit card
expiration information (cc-exp, cc-exp-month, cc-exp-year). The details are as follows:

- City/State Address Fields:

Introduced a new heuristic to identify address-level1 fields. When an address-level2
field is detected, the neighboring <select> element is considered to be an address-level1 field, if present.

- Street Address Fields (street-address, address-lineX):

* Implemented a heuristic to treat address-line2 or address-line3 as address-line1 when only
a single street address field is present.
* Enhanced the existing heuristic that identifies address-line1 fields on certain websites
that use the street-address as address-line1
* Introduced another heuristic that interprets a series of three consecutive street address
fields as address-line1, address-line2, and address-line3 respectively.

-Credit Card Expiry Fields:

* Removed the heuristic that resets cc-exp* fields to null when none of the other heuristics match.
* Introduced a heuristic that, when only one cc-exp* field is present, classifies that field
as a cc-exp field provided the preceding field is a credit card number field.
* Added another heuristic that, in the presence of two cc-exp* fields, interprets them as
cc-exp-month and cc-exp-year respectively if the field before them is a credit card number field.

Differential Revision: https://phabricator.services.mozilla.com/D180693
2023-06-13 10:46:44 +00:00
Butkovits Atila
59ea120e0c Backed out changeset 4dd173e40157 (bug 1828408) for causing failures at browser_dispatchMouseEvent.js. CLOSED TREE 2023-06-06 20:41:54 +03:00