Commit graph

49 commits

Author SHA1 Message Date
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
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
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
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
Mike Conley
777a5d84f8 Bug 1464405 - Register FormAutofill resource URIs before checking if the feature should be enabled. r=MattN
MozReview-Commit-ID: JU93hA0NBgL

--HG--
extra : rebase_source : dca1bef47e7e8dfcf5d059be667020e7bac83033
2018-05-28 09:50:21 -07:00
Kris Maglione
5edc701bb6 Bug 1446585: Remove support for resource entries in bootstrapped chrome.manifest files. r=aswan,MattN,k88hudson
MozReview-Commit-ID: EjymzU6koYX

--HG--
extra : rebase_source : 7b4fc250b5be0f2c16f3797eafb61e7c3955309d
2018-03-16 20:18:46 -07:00
Matthew Noorenberghe
435d1b3ea3 Bug 1438306 - Disable CA & DE country support and RTL support for Form Autofill in Beta 59+. r=Dolske
MozReview-Commit-ID: IBtrvEsIWtH

--HG--
extra : rebase_source : ade073df3071d03c7f2370e099725640dc42c701
2018-02-14 13:41:27 -08:00
Andrew McCreight
5dec0e0beb 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

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 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

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 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

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Scott Wu
8a1ada22ac Bug 1419312 - Expand supported locales and countries on Nightly and Beta. r=lchang
MozReview-Commit-ID: 8MziULBn05l

--HG--
extra : rebase_source : 9b3117e20e94e530f74f1d6a6c168c4c7ea33f28
2018-01-15 18:31:08 +08:00
Luke Chang
38cd380efa Bug 1421551 - Make FormAutofillParent singleton and expose the initialized status. r=MattN
MozReview-Commit-ID: IMd25HcNTMa

--HG--
extra : rebase_source : 1cbb863199fc78074d7ab8a5547c87cb8b3f8c58
2017-11-29 17:02:59 +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
steveck-chung
009db8012b Bug 1395123 - Unhide credit cards sync engine by default. r=lchang,markh
MozReview-Commit-ID: 4WzzW327PTe

--HG--
extra : rebase_source : 6313ebe75131aba4de7a168c20ee3841a173f402
2017-09-11 11:55:05 +08:00
steveck-chung
4006388b95 Bug 1386959 - [Form Autofill] Add probe for form autofill availability. r=francois,lchang
MozReview-Commit-ID: KPOBxmHOiuK

--HG--
extra : rebase_source : d56176249f8b5417151a4953b080ae2a8d2acd81
2017-08-14 11:56:19 +08:00
Mark Hammond
1f668f52d6 Bug 1385179 - Enable addresses sync engine as formautofill initializes. r=MattN
MozReview-Commit-ID: BPikY3wM8Df

--HG--
extra : rebase_source : 25b6cb370238453e80d0ea0a7ea4f1c999715969
2017-08-08 15:07:10 +10:00
Luke Chang
e0f4586d33 Bug 1385196 - [Form Autofill] Enable the feature based on locale and geoip. r=MattN
MozReview-Commit-ID: 3yvCJvB5zdT

--HG--
extra : rebase_source : 3fa5a79f02608153e6301f74433b2647b6a0c478
2017-08-10 21:36:34 -07:00
Matthew Noorenberghe
c49ae5ce3f Bug 1388078 - Form Autofill: Delay adding the AOM upgrade listener until the XPI DB is loaded. r=rhelmer
MozReview-Commit-ID: CPeAOrWhEVu

--HG--
extra : rebase_source : 4d06c9ab80f57e545f9c45fca7f9a7306a2a1586
2017-08-10 21:32:07 -07:00
Matthew Noorenberghe
cb484a7a5a Bug 1387611 - Delay formautofill system add-on updates until the next restart. r=lchang
MozReview-Commit-ID: 6f4FhTg0KaA

--HG--
extra : rebase_source : 17926e3f4139f1d91bd4e18c369dc0a0441562d6
2017-08-04 15:44:34 -07:00
Luke Chang
a60663c35d Bug 1386120 - Flip "dom.forms.autocomplete.formautofill" according to the availability of Form Autofill feature. r=MattN,steveck
MozReview-Commit-ID: 3kyDsQL15SO

