Commit Graph

55 Commits

Author SHA1 Message Date
Kris Maglione
ce246a6039 Bug 1356891: Get rid of getAPILevelForWindow. r=mixedpuppy
MozReview-Commit-ID: 4IMnEiC5VAh
2017-04-16 08:32:59 -07:00
Kris Maglione
071cc27d73 Bug 1356816: Don't load Extension.jsm on startup just to set the browserUpdated flag. r=rhelmer
MozReview-Commit-ID: C0mtHeZ2cJ
2017-04-15 10:13:39 -07:00
Kris Maglione
bdb8ae3dfd Bug 1317697: Split ExtensionContent.jsm into a stub process script. r=mixedpuppy
MozReview-Commit-ID: 4vn0ERZiBQd
2017-04-14 17:00:51 -07:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Kris Maglione
e6a8ac0beb Bug 1355120: Get rid of top-level window ID tracking. r=aswan
MozReview-Commit-ID: y7DzMxXBot
2017-04-12 14:12:22 -07:00
Kris Maglione
115e1d5fce Bug 1344590: Part 4 - Store parsed and normalized extension data in indexedDB. r=aswan
MozReview-Commit-ID: HA0PJfbGa9w
2017-03-08 09:16:01 -08:00
Kris Maglione
be885c3aa9 Bug 1314361 - Part 2: Stop using addonId origin attribute for permission checks. r=billm 2016-11-04 15:16:50 -07:00
Luca Greco
851793228c Bug 1300587 - Workaround issues with dock/undock devtools toolbox with a devtools_panel. r=kmag
- this workaround is related to the same issue described in Bug 1075490
  for the SDK "dev/panel" module.

MozReview-Commit-ID: 5UYn1F88u1
2016-10-07 12:37:53 +02:00
Shane Caraveo
2167bf8191 Bug 1308640 bypass TP when addon has explicit permission to url, r=bz,kmag,mrbkap
MozReview-Commit-ID: BIhoUY2Ug8k
2017-02-09 21:08:06 -08:00
Kris Maglione
fe512e6f1b Bug 1320395: Part 3 - Run WebExtensions in their own process type. r=billm,bobowen
MozReview-Commit-ID: FZ4f1Lda5vh
2017-01-12 14:11:47 -08:00
Kris Maglione
1f4320360d Bug 1317101 - Part 7a: Add a remote flag to run an extension out-of-process based on a preference. r=billm
MozReview-Commit-ID: ChinmbLjnQA
2016-11-15 18:17:19 -08:00
Kris Maglione
c6d33fa5d9 Bug 1317101 - Part 6: Remove or refactor code that prevents extensions from running in the child process. r=aswan
MozReview-Commit-ID: 7v5eIBOKA2v
2016-11-12 17:09:19 -08:00
Wes Kocher
2876e6bba5 Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Kris Maglione
2ea689e90d Bug 1317101 - Part 7a: Add a remote flag to run an extension out-of-process based on a preference. r=billm
MozReview-Commit-ID: ChinmbLjnQA
2016-11-15 18:17:19 -08:00
Kris Maglione
c6eb354cd3 Bug 1317101 - Part 6: Remove or refactor code that prevents extensions from running in the child process. r=aswan
MozReview-Commit-ID: 7v5eIBOKA2v
2016-11-12 17:09:19 -08:00
Kris Maglione
8efd30c89e Bug 1312690: Add some stupid microoptimizations. r=aswan
MozReview-Commit-ID: 4qoNuG2k0KS
2016-11-01 16:56:21 -07:00
Kris Maglione
b60b9cd3ac Bug 1306447: Remove b2g support code from WebExtensions. r=aswan
MozReview-Commit-ID: L3g01tpDSwH
2016-09-29 21:10:30 +01:00
Wes Kocher
b9d5a32ad5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Kris Maglione
d970e4c3c7 Bug 1293700: Make console object available to WebExtension internals. r=aswan
MozReview-Commit-ID: GyD4uo95gt6
2016-08-09 12:40:25 -07:00
Rob Wu
c576617ccb Bug 1197451 - Add clipboardWrite permission r=billm
MozReview-Commit-ID: 6d1mQSVWRPe
2016-07-08 17:19:17 -07:00
Andrew Swan
a19431c68a Bug 1293721 Handle options_ui properly when id isn't immediately available r=kmag
MozReview-Commit-ID: JQC8rZwUkXG
2016-08-09 13:40:57 -07:00
Kris Maglione
aeb04c78d9 Bug 1263011: Part 2 - Implement WebExtensions Experiments prototype. r=aswan
MozReview-Commit-ID: 4KO4cCLRsLf
2016-08-05 14:20:54 -07:00
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Matthew Wein
e3d00b8074 Bug 1285063 - Part 2: Switch to using the Category Manager to register scripts/schemas in order to load them in time for Fennec. r=kmag
MozReview-Commit-ID: 2U8cTYeH8kg
2016-07-22 12:44:40 -07:00
Rob Wu
c0e5bafb4e Bug 1234677 - Introduce _generated_background_page.html r=billm
- Fixes bugzil.la/1234677
- Fixes bugzil.la/1286057
- Fixes bug: the URL failed to load if a query string or reference
  fragment was present.

