Kris Maglione
52b67bf633
Bug 1350522: Part 7 - Merge pageAction/browserAction/sidebarAction/commands helper classes into API instances. r=aswan
...
MozReview-Commit-ID: 6aRQ1uybAmg
2017-03-26 18:42:59 -07:00
Kris Maglione
ef300362e4
Bug 1350522: Part 6 - Cleanup per-api-instance state logic. r=aswan
...
MozReview-Commit-ID: 5ixBA34fvFf
2017-03-25 11:36:56 -07:00
Kris Maglione
937291f42b
Bug 1350522: Part 4 - Convert browser APIs to lazy loading. r=aswan
...
MozReview-Commit-ID: BQoWF9nHOuF
2017-04-02 11:59:55 -07:00
Wes Kocher
f4c6dad9bd
Bug 1337457 - ESlint fix a=bustage
...
MozReview-Commit-ID: 3HqVQVkN8hf
2017-03-02 10:54:52 -08:00
Rob Wu
889e91a8c5
Bug 1337457 - Handle missing commands[*].suggested_key r=kmag
...
Defaulting to "" instead of null because Chrome too defaults to "".
MozReview-Commit-ID: 7pJYCzVR4f6
2017-02-07 20:06:47 +01:00
Shane Caraveo
4e556465b9
Bug 1338727 add command support for sidebar-action, r=aswan
...
MozReview-Commit-ID: Jp1cuTzsDz4
2017-02-14 16:24:03 -08:00
Kris Maglione
bbe2608ca7
Bug 1260548: Part 1 - Factor out the common functionality of the tabs API. r=aswan
...
MozReview-Commit-ID: AS7asn6nXzr
2017-01-30 22:44:16 -08:00
Carsten "Tomcat" Book
f4f95b21aa
merge mozilla-central to mozilla-inbound
2017-01-27 11:16:17 +01:00
Florian Quèze
c8cf49999e
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +01:00
Andrew Swan
d23b45b581
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Phil Ringnalda
5781d2a09e
Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
...
CLOSED TREE
Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Andrew Swan
99c8d3a692
Bug 1203330 Part 2 Convert EventManager uses to SingletonEventManager r=kmag
...
MozReview-Commit-ID: A12TPwAYzTS
2017-01-26 11:27:03 -08:00
Matthew Wein
9b292feafe
Bug 1246034: Part 2 - [webext] Add support for _execute_browser_action. r=kmag
...
MozReview-Commit-ID: EIbPidn07qZ
2016-07-08 15:02:49 -07:00
Rob Wu
812e170fe8
Bug 1287010 - Make environment of Context explicit. r=billm
...
- Add `envType` to BaseContext.
- Pass an explicit envType to all `registerSchemaAPI` invocations.
- The factories passed to `registerSchemaAPI` will be split up later, so
that content scripts (`content_child`) and addon pages can share
common implementations.
- The factories that implement the addon API will also be split up,
to separate code running in the main process (`addon_parent`) from
code running in a child process (`addon_child`).
- Remove the use of a hardcoded list of `namespaces` from ProxyContext.
Now `envType` is used to specify whether an API should be activated.
MozReview-Commit-ID: Jiff8HIwG92
2016-08-16 15:51:50 -07:00
Rob Wu
6efdd88867
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Sebastian Hengst
c7a498ffbd
Backed out changeset 0ce1cc39aa3d (bug 1295082) for timing out in test_ext_schemas_api_injection.js. r=backout
2016-08-18 16:47:09 +02:00
Rob Wu
6189daa99f
Bug 1295082 - Put Extension in BaseContext r=kmag
...
ExtensionContext in Extension.jsm has |extension| as an instance member,
so use it instead of passing |extension| to registerSchemaAPI's
callback.
And to make sure that this pattern also works in content processes, move
the |extension| member to BaseContext.
MozReview-Commit-ID: BgsGGCPQxJR
2016-08-15 01:04:58 -07:00
Matthew Wein
a9f2d6af1b
Bug 1287159 - Grant activeTab permission to the current tab when onCommand fires. r=kmag
...
MozReview-Commit-ID: ETwqDOBHCRS
2016-07-25 14:42:23 -07:00
Matthew Wein
df4954ea26
Bug 1272198 - Add tests for accepted modifiers. r=kmag
...
MozReview-Commit-ID: KTLk7sMcsmt
2016-07-25 10:36:07 -07:00
Matthew Wein
45f6930e3f
Bug 1272133 - Fix runtime error thrown when no shortcut is found for the target platform. r=kmag
...
MozReview-Commit-ID: CzR64GL5mxn
2016-07-25 11:18:12 -07:00
Pushpankar
77a14e357c
Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
2016-07-16 10:20:04 +02:00
Kris Maglione
843973aa31
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Sebastian Hengst
d97f588f03
Backed out changeset a00cf073f5c0 (bug 1279392) for failing mochitest test_ext_contentscript_create_iframe.html at least on Linux x64 opt. r=backout
2016-06-14 13:37:52 +02:00
Kris Maglione
b2a33e3bf1
Bug 1279392: [webext] Move API permission definitions to the schemas. r=aswan
...
MozReview-Commit-ID: 8m7wJrAbFwS
2016-06-09 17:44:47 -07:00
Kris Maglione
4a1342c9e6
Bug 1278733: Turn on JSDoc validation, and fix basic errors in existing comments. r=aswan
...
MozReview-Commit-ID: EZpOyvoi2h0
2016-06-07 18:36:19 -07:00
Matthew Wein
dec1342478
Bug 1263560 - Accept whitespace in command API key names. r=kmag
...
MozReview-Commit-ID: IGQDs1RuE7w
2016-04-14 22:39:50 -04:00
Dave Townsend
6c83da2486
Bug 1257246: Update webextension APIs for eslint 2. r=kmag
...
ESLint 2 now flags anonymous generator functions that don't match the
generator-star-spacing rule so this mostly is fixing that.
MozReview-Commit-ID: 5sLaF26sd0E
2016-04-05 11:30:51 -07:00
Matthew Wein
1fe6f775a1
Bug 1246035 - Add support for _execute_page_action r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Sebastian Hengst
d225c22e6f
Backed out changeset 4a92742ac20d and ddf8219182fb (bug 1246035) for failing modified ddf8219182fb on OS X 10.6 opt M(bc2). r=backout
2016-03-25 23:14:25 +01:00
Matthew Wein
29f350524e
Bug 1246035 - Add support for _execute_page_action. r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Carsten "Tomcat" Book
748b0fee3c
Backed out changeset 70960616621c (bug 1246035) for eslint failures
2016-03-18 10:04:15 +01:00
Matthew Wein
f205ed8a72
Bug 1246035 - Add support for _execute_page_action. r=kmag
...
MozReview-Commit-ID: LPQAC7uJTkr
2016-03-14 14:54:57 +01:00
Matthew Wein
641e87d5e0
Bug 1246029 Implement chrome.commands.onCommand. r=kmag
2016-02-29 19:04:03 -08:00
Matthew Wein
4eea0108f3
Bug 1246028 Implement chrome.commands.getAll. r=kmag
2016-02-24 17:29:04 -08:00
Phil Ringnalda
b1abd201f0
Back out 6d8c09f110ee (bug 1246028) for landing before it got its nits picked
2016-02-24 18:40:42 -08:00
Matthew Wein
9ac7e85ce9
Bug 1246028 - Implement chrome.commands.getAll. r=kmag
2016-02-23 16:13:16 -08:00