--HG--
extra : rebase_source : d00ababee6e98bb1db24b04dd0aafa8dc79f12de
2017-08-01 14:01:53 +08:00
Sebastian Hengst
fad2a3a6b9 Backed out changeset ec2ab90ea263 (bug 1386120) for failing xpcshell's test_Macys.js and test_isFieldEligibleForAutofill.js. r=backout 2017-08-03 11:18:53 +02:00
Luke Chang
6f988e20c3 Bug 1386120 - Flip "dom.forms.autocomplete.formautofill" according to the availability of Form Autofill feature. r=MattN,steveck
MozReview-Commit-ID: 3kyDsQL15SO

--HG--
extra : rebase_source : 7eeb590873481e6c3ac6d3589eb7640f88ca36de
2017-08-01 14:01:53 +08:00
Luke Chang
6cab6486e4 Bug 1385201 - [Form Autofill] Rename "extensions.formautofill.experimental". r=MattN
MozReview-Commit-ID: 8SRu5PoQcMO

--HG--
extra : rebase_source : b841b8890b2c0bf607f677cdd9a824ef3e4e63e5
2017-07-28 15:50:48 +08:00
Matthew Noorenberghe
617b1fb255 Bug 1364477 - Only append formautofill.css the first time autocomplete is opening. r=lchang,ralin
MozReview-Commit-ID: NF5wEuqp4r

--HG--
extra : rebase_source : c973f678908e6118a02ebbfab921b89e0f87c600
2017-05-17 23:28:00 -07:00
Matthew Noorenberghe
903659e0dc Bug 1364334 - Rename "browser.formautofill.*" prefs to "extensions.formautofill.*". r=lchang
MozReview-Commit-ID: HT8zSS1s6hN

--HG--
extra : rebase_source : 9ef3966e610116f912af4c66daf2c5f37e0f84c4
2017-05-11 23:34:00 -07:00
Wes Kocher
02bf8c4425 Merge m-c to inbound, a=merge
MozReview-Commit-ID: FfNikA7un6F
2017-05-10 17:31:18 -07:00
Matthew Noorenberghe
6d13b289cd Bug 1361560 - Enable Form Autofill by default on Nightly. r=lchang
MozReview-Commit-ID: Ekei9H3nnGW

--HG--
extra : rebase_source : 91899aa99c9581218902400c00f57fe4bff998a5
2017-05-10 15:04:53 -07:00
Mark Hammond
9761a9f6b7 Bug 1361965 - Provide access to a formautofill storage singleton. r=lchang
MozReview-Commit-ID: 6IbeuOmONxb

--HG--
extra : rebase_source : 44c5c1536b41457e945ab3e00466489929e163ff
2017-05-04 18:25:46 +10:00
Gabor Krizsanits
eb829f971b Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
To mitigate the delay that a new content process startup might cause, when the
browser reaches a non-busy state we attempt to prelaunch an empty content process
in the background that can be grabbed and used the next time we need one. This patch
enables the preallocated process manager by default and attempts to fix all the
issues that prevented us doing this sooner.
2017-05-03 12:00:20 +02:00
Scott Wu
ce51bf1325 Bug 1019471 - Create a dialog to add/edit/view an autofill profile. r=MattN
MozReview-Commit-ID: avVGZAYq0y

--HG--
extra : rebase_source : 4ad8642bd1ca395209272d8eff061410c655d326
2017-03-08 20:30:59 -05:00
Ray Lin
28aeff702e Bug 1326138 - Add a new profile item binding. r=MattN
MozReview-Commit-ID: KzbnQteM1pY

--HG--
extra : rebase_source : e1d8f1a15c7a72f8afc96613325a5db0c746ebf2
2017-01-24 23:32:17 +08:00
Sebastian Hengst
8b37a3cb66 Backed out changeset 4aef71d8a987 (bug 1326138) 2017-02-15 10:01:32 +01:00
Ray Lin
f203d9afbf Bug 1326138 - Add a new profile item binding. r=MattN
MozReview-Commit-ID: KzbnQteM1pY

--HG--
extra : rebase_source : 3687f58bae0d13182a14622fe2d75cdbbd9a7e76
2017-01-24 23:32:17 +08:00
Matthew Noorenberghe
1c46be9433 Bug 1333682 - Split FormAutofillContent.js into a few JSMs shared for the process. r=seanlee
MozReview-Commit-ID: BpnLzuI1DvW

