Commit graph

36 commits

Author SHA1 Message Date
Wes Kocher
e9097643d5 Merge inbound to central, a=merge 2016-08-12 13:44:29 -07:00
Kris Maglione
d16036cec9 Bug 1293700: Make console object available to WebExtension internals. r=aswan
MozReview-Commit-ID: GyD4uo95gt6

--HG--
extra : rebase_source : a1bb70bbc186c76d5c0437530662b0754516ea7b
extra : histedit_source : d8bf619ce3d39987b2850223ccb3f28a82cbc532
2016-08-09 12:40:25 -07:00
Rob Wu
9069fff35f Bug 1197451 - Add clipboardWrite permission r=billm
MozReview-Commit-ID: 6d1mQSVWRPe

--HG--
extra : rebase_source : 2f19bab5c9d6db25c60b2b19c06c7027384a04ca
2016-07-08 17:19:17 -07:00
Andrew Swan
0245be301b Bug 1293721 Handle options_ui properly when id isn't immediately available r=kmag
MozReview-Commit-ID: JQC8rZwUkXG

--HG--
extra : rebase_source : 3fe3808971a2a97a32bd70dbce0f477ad4007f0c
2016-08-09 13:40:57 -07:00
Kris Maglione
73b1b5f221 Bug 1263011: Part 2 - Implement WebExtensions Experiments prototype. r=aswan
MozReview-Commit-ID: 4KO4cCLRsLf

--HG--
extra : rebase_source : 40e5ec808e557e845a771bb21e8863a8edcd4faf
2016-08-05 14:20:54 -07:00
Jared Wein
871ed4e3ba Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh

--HG--
extra : rebase_source : bc81b68ea5599fd1815dc34dac7106eef7044483
2016-08-03 18:54:59 -04:00
Matthew Wein
9db4b394c8 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

--HG--
extra : rebase_source : 32ffedca29caeb1154d9d1712795f18fc74dbe2a
2016-07-22 12:44:40 -07:00
Rob Wu
f8554fe4b9 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

--HG--
extra : rebase_source : 621878e4f62febdc34899192e254f8ec315b789e
2016-07-12 13:55:14 -07:00
Iris Hsiao
d677544a02 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
feb2e74708 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

--HG--
extra : rebase_source : 60096dd421d18c0991f807a6f07eb72be10109dd
2016-07-12 13:55:14 -07:00
Luca Greco
8c37306332 Bug 1258347 - [webext] ExtensionContext sub-frames should have the same privileges of the parent window. r=kmag
MozReview-Commit-ID: OfOwD68PEK

--HG--
extra : transplant_source : %D6%F1%86ntp%CC%09k%8D%264b%A1D%EC%3F%E2%BAo
2016-05-02 14:13:17 +02:00
Kris Maglione
623a4f8665 Bug 1254194: [webext] Allow extensions to register custom content security policies. r=billm f=aswan
MozReview-Commit-ID: 8L6ZsyDjIpf

--HG--
extra : rebase_source : b6ccbcf849b0e7db835d14a0ba9de588c0188869
extra : histedit_source : 7f966c1d821641fc3551dc4c508f5ce8f990d5a3%2Cafa5697b301620119147292745a2007961907fa8
2016-04-23 21:29:15 -07:00
Luca Greco
ae1fa8fc84 Bug 1256282 - [webext] Fix addonId checks in getAPILevelForWindow and add an xpcshell test unit. r=kmag
MozReview-Commit-ID: HVoUAMOKqTZ

--HG--
extra : transplant_source : h%E3%A3E%23%1A%BCf%EF%AD%8DC%85%1ED%87%23%06%B0%CB
2016-04-04 13:46:17 +02:00
Luca Greco
2054abd0e6 Bug 1256282 - [webext] options_ui browsers should have access to the full WebExtension API. r=kmag
MozReview-Commit-ID: E1GwT0zfGie

--HG--
extra : transplant_source : %18%0F%AF%0A%E6B%E7v%2C%F4%A1%C2%9B%CF-%84T%DEKf
2016-04-08 16:00:48 +02:00
Andrew Swan
4887be777d Bug 1217944 - Part 2 - Support wildcards in web_accessible_resources r=kmag
MozReview-Commit-ID: Ln6JJ5lxc3w

--HG--
extra : transplant_source : T%08%A4%E32%01%A9%91%25X%95%14dU%1B%BDd%D97%85
2016-04-06 13:20:23 -07:00
Kris Maglione
89517813d0 Bug 1251890: Fix RemoveTopWindowID listener. r=billm
MozReview-Commit-ID: 4nQdPszQOy

--HG--
extra : rebase_source : 970b616c972d2ed7fd3bcd163e662a00f8267bdd
2016-02-27 14:11:25 -08:00
Kris Maglione
f12c56982f Bug 1247081: Support fragment IDs and query strings in web_accessible_resources URLs. r=billm
MozReview-Commit-ID: KHOnavpnVfA

--HG--
extra : rebase_source : bb5795f55cf1f6abd57ddba63685cc3c67135385
2016-02-12 22:36:45 -08:00
Kris Maglione
ba2e5f60f4 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
ce53c810fd Bug 1214658 - Enable content script APIs into sub-frames pointed to a valid add-on url. r=kmag
--HG--
extra : commitid : 5FiCOcU2aOZ
extra : source : 743d7567b2801b6538c83f001e6195c35a1a0374
2016-01-22 06:02:00 -05:00
Phil Ringnalda
102023d0a0 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)

--HG--
rename : toolkit/components/extensions/test/mochitest/file_ext_test_api_injection.js => toolkit/components/extensions/test/mochitest/file_ext_background_api_injection.js
2016-01-23 13:06:49 -08:00
Luca Greco
d1682407d2 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é
99b0b99f71 Bug 1224703 - part 2: Enable tests on emulator r=billm 2016-01-05 15:37:06 -08:00
Bill McCloskey
0c3e71a155 Bug 1208257 - [webext] Extension.jsm support for schemas (r=kmag) 2015-12-06 08:50:24 -08:00
Kris Maglione
b729a30707 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.

--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Kris Maglione
b8920d2f6c Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm
--HG--
extra : commitid : J7QamsWfCAJ
extra : rebase_source : ea8391784c667c084e1a32d3a47d54dd13a9c9b8
extra : source : e75f9f24d0dc7c08131ebc08b0dcfcb4f310269c
2015-11-28 21:14:50 -08:00
Phil Ringnalda
2ef1ebcef2 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
1c4163c307 Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm
--HG--
extra : commitid : 2ksN8QqqAqR
extra : source : e75f9f24d0dc7c08131ebc08b0dcfcb4f310269c
2015-11-20 22:39:44 -08:00
Phil Ringnalda
6c3da9ec36 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
881cb75ad4 Bug 1209184: Part 1b - [webext] Create a stream converter for localization placeholders. r=billm
--HG--
extra : commitid : HAvBpLW4dYJ
extra : rebase_source : 5c805f068c383cffdead97ad7d8f87b315dc4620
2015-11-20 22:39:44 -08:00
Shu-yu Guo
64db2267cf 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é
d0a42c5e92 Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Fabrice Desré
4bccca4c8b Bug 1190995 - backout 0450f02a2b3b for M1 failures 2015-08-14 17:57:34 -07:00
Fabrice Desré
dc4738feca Bug 1190995 - Support the new extension model in b2g r=billm 2015-08-14 16:55:09 -07:00
Bill McCloskey
b1a00d7c72 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
03d48d1951 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
14e7d8ca0a Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00