MozReview-Commit-ID: 4oMwI3IS7OX
2016-07-12 13:55:14 -07:00
Iris Hsiao
971255a15c Backed out changeset 4dd2466573ec (bug 1234677) for Mochitest test_chrome_ext_background_page.html failure 2016-07-20 12:54:00 +08:00
Rob Wu
8a0e6b7a22 Bug 1234677 - Introduce _generated_background_page.html r=billm
- Fixes bugzil.la/1234677
- Fixes bugzil.la/1286057
- Fixes bug: the URL failed to load if a query string or reference
  fragment was present.

MozReview-Commit-ID: 4oMwI3IS7OX
2016-07-12 13:55:14 -07:00
Luca Greco
9df55445cb Bug 1258347 - [webext] ExtensionContext sub-frames should have the same privileges of the parent window. r=kmag
MozReview-Commit-ID: OfOwD68PEK
2016-05-02 14:13:17 +02:00
Kris Maglione
f61f60b7e6 Bug 1254194: [webext] Allow extensions to register custom content security policies. r=billm f=aswan
MozReview-Commit-ID: 8L6ZsyDjIpf
2016-04-23 21:29:15 -07:00
Luca Greco
94641d8be7 Bug 1256282 - [webext] Fix addonId checks in getAPILevelForWindow and add an xpcshell test unit. r=kmag
MozReview-Commit-ID: HVoUAMOKqTZ
2016-04-04 13:46:17 +02:00
Luca Greco
79880ae85c Bug 1256282 - [webext] options_ui browsers should have access to the full WebExtension API. r=kmag
MozReview-Commit-ID: E1GwT0zfGie
2016-04-08 16:00:48 +02:00
Andrew Swan
2680b7869a Bug 1217944 - Part 2 - Support wildcards in web_accessible_resources r=kmag
MozReview-Commit-ID: Ln6JJ5lxc3w
2016-04-06 13:20:23 -07:00
Kris Maglione
c32e4a7dad Bug 1251890: Fix RemoveTopWindowID listener. r=billm
MozReview-Commit-ID: 4nQdPszQOy
2016-02-27 14:11:25 -08:00
Kris Maglione
fe76d5a79b Bug 1247081: Support fragment IDs and query strings in web_accessible_resources URLs. r=billm
MozReview-Commit-ID: KHOnavpnVfA
2016-02-12 22:36:45 -08:00
Kris Maglione
666cee3637 Bug 1248855 - [webext] Add "object-curly-spacing" ESLint rule and auto-fix errors. r=billm
MozReview-Commit-ID: BAZ2rRl7eSM
2016-02-16 20:10:00 -08:00
Luca Greco
e712f0a1a8 Bug 1214658 - Enable content script APIs into sub-frames pointed to a valid add-on url. r=kmag 2016-01-22 06:02:00 -05:00
Phil Ringnalda
ded78a88c1 Back out 3 changesets (bug 1214658) for b2g emulator timeouts in test_ext_contentscript_*
CLOSED TREE

Backed out changeset b76ab3324cd2 (bug 1214658)
Backed out changeset aee8341f15c7 (bug 1214658)
Backed out changeset 743d7567b280 (bug 1214658)
2016-01-23 13:06:49 -08:00
Luca Greco
a63e68c208 Bug 1214658 - Enable content script APIs into sub-frames pointed to a valid add-on url. r=kmag 2016-01-22 06:02:00 -05:00
Fabrice Desré
a9e4990d14 Bug 1224703 - part 2: Enable tests on emulator r=billm 2016-01-05 15:37:06 -08:00
Bill McCloskey
ae0c99ac6d Bug 1208257 - [webext] Extension.jsm support for schemas (r=kmag) 2015-12-06 08:50:24 -08:00
Kris Maglione
956fe582d0 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.
2015-12-02 16:58:53 -08:00
Kris Maglione
f62b4742d2 Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm 2015-11-28 21:14:50 -08:00
Phil Ringnalda
5f05f7cbf1 Back out 5 changesets (bug 1209184) on suspicion of causing OS X opt build startup cache precompilation failures
CLOSED TREE

Backed out changeset d0404928473e (bug 1209184)
Backed out changeset 24282235336d (bug 1209184)
Backed out changeset 399404ff25e4 (bug 1209184)
Backed out changeset a517959befe9 (bug 1209184)
Backed out changeset a4f1765a6cdf (bug 1209184)
2015-11-28 20:29:48 -08:00
Kris Maglione
9887d93319 Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm 2015-11-20 22:39:44 -08:00
Phil Ringnalda
a64db3f8c1 Back out 4 changesets (bug 1209184) for Android/B2G xpcshell bustage
CLOSED TREE

Backed out changeset 8e692344588a (bug 1209184)
Backed out changeset f9ab76689610 (bug 1209184)
Backed out changeset 9c63ffd499eb (bug 1209184)
Backed out changeset e75f9f24d0dc (bug 1209184)
2015-11-27 22:40:54 -08:00
Kris Maglione
0330d22e69 Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm 2015-11-20 22:39:44 -08:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Fabrice Desré
bc561611cc Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00