Oriol Brufau
6be8c01caa
Bug 1479129 - Implement support for updateProperties.highlighted in browser.tabs.update(). r=mixedpuppy,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3800
--HG--
extra : moz-landing-system : lando
2018-08-23 22:09:45 +00:00
Rob Wu
36516a10a8
Bug 1475842 - Change parameter format in browser.search API r=rpl
...
Changes to browser.search.search API:
- Change the positional parameters to an object parameter.
- Rename "engineName" to "engine", and make this an optional parameter.
- Rename "searchTerms" to "query".
Changes to browser.search.search implementation:
- Simplify gBrowser getter. None of the "!gBrowser" conditionals are
necessary, as demonstrated by the new options page+sidebar tests
(which passed even after removing the `if (!gBrowser ...)` blocks).
Use windowTracker.topWindow for consistency with our other code.
Test changes:
- Remove unneeded name / "TEST_ID" in tests
- Use SEARCH_TERM constant in more places.
- New test: Using API from options page.
- New test: Using API from sidebar.
- New test: Using API without explicit "engine" parameter.
Differential Revision: https://phabricator.services.mozilla.com/D3417
--HG--
extra : moz-landing-system : lando
2018-08-21 14:43:46 +00:00
Rob Wu
3a260706b3
Bug 1482529 - Support "visible" in menus.create and menus.update r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D3794
--HG--
extra : moz-landing-system : lando
2018-08-20 15:16:09 +00:00
Rob Wu
23cf8852bb
Bug 1325814 - Add extension API to find menu target r=mixedpuppy
...
- Add info.targetElementId to menus.onShown event.
- Add info.targetElementId to menus.onClicked event.
- Add menus.getTargetElement API that is available to all contexts,
including content scripts, which allows extensions to get the DOM
element for a given targetElementId.
- Add new schema instead of re-using schemas/menus.json to avoid sending
too much schema data (of the existing menus API) to content processes.
MozReview-Commit-ID: 6Onf7jZlIho
--HG--
extra : rebase_source : eb095d04ce381606be90d325712bfc57233d8291
2018-08-04 18:09:49 +02:00
Rob Wu
4f7e9cca86
Bug 1325814 - Remove unnecessary schemas/menus_internal.json r=mixedpuppy
...
This schema was inherited from Chromium (where it was an internal
implementation detail. This schema only defined the OnClickData
type, but was never actively used by our WebExtensions framework,
because menus.json already defines the OnClickData type.
Note: menus_internal.json specified the "menusInternal" namespace
which we do indeed implement in parent/ext-menus.js (and use in
child/ext-menus.js). However, none of the methods that we add to
menusInternal are actually defined in the schema.
This use of menusInternal was introduced in part 2 of bug 1333403 and
works without problems because the API schemas are not being used to
validate APIs as of part 2 of bug 1315575 .
The only significance of "menusInternal" is that the namespace is
defined in browser/components/extensions/ext-browser.json,
implemented in browser/components/extensions/parent/ext-menus.js
and used by browser/components/extensions/child/ext-menus.js
MozReview-Commit-ID: 2ACpn595QZQ
--HG--
extra : rebase_source : f3e16486168dfb0baa56dda7ccf591855bbe90bb
2018-08-03 11:09:38 +02:00
Rob Wu
9287b6789f
Bug 1477271 - Require "search" permission for search API r=aswan
...
And re-enable the test_ext_all_apis.html test to ensure that new APIs
are only available by default if the contributor really intents to.
MozReview-Commit-ID: FWIKybrk0EE
--HG--
extra : rebase_source : 58c5bd98ddb59be74b9454995cbbd3edef6c45f9
2018-07-31 20:14:03 +02:00
Shane Caraveo
aad6d3674f
Bug 1378647 - support creating lazy tabs from extensions, r=JanH,mikedeboer,rpl
...
MozReview-Commit-ID: 9QMkNtCQG6P
--HG--
extra : rebase_source : 1c4d57ac25b00d0a63901f4fd00b11e0b5d765a5
2018-07-30 12:15:32 -03:00
Margareta Eliza Balazs
8f114fd737
Backed out changeset 6cc8354ce3c5 (bug 1378647) for causing failures in toolkit/components/extensions/test/mochitest/test_ext_webrequest_basic.html on a CLOSED TREE
2018-07-19 15:17:42 +03:00
Shane Caraveo
1466ab5a62
Bug 1378647 - support creating lazy tabs from extensions, r=mikedeboer,rpl
...
MozReview-Commit-ID: 9QMkNtCQG6P
--HG--
extra : rebase_source : 97a1e41f681ae3614c5db87d40c12bbe54ef18ed
2018-07-18 16:17:30 -03:00
Michael Kaply
879bad8101
Bug 1475347 - Cleanup search API - use camelCase and promise. r=aswan
...
MozReview-Commit-ID: 2HJYk8irppL
--HG--
extra : rebase_source : ec482d31e2930e5aeb7460f980d25a9dd2eacd29
2018-07-12 15:55:25 -05:00
Shane Caraveo
69e769ac8a
Bug 1461695 change tabs.onUpdated filter name to isArticle, r=aswan
...
MozReview-Commit-ID: Ha0nJPMTYkJ
--HG--
extra : rebase_source : b9950ea7b4a2a52b45b1023b51ba87612aad86af
2018-06-19 10:38:26 -04:00
Michael Kaply
81556be6b8
Bug 1352598 - Add WebExtension API for access to search. r=aswan
...
MozReview-Commit-ID: 4pV2DGMcV7G
--HG--
extra : rebase_source : 650606638e580daa0c7f3b49e8fd085b039705bc
2018-06-18 10:39:12 -05:00
Oriol Brufau
6d0124af85
Bug 1424620 - Add setBadgeTextColor and getBadgeTextColor methods to browserAction r=mixedpuppy
...
MozReview-Commit-ID: ALYerCv3YJ7
--HG--
extra : rebase_source : 8288ef3e60517abb02d2d139df71242744940ad4
2018-07-05 19:37:08 +02:00
Brindusan Cristian
d2386dc6a2
Backed out changeset f5bfc9971285 (bug 1352598) for browser chrome failures on browser_ext_search.js. CLOSED TREE
2018-07-03 23:02:59 +03:00
Michael Kaply
cd47b3077c
Bug 1352598 - Add WebExtension API for access to search. r=aswan
...
MozReview-Commit-ID: 4pV2DGMcV7G
--HG--
extra : rebase_source : 811187b96b19d433249404791bbbfdff47bceebe
2018-06-18 10:39:12 -05:00
Ciure Andrei
442f7cad49
Backed out 1 changesets (bug 1352598) for frequent bc failures browser_ext_search.js CLOSED TREE
...
Backed out changeset 879fbe1b07f4 (bug 1352598)
2018-07-02 22:12:57 +03:00
Michael Kaply
49742b1fa3
Bug 1352598 - Add WebExtension API for access to search. r=aswan
...
MozReview-Commit-ID: 4pV2DGMcV7G
--HG--
extra : rebase_source : 811187b96b19d433249404791bbbfdff47bceebe
2018-06-18 10:39:12 -05:00
Adam Plaice
79a4e43a84
Bug 1364784 - Allow more modifier combinations for webextensions commands key; r=mixedpuppy,mstriemer
...
This allows keyboard shortcuts containing both "Ctrl" and "Alt" in the
manifest of webextensions (in the "commands" -> "suggested_key" key),
rather than just one of these modifiers. The equivalent combinations
on MacOS (any two of "Command", "Alt" and "MacCtrl") are also allowed.
Non-sensical combinations (such as "Ctrl+Command" or "Ctrl+Ctrl") are
forbidden.
MozReview-Commit-ID: 59tC2efLm5q
--HG--
extra : rebase_source : 5a9375116aab6b3c4abe96c4850e4ff857d93532
extra : intermediate-source : 507b35de0e93baccb54f83e8bce6cedfe9754dd9
extra : source : 115c5332fadc1d52940f8356f6273f0e9680657f
2018-06-02 00:56:44 +02:00
Oriol Brufau
e3e3ce5238
Bug 1464862 - Expose multiselected status to "tabs.Tab.highlighted", and allow to change it via "browser.tabs.highlight()" r=mixedpuppy
...
MozReview-Commit-ID: H2SiqM5ksCH
--HG--
extra : rebase_source : a8951d803c2c72fb0c6e39f4600b6aabcae69c41
2018-06-23 21:46:58 +02:00
Shane Caraveo
6bfb283891
Bug 1404724 - remove browser_style warning, fix default values, r=aswan
...
MozReview-Commit-ID: Akdhrm4leIQ
--HG--
extra : rebase_source : a59bdae5c2ea9d725062b2bf53ba659360966377
2018-05-29 16:55:43 -04:00
Xidorn Quan
cfe970a04f
Bug 1463408 part 2 - Add profiler feature seqstyle for forcing sequential styling when profiling. r=emilio,mstange
...
MozReview-Commit-ID: 6fm8j7z1EbJ
--HG--
extra : rebase_source : 1715b6af2c72323f320ff3da8e46d1634f5f7367
2018-05-23 19:35:03 +10:00
Xidorn Quan
4f8d1e3a65
Bug 1463408 part 1 - Remove unused restyle profiler feature. r=mstange
...
MozReview-Commit-ID: F5i5W02jhEV
--HG--
extra : rebase_source : 5fdddf6383f334c831396dc8348a7d3c032c93a6
2018-05-23 19:34:23 +10:00
Michael Kaply
828ab007c4
Bug 1460910 - Allow sidebar to be closed at install. r=mixedpuppy
...
MozReview-Commit-ID: 5UWW7DNQKzr
--HG--
extra : rebase_source : 7613b25201b248310f74862585fc507042445804
2018-05-18 10:30:04 -05:00
Oriol Brufau
b3b41d6f92
Bug 1419893 - Add windowId parameter in browserAction methods r=mixedpuppy
...
MozReview-Commit-ID: FFb4I1wmTH
--HG--
extra : rebase_source : 759d4a11fbd57b3335f7e0da746c79ef906a36e4
2018-04-06 23:18:44 +02:00
Shane Caraveo
41637c6525
Bug 1461693 - add missing params to changeInfo for tabs.onUpdated, r=rpl
...
MozReview-Commit-ID: 1brjyYc7PwW
--HG--
extra : rebase_source : 3a4be6a28e142f725cb750c1c2138b66ac0c7185
2018-05-21 12:53:08 -04:00
Greg Tatum
a95f839180
Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
...
MozReview-Commit-ID: KTJRvQzUwsf
--HG--
extra : rebase_source : bac38dc65bf074f31b2e25f80620a6baa4c7e14d
2018-03-28 15:28:54 -05:00
Andreea Pavel
5fe937094b
Backed out changeset 42abedd98732 (bug 1460910) for failing browser chrome at browser/components/extensions/test/browser/test-oop-extensions/browser_ext_sidebarAction.js on a CLOSED TREE
2018-05-18 22:59:25 +03:00
Michael Kaply
b181d9aaf9
Bug 1460910 - Allow sidebar to be closed at install. r=mixedpuppy
...
MozReview-Commit-ID: 5UWW7DNQKzr
--HG--
extra : rebase_source : 9460ba4ce1661c2edc026f271dee317488115a8e
2018-05-18 10:30:04 -05:00
Brindusan Cristian
e636fe322a
Backed out changeset 35089098baf8 (bug 1447338) for mochitest chrome failures on test_perf-settings-features.html CLOSED TREE
2018-05-17 19:48:34 +03:00
Greg Tatum
e642a3ee41
Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
...
MozReview-Commit-ID: KTJRvQzUwsf
--HG--
extra : rebase_source : 8692309978447fcccb2b6463c15fccda23cd3069
2018-03-28 15:28:54 -05:00
Ciure Andrei
08c017397c
Backed out changeset 134bf057ca61 (bug 1447338) for Android build bustages on builds/worker/workspace/build/src/tools/profiler/core/platform.cpp a=backout CLOSED TREE
2018-05-17 01:54:07 +03:00
Greg Tatum
c4476e700c
Bug 1447338 - Add thread "responsiveness" as a configurable feature to the Gecko Profiler; r=mstange
...
MozReview-Commit-ID: KTJRvQzUwsf
--HG--
extra : rebase_source : ca818e1d7c46b1e4495445f55525e2deb0d7939f
2018-03-28 15:28:54 -05:00
Oriol Brufau
77bb63790b
Bug 1419132 - Deprecate windowTypes for windows.get, windows.getCurrent and windows.getLastFocused r=mixedpuppy
...
MozReview-Commit-ID: DsaZy3EnXs6
--HG--
extra : rebase_source : dcacbfa86ce8cb07ec05c882e7b13689c72c794e
2018-05-09 23:32:39 +02:00
Oriol Brufau
0836d04660
Bug 1457673 - Support WINDOW_ID_CURRENT in browser.windows.remove r=mixedpuppy
...
MozReview-Commit-ID: LkjDD2U9knB
--HG--
extra : rebase_source : 027b33ef40a057fbb9db2c5f7ecb64883d6d090d
2018-05-01 03:25:41 +02:00
Oriol Brufau
2b62ae8f00
Bug 1390464 - Add windowId parameter in sidebarAction methods r=mixedpuppy
...
MozReview-Commit-ID: eSJnVzpNvO
--HG--
extra : rebase_source : 5837207b8375649c5ebc24e27a6dcc6894d6d40b
2018-01-28 20:46:24 +01:00
Markus Stange
de5088e49a
Bug 1444430 - Add a profiler feature called "screenshots". r=njn
...
MozReview-Commit-ID: 8blNvvliuog
--HG--
extra : rebase_source : 5465eb074f3988f9f3de9e00e1c42ce7897112c9
2018-04-12 15:21:40 -04:00
Markus Stange
7b785f663d
Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
...
MozReview-Commit-ID: LDxiLVp7e9v
--HG--
extra : rebase_source : efefa814a050f06217de30704976048eeacc3caa
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
arthur.iakab
5beb4527ab
Backed out 2 changesets (bug 1439014) for failing mochitest chrome and test verify on tools/profiler/tests/chrome/test_profile_with_trackopts.html
...
Backed out changeset 57426696adaf (bug 1439014)
Backed out changeset a13074f87bb0 (bug 1439014)
2018-03-27 06:48:42 +03:00
Markus Stange
42fcb730e2
Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
...
MozReview-Commit-ID: LDxiLVp7e9v
--HG--
extra : rebase_source : b6d0ba745de702a88310278fd9ec0cd56205f463
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
arthur.iakab
bb69fe14b5
Backed out 2 changesets (bug 1439014) for failing mochitest chrome and test verify on tools/profiler/tests/chrome/test_profile_with_trackopts.html on a CLOSED TREE
...
Backed out changeset 226c8c740c34 (bug 1439014)
Backed out changeset 84c9b5ab7de9 (bug 1439014)
2018-03-27 02:16:17 +03:00
Markus Stange
6f36cc5745
Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
...
MozReview-Commit-ID: LDxiLVp7e9v
--HG--
extra : rebase_source : b6d0ba745de702a88310278fd9ec0cd56205f463
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
arthur.iakab
bfec308dac
Backed out 2 changesets (bug 1439014) for failing chrome failures and test verify tests on tools/profiler/tests/chrome/test_profile_with_trackopts.htm on a CLOSED TREE
...
Backed out changeset f01eb749b3f9 (bug 1439014)
Backed out changeset 6d264bbb2669 (bug 1439014)
2018-03-26 23:26:15 +03:00
Markus Stange
dd133bbe22
Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
...
MozReview-Commit-ID: LDxiLVp7e9v
--HG--
extra : rebase_source : b6d0ba745de702a88310278fd9ec0cd56205f463
extra : intermediate-source : b58a6dce6a4e46ccfdbed363c67e2fa79043086b
extra : source : 6d91d0cc7d61af160b2ccd340adf23cb41389eed
2018-02-17 19:38:14 -05:00
Shane Caraveo
d026df2036
Bug 1329507 add filtering to tabs.onUpdated, r=kmag
...
Add filtering of urls, properties, window and tab id to onUpdated events to
help reduce the quantity of update events that are dispatched.
MozReview-Commit-ID: J8Rh9uEt1gW
--HG--
extra : rebase_source : df821e63a3029e9970f6174f8132f30003b77221
2018-03-09 09:11:28 -06:00
Andrew Swan
5275f0b23f
Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
...
MozReview-Commit-ID: 1cnNsWLVGmg
--HG--
extra : source : 91675759981c8e6185e6dc67ed88103265b135d8
extra : amend_source : 889380c90839eef813ec14a93b66de2d5ac9ab45
extra : intermediate-source : 947bafefb106318708f5971e49898210d35e2af2
2017-11-08 17:14:11 -08:00
Oriol Brufau
da20c7145a
Bug 1437178 - Fix various pageAction visibiltiy issues when using show_matches and hide_matches r=mixedpuppy
...
MozReview-Commit-ID: 5jQ7MkkKWRk
--HG--
extra : rebase_source : 4af4acda8d25c606ea8734b2ce3bd96954647dbd
2018-02-09 22:22:43 +01:00
Jan Odvarko
96233200ee
Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
...
MozReview-Commit-ID: IymuzcUg0VN
--HG--
extra : rebase_source : 5c262babe60132c9a73acc7dadf3b38f30133ecc
2018-02-14 11:32:10 +01:00
Mark Striemer
5431ec74a5
Bug 1429590 - Only allow one homepage to be set by extensions r=aswan
...
MozReview-Commit-ID: 8DTj8ceWAr8
--HG--
extra : rebase_source : 006f967cfd183e9c915e622056fec10ab173842e
2018-01-31 20:21:32 -06:00
Mark Striemer
8c26de1d7c
Bug 1421811 - Part 2: Support commands.reset() to reset a command's updates r=mixedpuppy
...
MozReview-Commit-ID: 4hWGo1ZH6tn
--HG--
extra : rebase_source : afa5b3dff8f77b5d5f87e71aa63918e1a4d31bfd
2018-01-31 15:49:20 -06:00
Mark Striemer
35992a1b90
Bug 1421811 - Part 1: Support commands.update() to modify a command r=mixedpuppy
...
MozReview-Commit-ID: 5A6ZmvNT294
--HG--
extra : rebase_source : fb8461900000fbf461eaabfc662051940b8de16a
2018-01-31 15:48:32 -06:00