Commit Graph

412 Commits

Author SHA1 Message Date
Mark Banner
9af64d461a Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
Depends on D1643

MozReview-Commit-ID: 84M50HDg0wl

Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00
Joel Maher
d0823df1ef Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Jared Wein
b0fc9890f1 Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
MozReview-Commit-ID: 3tJdzU3hBvY
2018-05-15 12:41:35 -04:00
Csoregi Natalia
6a9464cac1 Backed out changeset 9b26de736798 (bug 1461477) for multiple CreditCards failures e.g. browser_manageCreditCardsDialog.js . CLOSED TREE 2018-06-01 21:04:39 +03:00
Jared Wein
d7d5af6823 Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
MozReview-Commit-ID: 3tJdzU3hBvY
2018-05-15 12:41:35 -04:00
Mark Banner
bf9c126d42 Bug 1465385 - Enable ESLint rule require-expected-throws-or-rejects for browser/. r=MattN
MozReview-Commit-ID: GoVFNM7CFDu
2018-05-30 11:50:45 +01:00
Mark Hammond
1784f6874b Bug 1463956 - allow Sync to remove all address and credit-card records. r=kitcambridge,MattN
MozReview-Commit-ID: KSeJJfAGmRh
2018-05-24 12:36:37 +10:00
Raul Gurzau
e678aec2ff Bug 1456284 - Disable browser_insecure_form.js for frequent failures. r=gbrown 2018-05-07 20:21:00 -04:00
Bogdan Tara
88cac28ccf Backed out changeset 5dbd8eafc7fd (bug 1456284) for BC failures CLOSED TREE 2018-05-08 20:35:14 +03:00
Raul Gurzau
22004e99fb Bug 1456284 - Disable browser_insecure_form.js for frequent failures. r=jmaher 2018-05-07 20:21:00 -04:00
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Csoregi Natalia
2759e05237 Merge inbound to mozilla-central. a=merge 2018-04-28 00:53:15 +03:00
Bogdan Tara
664e3f43b7 Bug 1426981 - Disable test browser_update_doorhanger.js on all platforms. r=jmaher 2018-04-26 08:37:00 +03:00
Matthew Noorenberghe
f7efc04473 Bug 1456148 - Set supportedCountries for test_address_level_1_submission.html so it works on non-Nightly. r=MattN
MozReview-Commit-ID: AEKee22mbLS
2018-04-26 22:07:19 -07:00
Kartikaya Gupta
04b046d71c Bug 1456882 - Enable some passing mochitests on linux64-qr. r=jrmuizel
MozReview-Commit-ID: 5VIHjwx6A2j
2018-04-25 11:29:07 -04:00
Kris Maglione
b3990a2d91 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW
2018-04-24 20:18:09 -07:00
Matthew Noorenberghe
39fbc8f183 Bug 1433876 - Follow-up eslint fix to handle Bug 1454813 rename of SpawnTask.js. r=MattN
MozReview-Commit-ID: 1MI5566qmUF
2018-04-22 17:16:08 -07:00
Matthew Noorenberghe
5e398c7259 Bug 1433876 - Test form submission with autofill in country without sub_keys. r=johannh
MozReview-Commit-ID: En5MlYkgXR1
2018-04-22 15:48:07 -07:00
Matthew Noorenberghe
2118ee291f Bug 1426981 - Fix formautofill expectPopupOpen helper to wait until there are autocomplete items. r=MattN
Also fix the originaltype for the insecure warning.

MozReview-Commit-ID: GvP4woVGZWu
2018-04-22 15:03:10 -07:00
Kris Maglione
50ba4a9716 Bug 1454202: Part 5a - Remove callback-based variants of most AddonManager APIs. r=aswan
MozReview-Commit-ID: BrUH8Gyx8kx
2018-04-21 15:15:10 -07:00
Gurzau Raul
c7c6b3bba2 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 12:15:48 +03:00
Kris Maglione
59b2dd801c Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH
2018-04-18 11:43:45 -07:00
mbkupfer
f496b3c400 Bug 1455087 - Support deleting autofill records with the delete key. r=MattN
MozReview-Commit-ID: FiqauWe5oDh
2018-04-19 13:06:59 -07:00
Matthew Noorenberghe
5935ff8bf3 Bug 1432952 - Add a billing address picker to the credit card add/edit form. r=jaws
MozReview-Commit-ID: 9tquQ0C7D96
2018-04-10 18:31:05 -07:00
Matthew Noorenberghe
bab80ab776 Bug 1432952 - Use the testDialog helper in browser_editCreditCardDialog.js. r=jaws
MozReview-Commit-ID: 9tquQ0C7D93
2018-04-10 17:39:25 -07:00
Matthew Noorenberghe
6eb0502ee1 Bug 1432952 - Add a billingAddressGUID property to saved credit cards. r=jaws,kitcambridge
test_reconcile.js already provides great test coverage for a new field (like billingAddressGUID) being added either locally or remotely.

