Commit Graph

434 Commits

Author SHA1 Message Date
Kris Maglione
bb663b9c15 Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
MozReview-Commit-ID: Fqlv5BRuuW8
2018-06-25 19:30:21 -07:00
Kris Maglione
188b8c3938 Bug 1464743: Restore extension child shutdown timeout. r=aswan
MozReview-Commit-ID: 8O6CgKsOwom
2018-06-06 12:43:26 -07:00
Luca Greco
fb1814a3e1 Bug 1406181 - Add ExtensionStorageIDB JSM module. r=aswan
This patch defined a new ExtensionStorageIDB module, which provides the
same "internal" API currently provided by ExtensionStorage and uses
IndexedDB as its backend (instead of the JSONFile used as the backend
provided by ExtensionStorage).

MozReview-Commit-ID: DsvPudExcyr
2017-10-17 04:12:15 +02:00
Andrew Swan
84ecc06250 Bug 1369841 Make browser.runtime.onMessage and onConnect persistent r=zombie
MozReview-Commit-ID: 4LdBeEERtsD
2018-05-29 17:40:53 -07:00
Cosmin Sabou
0f5163a609 Backed out 10 changesets (bug 1406181) as per developers request.
Backed out changeset 06461ddb2699 (bug 1406181)
Backed out changeset fd61d9faedf0 (bug 1406181)
Backed out changeset b52c2fb70ae1 (bug 1406181)
Backed out changeset 4f387b4a76a9 (bug 1406181)
Backed out changeset db783c96c076 (bug 1406181)
Backed out changeset 62e9126ecd0d (bug 1406181)
Backed out changeset d34810cab822 (bug 1406181)
Backed out changeset 3241c2dfb296 (bug 1406181)
Backed out changeset 912a2eaf4d26 (bug 1406181)
Backed out changeset fdac47b8ef20 (bug 1406181)
2018-06-03 16:10:23 +03:00
Andreea Pavel
6eb96b6639 Backed out changeset 5cd398cc6a4b (bug 1369841) for failing browser chrome at browser/components/extensions/test/browser/browser_ext_legacy_extension_context_contentscript.js on a CLOSED TREE 2018-06-03 00:48:16 +03:00
Andrew Swan
6eb7210624 Bug 1369841 Make browser.runtime.onMessage and onConnect persistent r=zombie
MozReview-Commit-ID: 4LdBeEERtsD
2018-05-29 17:40:53 -07:00
Luca Greco
c751280589 Bug 1406181 - Add ExtensionStorageIDB JSM module. r=aswan
This patch defined a new ExtensionStorageIDB module, which provides the
same "internal" API currently provided by ExtensionStorage and uses
IndexedDB as its backend (instead of the JSONFile used as the backend
provided by ExtensionStorage).

MozReview-Commit-ID: DsvPudExcyr
2017-10-17 04:12:15 +02:00
Kris Maglione
669dbbed5a Bug 1461145: Follow-up: Fix more racy tests. r=bustage CLOSED TREE
MozReview-Commit-ID: 7uep5FCvVwC
2018-05-27 17:53:01 -07:00
Kris Maglione
e73e77bb9c Bug 1457321: Part 3 - Load built-in dictionaries from omnijar rather than scanning directories. r=aswan,ehsan
MozReview-Commit-ID: CgYHrcJsYfE
2018-04-27 13:43:50 -07:00
Kris Maglione
e2dad07746 Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Kris Maglione
93c85d42c4 Bug 1456485: Part 2 - Allow extensions with the mozillaAddons permission to match restricted schemes. r=zombie
The schema handling for this is currently a bit ugly, for the sake of
simplifying uplift. In the figure, we should find a way to change the schema
pattern matching based on whether or not the extension is privileged.

MozReview-Commit-ID: CU9WR2Ika6k
2018-05-09 18:55:59 -07:00
Kris Maglione
00f580d240 Bug 1460748: Load the correct affix file for WebExtension dictionaries. r=aswan
MozReview-Commit-ID: 1arZbiexgma
2018-05-10 15:42:29 -07:00
Andrew Swan
ec3ff5b7af Bug 1457224 Clean up extension testing helpers r=zombie
- Remove outdated appChanged logic from test helper function to start
  the AddonManager
- Avoid calling to the AddonManager in webextension tests that don't
  otherwise require the AddonManager