--HG--
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2017-02-14 14:18:32 +08:00
steveck-chung
918291a57e Bug 1330567 - Part 1: Fallback to form history if form autofill pref is disabled, r=MattN
MozReview-Commit-ID: Aq8NhSkxNId

--HG--
extra : rebase_source : 20c4c8aafabcce7c2f4af05c41b3c1989bd9f5d7
2017-02-08 14:13:59 +08:00
Scott Wu
cfee8bb73f Bug 1326153 - Change Form Autofill feature flag to browser.formautofill.experimental r=MattN
MozReview-Commit-ID: 6QF0RVLRS61

--HG--
extra : rebase_source : bb9146ec662c6b17fe5f9527367a7b598f6b6984
2016-12-29 16:09:33 +08:00
Matthew Noorenberghe
877c8752a1 Bug 1322622 - Make form autofill handler a frame script and load from bootstrap.js. r=steveck
MozReview-Commit-ID: DeIjzMytVxJ

--HG--
rename : browser/extensions/formautofill/FormAutofillContent.jsm => browser/extensions/formautofill/content/FormAutofillContent.js
extra : rebase_source : 5e62eb24e76bf58436e73267ebb8e872e42a71d2
2016-12-16 01:26:46 -05:00
Matthew Noorenberghe
6e48c96390 Bug 1303469 - Initial formautofill .eslintrc. r=rhelmer
MozReview-Commit-ID: 8rbFYPksUMi

--HG--
rename : toolkit/components/extensions/.eslintrc => browser/extensions/formautofill/.eslintrc
extra : histedit_source : 8022a4b4c7f57e6d79e947c3a72f5a7d67aef36f
2016-09-16 16:39:51 -07:00
Matthew Noorenberghe
6007ad04a9 Bug 1303469 - Stub form autofill system extension. r=rhelmer
MozReview-Commit-ID: JXbUQdCwXN0

--HG--
rename : browser/extensions/webcompat/bootstrap.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/webcompat/install.rdf.in => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/webcompat/moz.build => browser/extensions/formautofill/moz.build
rename : browser/extensions/webcompat/test/browser.ini => browser/extensions/formautofill/test/browser/browser.ini
rename : browser/extensions/webcompat/test/browser_webcompat_stub_check.js => browser/extensions/formautofill/test/browser/browser_check_installed.js
extra : histedit_source : 655db162ef67f733bdf80e5410f75da7dc6e5d36
2016-09-18 14:07:51 +08:00
Phil Ringnalda
628f2d79ca Backed out 2 changesets (bug 1303469) for unexpected file access failures in xperf
Backed out changeset 86b10c4dce3b (bug 1303469)
Backed out changeset 03f631f0fca7 (bug 1303469)
2016-09-17 09:13:36 -07:00
Matthew Noorenberghe
8b1cfd60f3 Bug 1303469 - Initial formautofill .eslintrc. r=rhelmer
MozReview-Commit-ID: 9EwAhB3galN

--HG--
rename : toolkit/components/extensions/.eslintrc => browser/extensions/formautofill/.eslintrc
extra : rebase_source : 9eee2d442bb4797dcfdf1ae189d6ca69a1b0b03a
2016-09-16 16:39:51 -07:00
Matthew Noorenberghe
92f681feff Bug 1303469 - Stub form autofill system extension. r=rhelmer
MozReview-Commit-ID: JXbUQdCwXN0

--HG--
rename : browser/extensions/webcompat/bootstrap.js => browser/extensions/formautofill/bootstrap.js
rename : browser/extensions/webcompat/install.rdf.in => browser/extensions/formautofill/install.rdf.in
rename : browser/extensions/webcompat/moz.build => browser/extensions/formautofill/moz.build
rename : browser/extensions/webcompat/test/browser.ini => browser/extensions/formautofill/test/browser/browser.ini
rename : browser/extensions/webcompat/test/browser_webcompat_stub_check.js => browser/extensions/formautofill/test/browser/browser_check_installed.js
extra : rebase_source : a12f29071588421b0c9ac0b560008abffb827341
2016-09-16 16:11:28 -07:00