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
Andrew Swan
80b2221edc
Bug 1423425 Make some extensions comments jsdoc-compatible r=kmag
...
MozReview-Commit-ID: 3mUKR9IuEKA
2017-12-05 18:53:15 -08:00
Kris Maglione
c8ea1d4273
Bug 1421459: Update to ESLint 4 "indent" rule. r=aswan
...
MozReview-Commit-ID: LxLDWlsIlSk
2017-11-28 14:13:59 -08:00
Luca Greco
8184c37696
Bug 1332273 - Support programmatically registered content scripts. r=baku,kmag
...
MozReview-Commit-ID: BiWlyYV7ZvB
2017-11-03 17:01:58 +01:00
Bob Silverberg
fb5f544d9c
Bug 1404584 Part 2: Convert ext-chrome-settings-overrides to use update and uninstall events, r=aswan,mkaply
...
MozReview-Commit-ID: KtagRbDz19S
2017-11-01 09:50:03 -04:00
Kris Maglione
5620aa14ff
Remove unused imports. r=trivial (no bug)
...
MozReview-Commit-ID: EEVSPkAgORY
2017-11-09 16:39:57 -08:00
Shane Caraveo
92cacc177d
Bug 1291399 remove references to getExtensionUUID, r=aswan
...
MozReview-Commit-ID: BMJSjCbk6iU
2017-10-17 17:02:06 -07:00
Andrew Swan
3100f8c769
Bug 1398762 Fix unparseable host permission warning r=mixedpuppy
...
MozReview-Commit-ID: B2YALdhEKJs
2017-10-27 17:07:29 -07:00
Andrew Swan
7b718daceb
Bug 1409245 Part 3 Handle update and uninstall events in WebExtensions r=kmag
...
This patch just forwards invocations of the bootstrap update() and
uninstall() methods to events that other parts of the WebExtension
framework can listen for. We have an existing event that fires while
an extension is being uninstalled. This event was named "uninstall"
but it gets renamed here to "onUninstalling" to disambiguate the two
events.
MozReview-Commit-ID: BIpIR8n9HBM
2017-10-25 20:49:14 -07:00
Zibi Braniecki
0d6a5e9794
Bug 1396467 - Add tests for the new langpacks consumption code. r=aswan
...
MozReview-Commit-ID: BFkV4MuRQh1
2017-10-06 01:05:31 +02:00
Sebastian Hengst
9be4575266
Backed out changeset b2232cf95183 (bug 1396467) for eslint failures in test_webextension_langpack.js. r=backout on a CLOSED TREE
2017-10-26 23:30:00 +02:00
Zibi Braniecki
be6688b821
Bug 1396467 - Add tests for the new langpacks consumption code. r=aswan
...
MozReview-Commit-ID: BFkV4MuRQh1
2017-10-06 01:05:31 +02:00
Andrew Swan
a8b1ca0c03
Bug 1280235 Part 2 Allow webextensions apis to be limited to "Mozilla Extensions" signed extensions r=kmag
...
MozReview-Commit-ID: DciT0fWTgef
2017-10-13 22:28:26 -07:00
Andrew Swan
726384a9e2
Bug 1408179 Fix manifestCacheKey for langpacks r=gandalf
...
MozReview-Commit-ID: Et0EyyTAi8x
2017-10-12 15:27:40 -07:00
Aastha Gupta
2dac70e25c
Bug 1346722 - Display permissions in alphabetical order. r=aswan
...
-Create a copy of the permissions array and sort it.
-Change permissions order in test
2017-10-06 21:58:13 +05:30
Andrew Swan
823b49bf3e
Bug 1405264 Part 2: Use startupData for new langpacks r=gandalf,kmag
...
Webextension-formatted langpacks now store their list of chrome
registry resources in startupData so that those resources can be
registered early in startup.
MozReview-Commit-ID: 80eOiPKLlWu
2017-10-04 13:29:20 -07:00
Ian Moody
97ee9868ec
Bug 1331769 - Properly check whether new origin permissions are a subset of old origin permissions. r=aswan
...
This prevents prompts occuring in cases where the new permissions are more
specific but still covered by the old permissions.
e.g.:
["<all_urls>"] -> ["<all_urls>", "*://*.example.com"]
["*://*.example.com"] -> ["http://subdomain.example.com "]
MozReview-Commit-ID: B685pJ6kTNa
2017-09-21 17:03:15 +01:00
Shane Caraveo
5592e73c3a
Bug 1393150 prevent remote extensions when e10s is off, r=bz,kmag
...
MozReview-Commit-ID: HjLLa9vx2UW
2017-09-14 15:12:45 -07:00
Andy McKay
e7e3246c12
Bug 1350277 - Remove duplicates when showing host permissons. r=aswan
...
MozReview-Commit-ID: 2GzUwFHuEe6
2017-09-13 13:41:21 -07:00
Kris Maglione
965b45b58c
Bug 1399646: Part 4 - Increase the extension shutdown blocker timeout. r=mixedpuppy
...
The current timeout was added to deal with some shutdown deadlocks that were
happining in the wild, but were hard to reproduce locally and therefore
diagnose. It's not clear whether the bulk of those have been fixed, so I'm
reluctant to remove the timeout entirely.
But the current 1s timeout is quite short, and doesn't allow for proper
cleanup in a lot of legitimate cases. The async shutdown service starts to
emit warnings at 10s, so 8s gives us enough time to avoid at least that.
MozReview-Commit-ID: 94zZjYUY8qZ
2017-09-13 08:58:37 -07:00
Andrew Swan
96f028a451
Bug 1398327 Part 1: Skip permission dialog access keys on Android r=zombie
...
MozReview-Commit-ID: 1rbludpEmdm
2017-09-11 14:25:23 -07:00
Sebastian Hengst
3da80f316b
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Tomislav Jovanovic
c2d83ea2fd
Bug 1394553 - Part 1: Implement "devtools" permission r=aswan
...
MozReview-Commit-ID: 89XUmZUhC65
2017-09-04 21:49:40 +02:00
Kris Maglione
19017b8170
Bug 1398630: Part 7 - Random cleanup. r=zombie
...
MozReview-Commit-ID: LibtXDKXrnA
2017-09-10 15:37:08 -07:00
Kris Maglione
c84df3a7c7
Bug 1398630: Part 6 - Avoid some avoidable uses of nsIURI. r=zombie
...
MozReview-Commit-ID: 18Wd3buFM38
2017-09-10 15:36:57 -07:00