Matthew Noorenberghe
487d770cc3
Bug 1485473 - Combine the borders of the name fields on the address form. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D4031
--HG--
extra : moz-landing-system : lando
2018-08-24 23:21:30 +00:00
Kris Maglione
bf1736ab8b
Bug 1484236: Override cert DB for form autofill xpcshell tests. r=rhelmer CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com/D4173
--HG--
extra : amend_source : da98e07581f2b96fd7a968dfdc110830c3d61342
2018-08-23 16:16:11 -07:00
Kris Maglione
80327d3561
Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3729
--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Matthew Noorenberghe
0cf516ec70
Bug 1482220 - Listen for the autofill edit forms being appended for localization. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D3846
--HG--
extra : moz-landing-system : lando
2018-08-22 02:58:38 +00:00
Kris Maglione
0db0423880
Bug 1484415: Blocklist PrivateBrowsingUtils.jsm at content process startup. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D3688
--HG--
extra : rebase_source : a0941867a3b47fcf0aa797a8236d86e7aedc3c1b
2018-08-17 23:38:40 -07:00
prathiksha
c8c6fdba8f
Bug 1475760 - Take address-fields into account for payer/contact picker dropdown labels. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D2831
--HG--
extra : rebase_source : 13304d7b7739ebb5a2b7d835ffaf088dc40afd17
2018-08-20 13:23:43 -07:00
Jared Wein
066ed9e934
Bug 1477100 - Show the labels as placeholders inside of the fields. r=MattN
...
Show the labels as placeholders inside of the fields.
Differential Revision: https://phabricator.services.mozilla.com/D2955
--HG--
extra : rebase_source : 4ca24b7b6833c3c1bcd4821ec127fe07c24b44d0
2018-08-17 16:25:46 -07:00
Matthew Noorenberghe
10c07d673d
Bug 1483425 - Don't mark form fields as invalid/dirty on load in an 'add' form. r=sfoster
...
When editing an existing record, invalid fields should be indicated on load.
Differential Revision: https://phabricator.services.mozilla.com/D3397
MozReview-Commit-ID: CbrqEyCUoyC
--HG--
extra : rebase_source : f44dc1b66d0c37d2b301a6b5c33ddde9fa7181bf
2018-08-17 16:27:21 -07:00
Margareta Eliza Balazs
6c198262de
Merge inbound to mozilla-central. a=merge
2018-08-17 12:46:14 +03:00
Matthew Noorenberghe
7b9e74a701
Bug 1483672 - Inject the autofill autocomplete-item stylesheets like formautofill.css. r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D3442
--HG--
extra : rebase_source : 31d43a73a895d3933efde83b68b5a1d8a87fb0c8
2018-08-15 14:09:50 -07:00
Tiberius Oros
127e89f5dd
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-08-17 00:37:19 +03:00
Matthew Noorenberghe
b96242f217
Bug 1478185 - Fix ENABLED_AUTOFILL_*_PREF references after FormAutofillUtils.jsm split. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D3472
--HG--
extra : moz-landing-system : lando
2018-08-16 19:42:42 +00:00
Andrew Swan
3badf01810
Bug 1449055 Convert formautofill to a webextension r=MattN,kmag
...
--HG--
rename : browser/extensions/formautofill/bootstrap.js => browser/extensions/formautofill/api.js
rename : browser/extensions/formautofill/install.rdf.in => browser/extensions/formautofill/manifest.json
rename : browser/extensions/formautofill/skin/shared/autocomplete-item.css => browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css
rename : browser/extensions/formautofill/skin/shared/editDialog.css => browser/extensions/formautofill/skin/shared/editDialog-shared.css
extra : rebase_source : 8ddd40e3bbf84fadb7ef07b30822030e346ae341
extra : intermediate-source : 45306ff933fe8dfad0ab11b2f4072389b15fd993
extra : source : ecda6532c852b3f225fce998e3ce83ad157760e6
2018-07-28 14:06:07 -07:00
Csoregi Natalia
b0afa69be5
Backed out 3 changesets (bug 1449055) for multiple xpcshell failures on browser/extensions/formautofill/test/ . CLOSED TREE
...
Backed out changeset fc97f5b5e65d (bug 1449055)
Backed out changeset 45306ff933fe (bug 1449055)
Backed out changeset da3100049ef2 (bug 1449055)
--HG--
rename : browser/extensions/formautofill/api.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/formautofill/manifest.json => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css => browser/extensions/formautofill/skin/shared/autocomplete-item.css
rename : browser/extensions/formautofill/skin/shared/editDialog-shared.css => browser/extensions/formautofill/skin/shared/editDialog.css
2018-08-16 00:15:19 +03:00
Matthew Noorenberghe
a290cf90f3
Bug 1476345 - Only enable relevant fields in address forms and update tests. r=jaws
...
MozReview-Commit-ID: KuPMHrF6jaM
--HG--
extra : rebase_source : f37118ff94bcb90108712dcc2f6db3d0aa5c92ef
2018-08-15 12:19:55 -07:00
Andrew Swan
fb72dcb414
Bug 1449055 Convert formautofill to a webextension r=MattN,kmag
...
--HG--
rename : browser/extensions/formautofill/bootstrap.js => browser/extensions/formautofill/api.js
rename : browser/extensions/formautofill/install.rdf.in => browser/extensions/formautofill/manifest.json
rename : browser/extensions/formautofill/skin/shared/autocomplete-item.css => browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css
rename : browser/extensions/formautofill/skin/shared/editDialog.css => browser/extensions/formautofill/skin/shared/editDialog-shared.css
extra : rebase_source : 233ea805630209a07d347e19f19710d9755f595f
extra : source : ecda6532c852b3f225fce998e3ce83ad157760e6
2018-07-28 14:06:07 -07:00
arthur.iakab
34ad5ebaac
Merge mozilla central to inbound
2018-08-15 01:05:50 +03:00
Brian Grinstead
829d7647d3
Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
...
Differential Revision: https://phabricator.services.mozilla.com/D3275
--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Kris Maglione
f99ee35b82
Bug 1480244: Part 5 - Run most framescripts in shared scope. r=mconley
...
Creating non-shared scopes for frame scripts is fairly expensive. After these
changes it's even more expensive. However, many frame scripts have no use for
the shared scopes at all. Run-once scripts which execute in closures, for
instance, make no use of them. And after bug 1472491, neither do most of our
default frame scripts.
MozReview-Commit-ID: 9PK7bYdQ0yh
--HG--
extra : rebase_source : db2516d2f00a75e233e1957649f2b62a9299b7cd
2018-08-10 13:58:18 -07:00
Dorel Luca
d1bfb0cc14
Backed out 2 changesets (bug 1449055) for xpcshell failures on browser/extensions/formautofill/test/unit/heuristics/test_de_fields.js. CLOSED TREE
...
Backed out changeset 644216b0ad9b (bug 1449055)
Backed out changeset ecda6532c852 (bug 1449055)
--HG--
rename : browser/extensions/formautofill/api.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/formautofill/manifest.json => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css => browser/extensions/formautofill/skin/shared/autocomplete-item.css
rename : browser/extensions/formautofill/skin/shared/editDialog-shared.css => browser/extensions/formautofill/skin/shared/editDialog.css
2018-08-14 05:31:58 +03:00
Andrew Swan
2a4999d7a5
Bug 1449055 Convert formautofill to a webextension r=MattN,kmag
...
--HG--
rename : browser/extensions/formautofill/bootstrap.js => browser/extensions/formautofill/api.js
rename : browser/extensions/formautofill/install.rdf.in => browser/extensions/formautofill/manifest.json
rename : browser/extensions/formautofill/skin/shared/autocomplete-item.css => browser/extensions/formautofill/skin/shared/autocomplete-item-shared.css
rename : browser/extensions/formautofill/skin/shared/editDialog.css => browser/extensions/formautofill/skin/shared/editDialog-shared.css
extra : rebase_source : 0d766ddf49ddbdb7f1efcb583f2684adaba13b0d
2018-07-28 14:06:07 -07:00
Boris Zbarsky
e4b74becff
Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
...
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.
I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have. Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Csoregi Natalia
08c950712e
Backed out 3 changesets (bug 1479569) for devtools/client/responsive.html failures. CLOSED TREE
...
Backed out changeset e123d0aa911c (bug 1479569)
Backed out changeset b828a58404e5 (bug 1479569)
Backed out changeset 97041ef8f311 (bug 1479569)
2018-08-03 10:39:12 +03:00
Boris Zbarsky
0197de77c0
Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
...
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.
I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have. Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
dvarga
956d57e7f2
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-08-02 01:26:29 +03:00
Mark Banner
8d235f8e45
Bug 1478305 - Remove unnecessary imports and fix ESLint warnings about unused variables for browser/. r=jaws
...
MozReview-Commit-ID: 1vHR6ixePkN
--HG--
extra : rebase_source : 8f9a322d1ff075ab56b81f8710df5d841839865b
2018-07-30 10:27:36 +01:00
Boris Zbarsky
4abc5c5a25
Bug 1446940 part 2. Stop getting docshells from windows via getInterface in browser. r=gijs
2018-08-01 13:07:10 -04:00
Matthew Noorenberghe
07463fbd62
Bug 1476204 - Check Luhn algorithm in the basic-card-form and in storage and disable save button when invalid. r=jaws
...
* Provide an cc-exp-year option to match cc-exp-month
* Make cc-number and cc-name required in the basic-card-form
* Disable the basic-card-page save button when the form is invalid.
MozReview-Commit-ID: LjzsnAKJp6R
--HG--
extra : rebase_source : 4dcbee371cd0e30b5823b803c4f4734f897ec786
2018-07-26 13:40:22 -07:00
Mark Banner
6feaa5a9c3
Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
...
MozReview-Commit-ID: BYTDdLU2HoM
--HG--
extra : rebase_source : 1e31ff288280d09ae226cdc698331263ba969205
2018-07-25 09:10:07 +01:00
Narcis Beleuzu
d47c829065
Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
...
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner
180233c593
Bug 1478308 - Remove unnecessary ChromeUtils.imports in browser/ r=mikedeboer
...
MozReview-Commit-ID: BYTDdLU2HoM
--HG--
extra : rebase_source : 67dc15c0cdff0234d3274f1a8978d1f2a5b3f411
2018-07-25 09:10:07 +01:00
Cosmin Sabou
80a830bce7
Backed out 5 changesets (bug 1476204) for browser chrome failures on browser_editCreditCardDialog. CLOSED TREE
...
Backed out changeset 10f3d1014592 (bug 1476204)
Backed out changeset a88879ea32e8 (bug 1476204)
Backed out changeset 001f13f2dd21 (bug 1476204)
Backed out changeset f0f464e3c27c (bug 1476204)
Backed out changeset ed92000eca20 (bug 1476204)
2018-07-26 04:12:56 +03:00
Matthew Noorenberghe
f5f3467e63
Bug 1476204 - Check Luhn algorithm in the basic-card-form and in storage and disable save button when invalid. r=jaws
...
* Provide an cc-exp-year option to match cc-exp-month
* Make cc-number and cc-name required in the basic-card-form
* Disable the basic-card-page save button when the form is invalid.
MozReview-Commit-ID: LjzsnAKJp6R
--HG--
extra : rebase_source : 467fa09ea07c0234e1839b6dfd7e53375c118104
2018-07-25 16:38:25 -07:00
Boris Zbarsky
270fa12c79
Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs
2018-07-24 19:47:41 -04:00
Kris Maglione
2092b599af
Bug 1474139: Follow-up: Fix another test that relied on Timer.jsm being implicitly imported. r=bustage CLOSED TREE
...
--HG--
extra : rebase_source : fb11b942b0413cc37dba0144dc575fd7bd979448
extra : amend_source : d2ae8c80b39248bf08de16198f187c70a3bff60c
2018-07-17 15:48:13 -07:00
prathiksha
eb673ccdd8
Bug 1463554 - Fix auto-selection errors in pickers on the payment summary page.r=MattN
...
MozReview-Commit-ID: Hlj7RHXnpWi
--HG--
extra : rebase_source : f6956f6fcfec384d4060765fba4412ac7e2c859d
2018-06-21 15:03:36 -07:00
Matthew Noorenberghe
798c0466a9
Bug 1469464 - Consistent PaymentRequest footer positioning with <payment-request-page>. r=sfoster
...
MozReview-Commit-ID: Oq06q6xF0e
--HG--
extra : rebase_source : 76ee5c4a8e23db6a24e755e09eff05cdf0ae9f52
2018-07-12 09:52:30 -07:00
Coroiu Cristina
6a139fd913
Backed out 6 changesets (bug 1469464) for browser-chrome failures at browser/base/content/test/static/browser_parsable_css.js on a CLOSED TREE
...
Backed out changeset f9d4885e8956 (bug 1469464)
Backed out changeset 59c418929764 (bug 1469464)
Backed out changeset 58c1a79fb661 (bug 1469464)
Backed out changeset 90654d5df81a (bug 1469464)
Backed out changeset 9453814beada (bug 1469464)
Backed out changeset 4b86bde79c91 (bug 1469464)
2018-07-12 10:52:02 +03:00
Matthew Noorenberghe
247c83fb67
Bug 1469464 - Consistent PaymentRequest footer positioning with <payment-request-page>. r=sfoster
...
MozReview-Commit-ID: Oq06q6xF0e
--HG--
extra : rebase_source : b27a8fb478be645dc434abb57b722340102771a3
2018-07-11 23:43:27 -07:00
Marco Bonardo
021fc63b95
Bug 1388123 - Make autocomplete handle Enter on keydown. r=MattN
...
Some pages, like the Google login form, submit information on keydown, that
causes us to not autocomplete, because we handle keypress instead.
The patch changes autocomplete to happen on keydown.
Unfortunately formautofill also uses keydown and tries to access popup data too
late, thus it needs some hacks to work properly.
In general the formautofill code has too many indirections due to e10s, and that
makes the fix more fragile than we'd want. Ideally content autocomplete should
have its own codebase, rather than sharing the same controller as chrome code.
MozReview-Commit-ID: oAyASmDFm1
--HG--
extra : rebase_source : 64c1e7c85b203904b59e3a1e019e7f52f290cfea
2018-06-22 12:37:09 +02:00
Kris Maglione
a4453fc75f
Bug 1474140: Don't load FormAutofillUtils.jsm at content process startup. r=MattN
...
MozReview-Commit-ID: 2bOyTPU9QbX
--HG--
extra : rebase_source : 8f8c7e216612437f853df2b5cc8dd5fb3174d10b
2018-07-07 17:49:34 -07:00
Paolo Amadini
098536b2b8
Bug 1473832 - Load "autocomplete.css" and "autocomplete-item.css" as document stylesheets. r=bgrins
...
MozReview-Commit-ID: G9OUUmxPivU
--HG--
extra : source : e06778079d84df9f46cd06a2fac626fb04bbc34f
2018-07-06 10:11:25 +01:00
Kris Maglione
25544ae690
Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
...
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.
Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.
MozReview-Commit-ID: 19f0ggAda2J
--HG--
extra : source : 440ee3fab72afc5d483a5bb2b0630f3c2ed3212f
extra : absorb_source : 35ba172bb0e9da002bf1b733463b61ed214cf225
2018-06-30 15:55:18 -07:00
Coroiu Cristina
b204063b4b
Backed out 2 changesets (bug 1470333) for xpcshell failures at browser/extensions/formautofill/test/unit/test_getFormInputDetails.js
...
Backed out changeset dbea1942a32f (bug 1470333)
Backed out changeset 440ee3fab72a (bug 1470333)
2018-07-05 00:24:27 +03:00
Kris Maglione
0b96fa7467
Bug 1470333: Part 1 - Optimize debug logging statements in FormAutoFillContent. r=MattN
...
These cause us to load Console.jsm and create a ConsoleAPI instance in every
content process, which is expensive both in terms of memory and startup
performance.
Checking the log level before we touch the console object is much cheaper,
in terms of both memory and performance.
MozReview-Commit-ID: 19f0ggAda2J
--HG--
extra : rebase_source : 38077a14122d201d11079330565d82f6f963b428
2018-06-30 15:55:18 -07:00
Jared Wein
d8e5ec3940
Bug 1427961 - Put the asterisk next to required fields. r=MattN
...
MozReview-Commit-ID: 9KMFB9bS9hD
--HG--
extra : rebase_source : 1566cf92f691f8eaa7bc47fe2b38b0c9cb66dade
extra : source : 7f74d7629be432b0df984d6464a2ba44de27dede
2018-06-20 19:06:38 -04:00
Jared Wein
dbaa85bf42
Bug 1427961 - Regular expression validation for zip/postal codes. r=MattN
...
MozReview-Commit-ID: 208vx9SBcrq
--HG--
extra : rebase_source : 7f1eca0999bf561ab95968ad6382b2df283a87c2
extra : source : 94a1d54ae6fabdd25f80d276ca5d159a431b6052
2018-06-20 17:46:05 -04:00
Sam Foster
4cf8d4350f
Bug 1463608 - Expose FormAutofill computeFields methods, use them for temporary records in payments. r=MattN
...
* Test helpers for cards
* Refactor the test_add_link test to test in private & non-private window
MozReview-Commit-ID: AeVJOkSwQps
--HG--
extra : rebase_source : 6e8380826bcac87bc408ff75a6a398b5c4f6cafa
2018-05-30 16:56:25 -07:00
Mark Banner
b30ac6aacd
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
Matthew Noorenberghe
8378baa979
Bug 1466720 - Don't reload l10n.js in the PaymentRequest scope on a refresh. r=sfoster
...
There was an error trying to redefine variables from l10n.js via loadSubScript. We really only need
it loaded once like a frame script but I had to fix the l10n.js code to handle this properly.
MozReview-Commit-ID: EbNrEaRQJbs
--HG--
extra : rebase_source : 6e544dd61798ebe3865ca108e59392a1319d7eeb
2018-06-11 00:03:47 -07:00