Luca Greco
058d05c385
Bug 1291737 - Implements the devtools_page context. r=kmag
...
MozReview-Commit-ID: CxS5e101C3z
2017-01-18 15:55:21 +01:00
Carsten "Tomcat" Book
dcf8740635
Backed out changeset 71414e9dc3ee (bug 1291737)
2017-01-19 16:59:18 +01:00
Carsten "Tomcat" Book
d26c662292
Backed out changeset 6ff304ff8518 (bug 1291737)
2017-01-19 16:59:17 +01:00
Luca Greco
48bbec95d4
Bug 1291737 - implements devtools.inspectedWindow.tabId. r=kmag
...
MozReview-Commit-ID: L60Ivfl8dVG
2016-11-18 19:05:27 +01:00
Luca Greco
86098f135f
Bug 1291737 - Implements the devtools_page context. r=kmag
...
MozReview-Commit-ID: CxS5e101C3z
2017-01-18 15:55:21 +01:00
Matthew Wein
947aa30d36
Bug 1330337 - Add basic theme framework hidden behind pref r=mikedeboer
...
MozReview-Commit-ID: 1kje3tc7y9O
2017-01-11 14:34:23 -05:00
Laurent
d29b87f02d
Bug 1322033 - "Patch to support Function Keys in WebExtensions". r=kmag
2016-12-31 08:34:00 +01:00
Wes Kocher
e72910409b
Backed out changeset 781d1e9b8586 (bug 1322033) for webextension xpcshell bustage a=backout
2016-12-19 14:27:15 -08:00
Laurent
30dab6d9c3
Bug 1322033 - Support Function Keys in WebExtensions. r=kmag
2016-12-04 02:19:00 -05:00
Tomislav Jovanovic
412c9e6226
Bug 1316020 - Implement tab context for browser.contextMenus r=kmag
...
MozReview-Commit-ID: LNQTZtNQgLN
2016-11-21 23:29:42 +01:00
Bob Silverberg
eb03bf4f94
Bug 1320986 - Implement browsingData.settings WebExtensions API method, r=aswan
...
MozReview-Commit-ID: JqUm77vFod2
2016-11-28 09:17:04 -05:00
Bob Silverberg
9db714d2f3
Bug 1320306 - Implement sessions.onChanged WebExtensions API, r=aswan
...
MozReview-Commit-ID: 14si74CKswB
2016-11-16 14:30:20 -05:00
srivatsav
3b918ed510
Bug 1312466: Added a password context to contextMenus API. r=kmag
...
MozReview-Commit-ID: DzLX4JQTfRS
2016-11-22 16:57:43 +05:30
Matthew Wein
9ce3e30edf
Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
...
MozReview-Commit-ID: GYzueGSijyd
2016-11-11 02:06:43 +00:00
Carsten "Tomcat" Book
561dbc62e1
Backed out changeset 7ef35cccfd7b (bug 1267810)
2016-11-11 09:08:18 +01:00
Matthew Wein
8087ad59e9
Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
...
MozReview-Commit-ID: GYzueGSijyd
2016-11-11 02:06:43 +00:00
Tom Schuster
8a865b25f4
Bug 1221764 - Implement simple chrome.bookmarks events, r=aswan,mak
...
MozReview-Commit-ID: LWbhYf8CpZD
2016-08-17 10:22:10 -04:00
Bob Silverberg
1a6335b5b2
Bug 1308060 - Implement sessions.restore WebExtensions API, r=aswan
...
MozReview-Commit-ID: Ci7WhKYJBN1
2016-11-07 14:53:27 -05:00
Kris Maglione
569fb0cb43
Bug 1315575: Part 3 - Convert ImageData objects at the binding layer, and remove unnecessary content bindings. r=aswan
...
MozReview-Commit-ID: CjqXRiFcMWp
2016-11-06 17:35:07 -08:00
Bob Silverberg
526a59632c
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04:00
Sebastian Hengst
e7b63fb1b2
Backed out changeset 15760cbfa77a (bug 1308058) for almost permafailing browser_ext_sessions.js on Linux debug in e10s mode. r=backout a=backout
...
MozReview-Commit-ID: 6uhHHvTHguG
2016-11-05 11:12:19 +01:00
Bob Silverberg
fac8d96785
Bug 1308058 - Implement sessions.getRecentlyClosed WebExtensions API, r=aswan
...
MozReview-Commit-ID: 7AKfMil3Dr4
2016-10-25 16:09:28 -04:00
Iris Hsiao
3c373c5320
Backed out changeset be4455a7669f (bug 1267810) for eslint failure
2016-11-04 10:57:29 +08:00
Matthew Wein
e0ea78d1e8
Bug 1267810 - Use the new module to implement the omnibox api. r=aswan,robwu
...
MozReview-Commit-ID: GYzueGSijyd
2016-11-03 16:28:30 +00:00
Andrea Marchesini
bc1116fcdc
Bug 1302697 - Containers and WebExtensions - part 1 - Tab API, r=kmag
2016-10-28 10:15:42 +02:00
Rob Wu
8fae22a649
Bug 1287007 - Remove contextMenusInternal.onClicked r=billm
...
contextMenusInternal.onClicked is already inlined in context_menus.json.
It should be removed because otherwise the
`browser.contextMenusInternal.onClicked` API would be generated.
MozReview-Commit-ID: LAKd2IGM5GU
2016-10-01 00:46:19 +02:00
Rob Wu
9ebbb4a33c
Bug 1287007 - Fix "onclick" in contextMenus, to child. r=billm
...
Main thing: Making contextMenus implementation webext-oop compatible.
Preparation:
- Add getParentEvent to ChildAPIManager to allow use of remote events.
- Introduce `addon_parent_only` to "allowedContexts" to only generate a
schema API in the main process.
- Do not fill in `null` for missing keys if the schema declares a key as
`"optional": "omit-key-if-missing"`. This is needed for the second
point in the next list.
Drive-by fixes:
- Ensure that the "onclick" handler is erased when a context closes.
- Do not clear the "onclick" handler in `contextMenus.update` if the
onclick key has been omitted (parity with Chrome).
- Remove some unnecessary `Promise.resolve()`
- Add extensive set of tests that check the behavior of the contextMenus
APIs with regards to the onclick attribute in various scenarios.
MozReview-Commit-ID: A5f3AUQzU8T
2016-09-12 18:26:03 -07:00
Rob Wu
a87111ce7c
Bug 1287007 - Mark all browserAction methods as async r=billm
...
E.g. browser.browserAction.enable(...).then(...) now works as expected.
Removed a Promise.resolve() because that is the default.
MozReview-Commit-ID: 4Shxtn0rjYH
2016-09-02 14:22:09 -07:00
Rob Wu
58cc11a650
Bug 1287007 - Require "async" in schemas to match name r=billm
...
In the pageAction and browserAction schemas, several methods are
declared with `"async": true` but without a specified callback in the
`"parameters"` object, so callbacks are not allowed. However, when a
callback is proxied, the `ParentAPIManager` will mirror the call by
passing in an extra callback to the proxied API - and break.
This patch fixes the issue by removing uses of async:true. Also for
consistency between the browserAction and pageAction methods, the
methods that were not declared as async have also been marked as async.
MozReview-Commit-ID: JQqzmTUAotB
2016-09-02 03:37:55 -07:00
Kris Maglione
843c84b50c
Bug 1289273: Resolve URLs passed to windows.create relative to the caller. r=aswan a=al
...
MozReview-Commit-ID: 3TUIK6EvO3q
2016-10-05 20:27:06 +01:00
Tomislav Jovanovic
d2118d8126
bug 1301227 - add allowScriptsToClose option to windows.create(), r=kmag
...
MozReview-Commit-ID: 4p8A1y2FALX
2016-09-23 23:40:24 +02:00
Rob Wu
ce9c6d652e
Bug 1296900 - Hide commands API if manifest key is missing r=kmag
...
MozReview-Commit-ID: 7vld6MgSlqG
2016-08-20 23:01:43 -07:00
Wes Kocher
8174fa8630
Backed out 2 changesets (bug 1296900) for mochitest failures in test_ext_all_apis.html a=backout
...
Backed out changeset c37cf3cfd39c (bug 1296900)
Backed out changeset 998ed8336288 (bug 1296900)
2016-09-23 16:15:05 -07:00
Rob Wu
08e4735360
Bug 1296900 - Hide commands API if manifest key is missing r=kmag
...
MozReview-Commit-ID: 7vld6MgSlqG
2016-08-20 23:01:43 -07:00
Phil Ringnalda
ca89254357
Backed out 2 changesets (bug 1296900) for est_ext_all_apis.html | failures
...
Backed out changeset fa509c880990 (bug 1296900)
Backed out changeset 06ee8b3640af (bug 1296900)
2016-09-21 18:59:22 -07:00
Rob Wu
36055ef9cc
Bug 1296900 - Hide commands API if manifest key is missing r=kmag
...
MozReview-Commit-ID: 7vld6MgSlqG
2016-08-20 23:01:43 -07:00
Bob Silverberg
5311746971
Bug 1272676 - Remove HistoryTime and use Date type instead, r=aswan
...
MozReview-Commit-ID: IqH2eLJwn5d
2016-09-06 12:56:56 -04:00
Kris Maglione
386a89d124
Bug 1265371: Refactor schema parsing to reduce cyclomatic complexity. r=bsilverberg
...
MozReview-Commit-ID: HzVrf4yG7hZ
2016-08-30 12:24:32 -07:00
Rob Wu
5d41ba7ac3
Bug 1295473 - Fix return type of {tabs,runtime}.sendMessage r=billm
...
The tabs.sendMessage and runtime.sendMessage implementations behave like
an async function: They take a callback parameter and return a promise.
So they should be handled by |callAsyncFunction|, not
|callFunctionNoReturn|.
This fixes the issue for background pages, but not for content scripts
because sendMessage is not implemented as a schema at the moment. This
will also be fixed once content script APIs are generated via Schemas.
MozReview-Commit-ID: 9p1hvOP0KSm
2016-08-15 23:53:24 -07:00
Bob Silverberg
7a854b5bd7
Bug 1295301 - history.onVisitRemoved argument is wrong after a call to history.deleteAll, r=aswan
...
MozReview-Commit-ID: 9b9PKAwcNDA
2016-08-16 09:35:37 -04:00
Kris Maglione
ddc33568c0
Bug 1289527: Hide browserAction and pageAction namespaces when relevant manifest entries are missing. r=aswan
...
MozReview-Commit-ID: 2gx0pLkHaVJ
2016-08-06 14:43:58 -07:00
Kris Maglione
29f830b0ea
Bug 1288085: Remove spurious "windows" permission. r=me
...
MozReview-Commit-ID: Cce7PLJJGPY
2016-08-08 11:12:59 -07:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Matthew Wein
6206634766
Bug 1270742 - Add support for default_icon in chrome.pageAction r=kmag
...
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Sebastian Hengst
1be0f90cda
Backed out changeset 1008f5b88e6b (bug 1270742) for failing browser_ext_browserAction_context.js. r=backout
2016-06-24 13:00:31 +02:00
Matthew Wein
0ead67a3c6
Bug 1270742 - Add support for default_icon in chrome.pageAction. r=kmag
...
MozReview-Commit-ID: D9uR0JUXJwx
2016-05-23 15:59:33 -07:00
Bob Silverberg
9a0f6e9271
Bug 1265845 - Implement browser.history.onVisited, r=aswan
...
MozReview-Commit-ID: 6jXEUA1Cll9
2016-06-08 12:42:13 -04: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