`crypto.randomUUID()` is a new Web API implemented in bug 1723674. It returns a random UUID string (without curly braces), so we no longer need to roll our own UUIDs in makeUuid.js.
Differential Revision: https://phabricator.services.mozilla.com/D130442
Changes the presentation format of expiry date to MM/YYYY so that Zalando's payment site doesn't break when we fill expiry dates.
Reorders the credit card transformers so that the expiry date transformer runs before the match select transformer.
This is to ensure the presentation form of expiry date (MM/YYYY) is used to create cached values for possible select element matches, as opposed to the underlying storage format of expiry date (YYYY-MM).
Because the 'profile' used in getAdaptedProfiles becomes a presentation ready form of the stored data, I've written a note explaining why the default test credit card record now has a expiry date format of 'MM/YYYY' as opposed to the old format.
Differential Revision: https://phabricator.services.mozilla.com/D125884
- `test_redirect_{final,two_hops,three_hops}` correspond to SSR #1
- `test_no_event_when_search_engine_not_used` corresponds to SSR #2
- `test_redirect_chain_does_not_start_on_first_request` corresponds to SSR #3
- `test_two_extensions_reported` corresponds to SSR #4
Differential Revision: https://phabricator.services.mozilla.com/D129176
This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the `BrowserGlue.jsm` file).
Summary of the changes made to the different files:
- `api.js`: added license header, reformatted with Prettier, then fixed
ESLint errors: use of `Services.eTLD` instead of
`XPCOMUtils.defineLazyServiceGetter(...)` and defined
`"searchInitialized"` on `this` instead of `global` which was unknown
- `background.js`: added license header, reformatted with Prettier,
removed debug logs because they were off by default anyway, fixed
ESLint error: id => addonId because addonId was already defined in a
parent scope
- `manifest.json`: version number changed + `hidden: true`
- `schema.json`: no change await addon.enable();
Depends on D129019
Differential Revision: https://phabricator.services.mozilla.com/D128908
This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the `BrowserGlue.jsm` file).
Summary of the changes made to the different files:
- `api.js`: added license header, reformatted with Prettier, then fixed
ESLint errors: use of `Services.eTLD` instead of
`XPCOMUtils.defineLazyServiceGetter(...)` and defined
`"searchInitialized"` on `this` instead of `global` which was unknown
- `background.js`: added license header, reformatted with Prettier,
removed debug logs because they were off by default anyway, fixed
ESLint error: id => addonId because addonId was already defined in a
parent scope
- `manifest.json`: version number changed + `hidden: true`
- `schema.json`: no change await addon.enable();
Differential Revision: https://phabricator.services.mozilla.com/D128908
This patch moves the addons-search-detection system add-on in tree and
adjusts the build configuration to make it a built-in add-on (which
requires changes in the `BrowserGlue.jsm` file).
Summary of the changes made to the different files:
- `api.js`: added license header, reformatted with Prettier, then fixed
ESLint errors: use of `Services.eTLD` instead of
`XPCOMUtils.defineLazyServiceGetter(...)` and defined
`"searchInitialized"` on `this` instead of `global` which was unknown
- `background.js`: added license header, reformatted with Prettier,
removed debug logs because they were off by default anyway, fixed
ESLint error: id => addonId because addonId was already defined in a
parent scope
- `manifest.json`: version number changed + `hidden: true`
- `schema.json`: no change await addon.enable();
Differential Revision: https://phabricator.services.mozilla.com/D128908
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
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