MozReview-Commit-ID: Fx4o1TzXTCd
2018-04-30 13:01:10 -07:00
Zibi Braniecki
a2cf94f8a4 Bug 1455766 - Handle langpacks versions properly. r=aswan
MozReview-Commit-ID: HhY5SQOtFl7
2018-04-26 14:01:26 -07:00
Jonathan Kingston
c285bde064 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Cosmin Sabou
50d85b561e Backed out changeset 5e8342edb62d (bug 1454820) mochitest e-10s failures on test_bug386782.html. CLOSED TREE 2018-04-27 19:50:26 +03:00
Jonathan Kingston
131c049368 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Cosmin Sabou
dc16ce0787 Backed out changeset 7e3aa63ae752 (bug 1454820) for ESlint failure on extensions/Extension.jsm:509:22. CLOSED TREE 2018-04-27 14:46:19 +03:00
Jonathan Kingston
6243245712 Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa
2018-04-18 00:43:39 +01:00
Kris Maglione
7334f58a19 Bug 1410214: Part 3 - Support packed WebExtension dictionaries. r=aswan,masayuki
MozReview-Commit-ID: 6nrw0IIe4UG
2018-04-26 13:26:05 -07:00
Kris Maglione
cfea814c3f Bug 1410214: Part 1 - Implement support for WebExtension-style dictionary add-ons. r=aswan,gandalf
MozReview-Commit-ID: 3oylyEBgrzB
2018-04-26 13:32:38 -07:00
Kris Maglione
d380a39518 Bug 1452307: Remove support for old-style experiment API extensions. r=aswan
MozReview-Commit-ID: 5y48pMRQ5XW
2018-04-06 18:14:59 -07:00
Andrew Swan
c259b80387 Bug 1450388 Part 2: Expose startupData to webextensions r=kmag
MozReview-Commit-ID: AbqR3hECLZe
2018-03-21 10:22:13 -07:00
Kris Maglione
245ac6e82e Bug 1446821: Add shutdown blocker for async extension uninstall tasks. r=mixedpuppy
MozReview-Commit-ID: AMHkqviDMoV
2018-03-18 13:59:56 -07:00
Tiberius Oros
0e49912cc8 Merge inbound to mozilla-central. a=merge 2018-03-01 19:29:00 +02:00
Zibi Braniecki
6c6df6d6b7 Bug 1441135 - Stash all data needed for langpack startup in the startupCache. r=aswan
MozReview-Commit-ID: 763VkrRGvCq
2018-02-27 10:55:19 -08:00
Andrew Swan
d3734cd97e Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
MozReview-Commit-ID: 1cnNsWLVGmg
2017-11-08 17:14:11 -08:00
Cosmin Sabou
c196290814 Backed out 2 changesets (bug 1402850) for mochitest browser chrome failures at browser_ext_devtools_inspectedWindow.js on a CLOSED TREE
Backed out changeset 839b847c943e (bug 1402850)
Backed out changeset 85b12303f147 (bug 1402850)
2018-02-28 23:13:23 +02:00
Andrew Swan
e983157676 Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
MozReview-Commit-ID: 1cnNsWLVGmg
2017-11-08 17:14:11 -08:00
Narcis Beleuzu
f3516c5f38 Backed out 1 changesets (bug 1441135) for xpcshell failures on test_webextension_langpack.js. CLOSED TREE
Backed out changeset f027c3d45c47 (bug 1441135)
2018-03-01 03:17:44 +02:00
Zibi Braniecki
886c71ffaa Bug 1441135 - Stash all data needed for langpack startup in the startupCache. r=aswan
MozReview-Commit-ID: 763VkrRGvCq
2018-02-27 10:55:19 -08:00
Florian Quèze
f1a55f73f8 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Prathiksha
1667cf617f Bug 1431242 - Use popupnotification's built-in bolding for webextension prompts. r=aswan,johannh
MozReview-Commit-ID: 52AtWUlJj4p
2018-01-19 23:34:25 +05:30
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
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
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
Brindusan Cristian
483ba301cb 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
683a97d172 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
Kris Maglione
ea6106fdbf Bug 1323845: Follow-up: Fix more bustage. r=bustage
MozReview-Commit-ID: 4YNzTYNy0Hh
2018-01-12 18:45:46 -08:00
Kris Maglione
661ea33e42 Bug 1323845: Part 6a - Support WebExtension-style experiment API provider extensions. r=aswan
MozReview-Commit-ID: E1IBFyzEwqU
2018-01-09 17:20:55 -08:00
Kris Maglione
3ad29270e5 Bug 1323845: Part 5a - Allow extensions to bundle experiment API modules. r=aswan
MozReview-Commit-ID: 5suo2MqM51V
2018-01-09 16:28:36 -08:00
Kris Maglione
7e301703f8 Bug 1323845: Part 4 - Add Extension.isPrivileged property. r=aswan
MozReview-Commit-ID: 1ZLVdu4ccWk
2017-12-19 17:31:03 -08:00
Kris Maglione
a96e1007ac Bug 1323845: Part 2c - Lazy init API global only when APIs are first loaded. r=aswan
MozReview-Commit-ID: B1bbiM0j5gT
2018-01-09 16:07:45 -08:00
Kris Maglione
2d3a2b7f99 Bug 1323845: Part 2a - Support separate API managers for each extension. r=aswan
MozReview-Commit-ID: 5gGsMm1ahd
2017-12-16 15:33:23 -06:00
Andrew Swan
7a8a1b3fa7 Bug 1426363 Fix host permission parsing for permission strings r=rpl a=abillings
MozReview-Commit-ID: BeisQwgKak9
2017-12-21 11:37:34 -08:00
Andrew Swan
e53f9296c7 Bug 1426259: Revamp processing of manifest.json for themes r=kmag
MozReview-Commit-ID: 6dWy8wwrobY
2017-12-20 16:06:50 -08:00
Andrew Swan
9ae021cd5e Bug 1423425 Make some extensions comments jsdoc-compatible r=kmag
MozReview-Commit-ID: 3mUKR9IuEKA
2017-12-05 18:53:15 -08:00
Cosmin Sabou
e0a5c2495c Backed out 3 changesets (bug 1423425) for frequent browser chrome failures r=backout on a CLOSED TREE
Backed out changeset c3ac950b0b8a (bug 1423425)
Backed out changeset d64fd69a4b88 (bug 1423425)
Backed out changeset 04017639642a (bug 1423425)
2017-12-16 02:45:41 +02:00