Commit Graph

16 Commits

Author SHA1 Message Date
Florian Quèze
fe6d70f81a Bug 1523609 - avoid triggering nsChromeRegistryChrome::CheckForNewChrome (which does main thread I/O) during shutdown of system add-ons, r=kmag.
Differential Revision: https://phabricator.services.mozilla.com/D22380
2019-03-22 14:19:59 +00:00
Ciure Andrei
fab9ab537a Backed out changeset 99b6adafbfa3 (bug 1523609) for causing nsCOMPtr asertion failures and nsIAppStartup failures CLOSED TREE 2019-03-22 15:43:00 +02:00
Florian Quèze
3a196172a3 Bug 1523609 - avoid triggering nsChromeRegistryChrome::CheckForNewChrome (which does main thread I/O) during shutdown of system add-ons, r=kmag.
Differential Revision: https://phabricator.services.mozilla.com/D22380
2019-03-22 12:11:51 +00:00
Matthew Noorenberghe
ffe6d2ba1f Bug 1474143 - Don't load FormAutofillContent.jsm until it's needed. r=Felipe
Switch to using DOMFormBeforeSubmit event instead of earlyformsubmit observer notifications.

Differential Revision: https://phabricator.services.mozilla.com/D16656
2019-02-23 00:26:03 +00:00
Ciure Andrei
52e4d1503d Backed out 10 changesets (bug 1474143) for perma failing browser_markup_events_01.js CLOSED TREE
Backed out changeset 1b5d04866585 (bug 1474143)
Backed out changeset 78bfb4dd1f6a (bug 1474143)
Backed out changeset 85ec4f1f5f60 (bug 1474143)
Backed out changeset 5c112b77e489 (bug 1474143)
Backed out changeset 5d35599598bb (bug 1474143)
Backed out changeset 9fd0d7a7946f (bug 1474143)
Backed out changeset 1a83be7a75ca (bug 1474143)
Backed out changeset 2fc9b13171d0 (bug 1474143)
Backed out changeset 3983d7b6d9ad (bug 1474143)
Backed out changeset 9fe55dd58cd8 (bug 1474143)
2019-02-22 21:16:49 +02:00
Matthew Noorenberghe
890ea43353 Bug 1474143 - Don't load FormAutofillContent.jsm until it's needed. r=Felipe
Switch to using DOMFormBeforeSubmit event instead of earlyformsubmit observer notifications.

Differential Revision: https://phabricator.services.mozilla.com/D16656
2019-02-22 15:13:40 +00:00
Kris Maglione
856fa07b17 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
2019-01-17 10:18:31 -08:00
Andrew Swan
7ac5554015 Bug 1484325 Go back to chrome.manifest for formautofill locale registration r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D6690
2018-09-25 06:03:20 +00:00
Zibi Braniecki
a968635d1d Bug 1491394 - Update callsites to use new mozILocaleService API. r=jfkthame
Depends on D5924

Differential Revision: https://phabricator.services.mozilla.com/D6339
2018-09-21 15:30:37 +00:00
Kris Maglione
f6a4413b4c Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729
2018-08-18 19:27:33 -07:00
Matthew Noorenberghe
ff288ccf31 Bug 1483672 - Inject the autofill autocomplete-item stylesheets like formautofill.css. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D3442
2018-08-15 14:09:50 -07:00
Andrew Swan
55fc05863b Bug 1449055 Convert formautofill to a webextension r=MattN,kmag 2018-07-28 14:06:07 -07:00
Csoregi Natalia
8a5f107d51 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)
2018-08-16 00:15:19 +03:00
Andrew Swan
bf11da23d1 Bug 1449055 Convert formautofill to a webextension r=MattN,kmag 2018-07-28 14:06:07 -07:00
Dorel Luca
cc2c555306 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)
2018-08-14 05:31:58 +03:00
Andrew Swan
e983be17d7 Bug 1449055 Convert formautofill to a webextension r=MattN,kmag 2018-07-28 14:06:07 -07:00