Brian Grinstead
08992fb8e8
Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
...
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222
Differential Revision: https://phabricator.services.mozilla.com/D28559
--HG--
extra : moz-landing-system : lando
2019-04-24 19:43:57 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Jared Wein
d5e162396a
Bug 1474905 - Don't disable the Save button if the form is empty or not. Instead rely on form validation preventing the Save. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D14642
--HG--
extra : moz-landing-system : lando
2018-12-20 22:10:00 +00:00
Jared Wein
4bf1467ca5
Bug 1474905 - Use a dropdown for the state/province field when possible. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D11854
--HG--
extra : moz-landing-system : lando
2018-12-20 22:10:00 +00:00
Cosmin Sabou
1d49103119
Backed out changeset c4d1729c029e (bug 1474905) for browser chrome failures on browser_editCreditCardDialog.js. CLOSED TREE
2018-12-14 21:44:32 +02:00
Jared Wein
91e9a06355
Bug 1474905 - Use a dropdown for the state/province field when possible. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D11854
--HG--
extra : moz-landing-system : lando
2018-12-14 18:52:19 +00:00
Jared Wein
9d2ad063d8
Bug 1483412 - Make the telephone number field required on the payer form if requestPayerPhone is true. r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D10597
--HG--
extra : moz-landing-system : lando
2018-11-01 22:38:03 +00:00
Matthew Noorenberghe
3652e471de
Bug 1496069 - Properly pass noValidate to EditAddress and set @novalidate. r=jaws
...
Differential Revision: https://phabricator.services.mozilla.com/D8808
--HG--
extra : moz-landing-system : lando
2018-10-16 18:01:35 +00:00
Jared Wein
416ff8c392
Bug 1481972 - Add remaining countries to address autofill countries list. r=MattN
...
Saving and filling the countries via Form Autofill will still be limited to certain countries
but this allows the storage to be useful for Web Payments in other countries.
Differential Revision: https://phabricator.services.mozilla.com/D5194
--HG--
extra : amend_source : c6810478b747cf51aaaafa73f83682cb23711231
2018-09-23 23:50:03 -07:00
Matthew Noorenberghe
ddbfdc7178
Bug 1480886 - Position the form fields for the address-form and basic-card-form according to the spec. r=sfoster
...
Based on work by Jared Wein.
A follow-up will handle the persist checkbox and billing address.
Differential Revision: https://phabricator.services.mozilla.com/D4174
--HG--
extra : rebase_source : 2d06beed9083f5f565ed83f8ec0fdcaf66b10eea
2018-08-28 15:34:50 -07:00
Matthew Noorenberghe
7e8909079a
Bug 1480886 - Move the autofill country warning message out of the <form>. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D4164
--HG--
extra : rebase_source : bcf2f541297b653a7c30badd74de56a57ee93806
2018-08-23 14:00:25 -07:00
Dorel Luca
5d1ad5e454
Backed out 2 changesets (bug 1480886) for browser-chrome failures on browser/extensions/formautofill/test/browser/browser_editAddressDialog.js. CLOSED TREE
...
Backed out changeset 55f933e0609f (bug 1480886)
Backed out changeset 63b68934f813 (bug 1480886)
2018-08-29 01:06:38 +03:00
Matthew Noorenberghe
38d855ba7c
Bug 1480886 - Position the form fields for the address-form and basic-card-form according to the spec. r=sfoster
...
Based on work by Jared Wein.
A follow-up will handle the persist checkbox and billing address.
Differential Revision: https://phabricator.services.mozilla.com/D4174
--HG--
extra : rebase_source : ebca2596db11846da171ddc7d34db3dd6e161a6f
2018-08-24 16:49:53 -07:00
Matthew Noorenberghe
6a14238016
Bug 1480886 - Move the autofill country warning message out of the <form>. r=sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D4164
--HG--
extra : rebase_source : 3ffb645eba707b1968339977dd69d99aed2dc9c3
2018-08-23 14:00:25 -07:00
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
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
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
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
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
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
Matthew Noorenberghe
6037c8df23
Bug 1455151 - Support subdialog sizing of HTML documents from a stylesheet and use it for autofill edit dialogs. r=jaws
...
MozReview-Commit-ID: GeHPhFTnCIz
--HG--
extra : rebase_source : 04424be53d5ed1dbc222194c5a39c77a65f3b37b
2018-04-18 16:12:15 -07:00
Matthew Noorenberghe
97c64f8ecf
Bug 1427954 - Pass getFormFormat to EditAddress. 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: 6Kzq94m5hnZ
--HG--
extra : rebase_source : 6acbc6c19677b517649dc8f500f413656e6bf711
2018-03-14 18:11:22 -07:00
Matthew Noorenberghe
20d07e9fd2
Bug 1427954 - Pass supported and default countries to EditAutofillForm and move loadInitialValues. 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: 4KITOMz7Uxh
--HG--
extra : rebase_source : 0461cb9335e24c4e853efaab5ea3c80e36ab2597
2018-03-14 18:11:36 -07:00
Matthew Noorenberghe
a1b80e17b9
Bug 1427954 - Move autofill edit dialog l10n to mutation observers. r=sfoster
...
MozReview-Commit-ID: 5jSj0xPBTQj
--HG--
extra : rebase_source : c673bee489ae495b3842a4bac71b9246175659b8
2018-03-14 18:12:00 -07:00
Matthew Noorenberghe
90954ade18
Bug 1427954 - Split autofill dialog logic from field logic. r=sfoster
...
We want to re-use the field/form logic but not the dialog-specific logic so this separates them out.
Custom Elements aren't enabled by default yet so we can't use them yet.
MozReview-Commit-ID: 60hMpgSOmpp
--HG--
rename : browser/extensions/formautofill/content/editDialog.js => browser/extensions/formautofill/content/autofillEditForms.js
extra : rebase_source : c75c68793e7e37f5fbb7a438d1419632975074fe
2018-03-14 18:12:38 -07:00
Matthew Noorenberghe
453586515e
Bug 1427954 - Don't pass child elements into the constructor. r=sfoster
...
MozReview-Commit-ID: 2iqHks0yD0v
--HG--
extra : rebase_source : 596a583069c9178a00be61dc78af92e27289ce20
2018-03-14 18:12:58 -07:00
Scott Wu
28ec1e0925
Bug 1416503 - Add RTL support for Form Autofill preference dialogs. r=lchang
...
MozReview-Commit-ID: BgvAOxWBLf4
--HG--
extra : rebase_source : 239eb44bb40c01d66e0755b181d52d5ce5f09b3a
2018-01-10 12:09:49 +08:00
Scott Wu
cefdf5737a
Bug 1383687 - Order edit dialog fields based on country selected. r=lchang,steveck
...
MozReview-Commit-ID: 1qPxvHhNGtK
--HG--
extra : rebase_source : 12d892ce9c30f70b3fb5dd48c17744e23f45a604
2017-11-03 16:24:30 +08:00
Scott Wu
045d790150
Bug 1417843 - Add supportedCountries pref to configure which countries are supported. r=lchang,steveck
...
MozReview-Commit-ID: 13m1ezHcR8n
--HG--
extra : rebase_source : 4820c37143af678dd5a72b76622fc88be0ed11c4
2017-11-17 17:15:56 +08:00
Scott Wu
38bfa383f7
Bug 1412230 - Replace the word "Company" with "Organization". r=flod,lchang
...
MozReview-Commit-ID: 6e8dm5QMbxk
--HG--
extra : rebase_source : b5b6fff6f0b60147ba1c8426aa3bf30a4d8c39b5
2017-10-27 16:20:44 +08:00
Scott Wu
0e5bedff9a
Bug 1407530 - Update formautofill.properties string IDs and localization notes. r=flod,lchang
...
MozReview-Commit-ID: uHWhQmrVgu
--HG--
extra : rebase_source : d4994a174dd6b4935f442f862f4fae09798fcbfb
2017-10-11 18:19:35 +08:00
Scott Wu
f3435c3005
Bug 1370764 - (Part 2) Create a dialog to add/edit/view a credit card entry. r=lchang
...
MozReview-Commit-ID: 7d6cfcShrwc
--HG--
rename : browser/extensions/formautofill/skin/linux/editAddress.css => browser/extensions/formautofill/skin/linux/editDialog.css
rename : browser/extensions/formautofill/skin/osx/editAddress.css => browser/extensions/formautofill/skin/osx/editDialog.css
rename : browser/extensions/formautofill/skin/windows/editAddress.css => browser/extensions/formautofill/skin/windows/editDialog.css
extra : rebase_source : 0f655f55010a00678ab4dd0e17fe06aa7c7533c8
2017-08-11 15:31:57 +08:00
Scott Wu
33428945d9
Bug 1370764 - (Part 1) Rename editAddress files to editDialog. r=lchang
...
MozReview-Commit-ID: LxETrvltB2G
--HG--
rename : browser/extensions/formautofill/content/editAddress.js => browser/extensions/formautofill/content/editDialog.js
rename : browser/extensions/formautofill/skin/shared/editAddress.css => browser/extensions/formautofill/skin/shared/editDialog.css
extra : rebase_source : dfd586730c7021c06e703b8c0e29edcdb2576429
2017-08-22 14:28:31 +08:00
Scott Wu
1d1dd82de6
Bug 1385813 - [Form Autofill] Set the width of edit address dialog on html markup rather than in css r=lchang
...
MozReview-Commit-ID: FtpIt0G76O9
--HG--
extra : rebase_source : 2d01bbd53e6b6ee6140f595dece4a9ca27918526
2017-07-31 16:48:57 +08:00
Scott Wu
247c04c888
Bug 1377360 - [Form Autofill] Move warning message from the manage addresses dialog to the edit address dialog. r=lchang
...
MozReview-Commit-ID: IuZpHQ6hyBo
--HG--
extra : rebase_source : 6246c9e10cf0d911971b6e3db2c5829cc2c7770b
2017-07-28 17:37:23 +08:00
Scott Wu
5b2f66044f
Bug 1375799 - (Part 1) [Form Autofill] Use localized strings instead of hardcoded strings. r=lchang,MattN
...
MozReview-Commit-ID: DgWLFN2EDc8
--HG--
extra : rebase_source : ab7545bbc09d57d2cb043506738e51cda9b4b33d
2017-06-29 16:23:44 -07:00
Scott Wu
884f15c439
Bug 1376642 - (Part 2) Replace "profile" with "address" in formautofill file content. r=lchang
...
MozReview-Commit-ID: CJF7HpGjZaQ
--HG--
extra : rebase_source : c97b5615f6d65292acb3d98e29bbe453c624d457
2017-07-26 13:59:50 +08:00
Scott Wu
88ca381eed
Bug 1376642 - (Part 1) Rename files with the word "profile" with "address" in formautofill. r=lchang
...
MozReview-Commit-ID: CITYezz57Et
--HG--
rename : browser/extensions/formautofill/content/editProfile.js => browser/extensions/formautofill/content/editAddress.js
rename : browser/extensions/formautofill/content/editProfile.xhtml => browser/extensions/formautofill/content/editAddress.xhtml
rename : browser/extensions/formautofill/content/manageProfiles.css => browser/extensions/formautofill/content/manageAddresses.css
rename : browser/extensions/formautofill/content/manageProfiles.js => browser/extensions/formautofill/content/manageAddresses.js
rename : browser/extensions/formautofill/content/manageProfiles.xhtml => browser/extensions/formautofill/content/manageAddresses.xhtml
rename : browser/extensions/formautofill/skin/linux/editProfile.css => browser/extensions/formautofill/skin/linux/editAddress.css
rename : browser/extensions/formautofill/skin/osx/editProfile.css => browser/extensions/formautofill/skin/osx/editAddress.css
rename : browser/extensions/formautofill/skin/shared/editProfile.css => browser/extensions/formautofill/skin/shared/editAddress.css
rename : browser/extensions/formautofill/skin/windows/editProfile.css => browser/extensions/formautofill/skin/windows/editAddress.css
rename : browser/extensions/formautofill/test/browser/browser_editProfileDialog.js => browser/extensions/formautofill/test/browser/browser_editAddressDialog.js
rename : browser/extensions/formautofill/test/browser/browser_manageProfilesDialog.js => browser/extensions/formautofill/test/browser/browser_manageAddressesDialog.js
extra : rebase_source : 2408257636b0ff0927632bb542320d517caa1ed2
2017-07-26 14:39:58 +08:00