MozReview-Commit-ID: 5IGoH3zB1rz
2018-04-10 15:55:20 -07:00
Narcis Beleuzu
f9c4632e9b Bug 1425884 - Syntax fix for the browser_creditCard_doorhanger.js test skipping. r=jmaher 2018-03-20 19:43:00 -04:00
Kris Maglione
3e28bf5cba Bug 1446585: Remove support for resource entries in bootstrapped chrome.manifest files. r=aswan,MattN,k88hudson
MozReview-Commit-ID: EjymzU6koYX
2018-03-16 20:18:46 -07:00
Tooru Fujisawa
f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Matthew Noorenberghe
578163b125 Bug 1427954 - Pass FormAutofillUtils.isCCNumber to EditCreditCard. r=sfoster
The point of this is to remove dependencies on privileged code from autofillEditForms.js so it can
be used in the unprivileged PaymentRequest dialog. The PaymentRequest dialog will be able to inject
the privileged APIs in a different way.

MozReview-Commit-ID: 34PvRxzWcSr
2018-03-14 18:11:03 -07:00
Matthew Noorenberghe
1597ac3676 Bug 1427954 - Move autofill edit dialog l10n to mutation observers. r=sfoster
MozReview-Commit-ID: 5jSj0xPBTQj
2018-03-14 18:12:00 -07:00
Kit Cambridge
f17824d71b Bug 1199077 - Autofill changes for async lastSync and syncID accessors. r=eoger
MozReview-Commit-ID: CgSqRevONRX
2018-03-02 14:53:23 -08:00
Arthur Iakab
de784be9f6 Bug 1425884 disabled browser_creditCard_doorhanger.js on Linux, Windows, OSX debug platforms r=jmaher 2018-03-11 22:14:00 +02:00
Daniel Marshall
7724f2e32c Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I
2018-02-10 21:23:19 +00:00
Narcis Beleuzu
439cc34017 Backed out changeset a8130e46c530 (bug 1434483) for ESlint failures on browser_change_shipping.js. CLOSED TREE 2018-03-05 23:50:02 +02:00
Daniel Marshall
49ad18cee3 Bug 1434483 - Renamed profileStorage singleton to formAutofillStorage to make it more clear; r=MattN
MozReview-Commit-ID: CaPYBGLfs5I
2018-02-10 21:23:19 +00:00
Masayuki Nakano
efaea0aaa7 Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.

MozReview-Commit-ID: De4enbjux3T
2018-02-15 04:15:39 +09:00
Matthew Noorenberghe
0ace8f9ecb Bug 1438306 - Disable CA & DE country support and RTL support for Form Autofill in Beta 59+. r=Dolske
MozReview-Commit-ID: IBtrvEsIWtH
2018-02-14 13:41:27 -08:00
Masayuki Nakano
53a40055b6 Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.

Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events.  So, they must be
bug of the test.

MozReview-Commit-ID: Itxo7yZ9rkK
2018-02-09 19:17:26 +09:00
Tom Ritter
5918a1f53d Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.

MozReview-Commit-ID: LrsucEPdZIo
2018-02-12 11:41:38 -06:00
Tom Ritter
b414702f22 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ
2018-02-12 11:39:41 -06:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Matthew Noorenberghe
d75aa46e45 Bug 1435274 - Stop form autofilling if the master password prompt is cancelled. r=johannh
MozReview-Commit-ID: HnFbcWYX6QL
2018-02-02 21:42:31 -08:00
Edouard Oger
fda53ac528 Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: IvwyleXBcNH
2018-01-04 18:07:10 -05:00
Noemi Erli
bd4af5546a Backed out 8 changesets (bug 633062) as requested by eoger on a CLOSED TREE
Backed out changeset 590656f7b5c5 (bug 633062)
Backed out changeset 0888aa122056 (bug 633062)
Backed out changeset 0780cf391c52 (bug 633062)
Backed out changeset 9798cbd03027 (bug 633062)
Backed out changeset 4b31c73a585f (bug 633062)
Backed out changeset 0a8866062136 (bug 633062)
Backed out changeset 20ff83289564 (bug 633062)
Backed out changeset 5e52125316e1 (bug 633062)
2018-01-31 22:09:30 +02:00
Edouard Oger
a67ec36cbd Bug 633062 p8 - Add Async observers. r=kitcambridge,markh,tcsc
MozReview-Commit-ID: IvwyleXBcNH
2018-01-04 18:07:10 -05:00
Masayuki Nakano
65ecb061b4 Bug 1134540 - Make all tests stop using nsIDOMWindowUtils.sendKeyEvent() r=smaug
nsIDOMWindowUtils.sendKeyEvent() can dispatch any keyboard events, i.e.,
may dispatch different key events from actual Gecko's behavior.  Instead,
they should use nsITextInputProcessor directly or synthesizeKey() of
EventUtils which wraps nsITextInputProcessor.

MozReview-Commit-ID: EDWqXy1OxJp
2018-01-30 22:05:44 +09:00
Sam Reading-Thompson, Robin Hodda, Joseph Fergusson
96a684c72d Bug 1429017 - Added spotlight upon clicking view in preferences in address autofill doorhanger r=MattN 2018-01-22 16:02:55 -08:00
George Dan, Ryan Neilsen, Dylan Turner
61369dbaa9 Bug 1387632: Rename ProfileStorage module to FormAutofillStorage. r=MattN 2018-01-30 14:44:59 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00