Commit graph

329 commits

Author SHA1 Message Date
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
Rob Wu
ea69a1a9b5 Bug 1215376 - Fire menus.onShown for every menu r=mixedpuppy
This commit lifts the restriction that onShown is only fired for
extensions with a visible menu item.

MozReview-Commit-ID: Ao4MgBoRWLR

--HG--
extra : rebase_source : c1acd1bcbfdcc6ef4bfaf199f3f016dde71ad2e5
2017-09-14 18:28:36 +02:00
Rob Wu
fc7e2d4ea9 Bug 1215376 - Add more contextual information to onShown r=mixedpuppy
- Adds most of the OnClickData properties to the onShown event parameter
  (except for menu-specific properties such as parentMenuId / checked).
- Add tests to verify the values of these properties.

MozReview-Commit-ID: 7705sJyAOIJ

--HG--
extra : rebase_source : 8948ea20129cfd1c34653a3cbe9b36cebd6fa00d
2017-09-14 16:37:57 +02:00
Rob Wu
e86d6006f0 Bug 1215376 - Add menus.refresh to update menus r=mixedpuppy
Together with the previous patches that introduced menus.onShown,
this enabled extensions to update/remove menu items after a menu
has been shown.

At this point, it is not yet possible to add a menu item if an
extension has not shown a menu item before; this can be added later.

MozReview-Commit-ID: E0JrE9gd4gS

--HG--
extra : rebase_source : 0d21c369eb17b3a819603f27af8d9f9fccf5b783
2017-09-13 03:14:00 +02:00
Rob Wu
e9a64ba705 Bug 1215376 - Add onShown and onHidden to contextMenus/menus API r=mixedpuppy
This commit adds the bare minimum to support the onShown and onHidden
methods in the contextMenus and menus API (plus tests).

The onShown event data may be extended in a separate commit, to make it
easier to see how the additional properties are reflected in the tests.

MozReview-Commit-ID: 20VJS2YLhTN

--HG--
extra : rebase_source : 1fe9985b2e5daa1be455e07ccf58e36e6d9fe508
2017-09-10 01:38:45 +02:00
dw-dev
9d2e97a23a Bug 1415507 - changes to tabs.saveAsPDF(); r=mixedpuppy
There are three changes:

1. Adds a print progress listener to tabs.saveAsPDF() in ext-tabs.js so that the
  'saved' or 'replaced' status is not returned until the PDF file has been saved.

2. Adds four more "edge" properties to the  pageSettings object to allow positioning
   of the page headers and footers.

3. Adds automated tests for tabs.saveAsPDF() in browser_ext_tabs_saveAsPDF.js that
   cover all returned statuses: saved, replaced, canceled, not_saved, not_replaced.

MozReview-Commit-ID: iljvT8wp11

--HG--
extra : rebase_source : 081f8b6ed56ecaa5f5f5414a11f57b143c0fd19e
2018-01-19 14:13:33 +00:00
Jan Odvarko
c59f2d5676 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: gUtGjbr0FQ

--HG--
extra : rebase_source : 78f837101f83d5ad455fc7e2d1f53db054cec4cc
2018-01-22 18:30:46 +01:00
Oriol Brufau
2259549f9d Bug 1424538 - Allow pageAction and sidebarAction set* methods to accept a null value (desktop). r=mixedpuppy
MozReview-Commit-ID: FqcRrFDYqWp

--HG--
extra : rebase_source : 0ae2cfb1db75f3abbdc9b0e57c56848dadd3a431
2017-12-18 20:41:10 +01:00
Margareta Eliza Balazs
9ba236fd80 Backed out changeset 32daec7fd5b6 (bug 1311177) for bc5 failures in browser/components/extensions/test/browser/test-oop-extensions/browser_ext_devtools_network.js on a CLOSED TREE 2018-01-19 11:54:43 +02:00
Noemi Erli
9f768aa4e8 Backed out changeset 9687e3d987be (bug 1415507) for bc failures in browser/components/extensions/test/browser/browser_ext_tabs_saveAsPDF.js on a CLOSED TREE 2018-01-19 10:22:14 +02:00
Jan Odvarko
e1114707d4 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: I9F4tGSwBrt

--HG--
extra : rebase_source : ce3adb6ce47e62302b29651a05276d13621679cb
2018-01-17 13:32:42 +01:00
dw-dev
0af31f6b53 Bug 1415507 - changes to tabs.saveAsPDF(); r=mixedpuppy
There are three changes:

1. Adds a print progress listener to tabs.saveAsPDF() in ext-tabs.js so that the
  'saved' or 'replaced' status is not returned until the PDF file has been saved.

2. Adds four more "edge" properties to the  pageSettings object to allow positioning
   of the page headers and footers.

3. Adds automated tests for tabs.saveAsPDF() in browser_ext_tabs_saveAsPDF.js that
   cover all returned statuses: saved, replaced, canceled, not_saved, not_replaced.

MozReview-Commit-ID: LMTjKDjBwY3

--HG--
extra : rebase_source : 3fc661c737ee5800d9d40e51ecafc11a946e8780
2018-01-18 10:15:36 +00:00
Shane Caraveo
636a2a5a8f Bug 1423725 add show/hide tabs api, r=rpl
MozReview-Commit-ID: 4z73ZTRE7kN

--HG--
extra : rebase_source : 7683973921b07818c7a63ab8387e4ebe65705499
2018-01-18 16:37:18 -07:00
Shane Caraveo
d78ea2931e Bug 1423725 add event, query and details for hidden status, r=Gijs,rpl
MozReview-Commit-ID: AMcmbh4m8lK

--HG--
extra : rebase_source : 6e8c246cbe69e4d298de031361e10276ddbf7551
2018-01-18 16:37:11 -07:00
Oriol Brufau
52b205414a Bug 1427431 - Add methods to check if browser/page/sidebar actions are enabled/shown/open r=mixedpuppy
MozReview-Commit-ID: DPbg8SwKVQL

--HG--
extra : rebase_source : 9364415cfed7ed47083d2b67782930ed99d9a021
2018-01-11 18:19:02 +01:00
Tim Nguyen
40b755ffc4 Bug 1427463 - Implement tabs.captureTab(tabId). r=mixedpuppy
MozReview-Commit-ID: 5sr3I1A1b8A

--HG--
rename : browser/components/extensions/test/browser/browser_ext_tabs_captureVisibleTab.js => browser/components/extensions/test/browser/browser_ext_tabs_captureTab.js
extra : rebase_source : 3bcadd40eb506bbaef53f0cafcbcd4347e5cf58b
2018-01-10 14:51:43 +00:00
Luca Greco
d9b0711c09 Bug 1425224 - Use manifest.ExtensionURL in devtools.panels.create API schema. r=mixedpuppy
MozReview-Commit-ID: AR6j1fC0PmJ
2017-12-14 18:20:59 +01:00
Oriol Brufau
a9a6960797 Bug 1419940 - Allow browserAction set* methods to accept a null value. r=aswan
MozReview-Commit-ID: H2UfUITBEMm

--HG--
extra : rebase_source : 470bcb87dc3389430068bd374084192a375aa1fd
2017-11-29 05:50:00 +01:00
Shane Caraveo
f27fb376d0 Bug 1419842 support pattern matching to show/hide pageActions, r=aswan
MozReview-Commit-ID: bYcR08xX8r

--HG--
extra : rebase_source : cdd22772e6b319dc3fb2c8895503bf22f872f745
2017-12-05 14:41:21 -08:00
Tim Nguyen
a8dec5b3f6 Bug 1370499 - Support WebExtensions bookmark context menus. r=mixedpuppy
MozReview-Commit-ID: AkYxeGHlDvi

--HG--
extra : rebase_source : 104e86ceec0994076b1c05d6de2000ac1bc77e8c
2017-11-20 23:01:02 +00:00
Kevin Jones
02944dc817 Bug 1322485 - Implement browser.tabs.discard API. r=mixedpuppy 2017-10-30 12:52:00 -04:00
Bob Silverberg
272fe41a5f Bug 1408993 - Allow tabs.create to create URLS in reader mode, r=mixedpuppy
MozReview-Commit-ID: B5Nk0ZVvQIC

--HG--
extra : rebase_source : 6f515ef1dbc110c35b527e06f269ae703bb77468
2017-10-16 10:42:45 -04:00
Nicholas Nethercote
bbfec72b95 Bug 1406296 (part 3) - Remove the profiler's "gpu" feature. r=mstange,jrmuizel.
This allows a bunch of additional stuff to be removed: ContextStateTracker,
ContextStateTrackerOGL, and GPUMarkerPayload.

--HG--
extra : rebase_source : 879045a9f9ac31ca0beb596964c6c3ef30283a53
2017-10-06 17:35:44 +11:00
Nicholas Nethercote
4bedc03a3d Bug 1406296 (part 2) - Remove the profiler's "layersdump" feature. r=mstange.
Because it just doesn't control any behaviour within the profiler, and it just
duplicates gfxPrefs::LayersDumpTexture().

With this gone, PROFILER_FEATURE_ACTIVE can also be removed.

--HG--
extra : rebase_source : d6718894b8a9332cf73729ea6b7bd2de348817bd
2017-10-06 17:34:22 +11:00
Nicholas Nethercote
706daca552 Bug 1406296 (part 1) - Remove the profiler's "displaylistdump" feature. r=mstange.
It's not useful.

--HG--
extra : rebase_source : b18244b6f1e28b29f1f71a4cca55781316e2cdc5
2017-10-06 17:33:30 +11:00
Wouter Verhelst
81a56d6525 Bug 1357391 - Implement a PKCS#11 management API r=kmag,zombie
This WebExtensions API allows to install, remove, and query installed
PKCS#11 modules as well as to query the the status of available PKCS#11
"slots" for a given module.

Reuses the native application manifests from the "Native Messaging" API,
but using the "pkcs11" type rather than the "stdio" type.

All calls expect an application name, which is not the PKCS#11 friendly
name (the "description" field in the manifest file is used for that) but
instead the application name in the manifest file.

MozReview-Commit-ID: 8dHr5QfEaXv

--HG--
extra : rebase_source : 196ff66a8987be1b21463b725a2e207396e5eb0a
2017-08-22 17:59:38 +02:00
Wes Kocher
32225d9fd6 Backed out changeset 82920c8bb33a (bug 1357391) for xpcshell failures in test_ext_pkcs11_management.js a=backout
MozReview-Commit-ID: JUyVhAEDNs0
2017-09-29 11:22:49 -07:00
Wouter Verhelst
39f5c2a463 Bug 1357391 - Implement a PKCS#11 management API r=kmag,zombie
This WebExtensions API allows to install, remove, and query installed
PKCS#11 modules as well as to query the the status of available PKCS#11
"slots" for a given module.

Reuses the native application manifests from the "Native Messaging" API,
but using the "pkcs11" type rather than the "stdio" type. Update the
code for the Native Messaging API to ignore any manifests for the
"pkcs11" type.

All calls expect an application name, which is not the PKCS#11 friendly
name (the "description" field in the manifest file is used for that) but
instead the application name in the manifest file.

MozReview-Commit-ID: 8dHr5QfEaXv

--HG--
extra : rebase_source : 00cc9c6d8433460c93f9c579f1696e4e17d6d3a0
2017-08-22 17:59:38 +02:00
Thomas Wisniewski
9c0a07404c Bug 1388428 - Extend browsingData to restrict removing localStorage to a given list of hostnames; r=asuth,bsilverberg
MozReview-Commit-ID: ELgjLHsVLkv

--HG--
extra : rebase_source : 8df793d8484762670e42fff4c3708df2b3ea1ebe
2017-09-25 16:47:38 -04:00
Bob Silverberg
8f848ff9df Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
This adds two properties to the Tab object:

- isArticle indicates whether the document in the tab is likely able to be
  rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
  reader mode.

It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.

There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.

MozReview-Commit-ID: AaAQ0V5qm2Z

--HG--
extra : rebase_source : f9cbed6dff56781ecd86281cb46f23f0ec8aecf6
2017-09-08 17:00:27 -04:00
Sebastian Hengst
8abbab2bc7 Backed out changeset 4e174306e0b0 (bug 1381992) for e.g. failing chrome's mobile/android/components/extensions/test/mochitest/test_ext_activeTab_permission.html on Android. r=backout 2017-09-25 18:28:58 +02:00
Bob Silverberg
659e58f274 Bug 1381992 - Add some reader mode support to the tabs API, r=mixedpuppy
This adds two properties to the Tab object:

- isArticle indicates whether the document in the tab is likely able to be
  rendered in reader mode.
- isInReaderMode indicates if the document in the tab is being rendered in
  reader mode.

It also adds a toggleReaderMode() which toggles a tab into and out of reader mode.

There is also a new case in which tabs.onUpdated will fire. When the isArticle
status of a tab changes, an onUpdated event will fire with data {isArticle: boolean}.

MozReview-Commit-ID: AaAQ0V5qm2Z

--HG--
extra : rebase_source : 579fccb76358dc0d333409ed81669cf45576e67f
2017-09-08 17:00:27 -04:00
Luca Greco
19b7ef8391 Bug 1398729 - Support devtools.panels.elements sidebar.setExpression API method. r=aswan
MozReview-Commit-ID: 2tRLF59o8Bg

--HG--
extra : rebase_source : c0371df9af68cf3332194ed6849525b0620cd8d0
2017-09-09 16:39:17 +02:00
Tomislav Jovanovic
38c090ab9e Bug 1394553 - Part 1: Implement "devtools" permission r=aswan
MozReview-Commit-ID: 89XUmZUhC65

--HG--
extra : rebase_source : 3921d9c5908fdb9e4956b3534976bfb1bef00a00
2017-09-04 21:49:40 +02:00
Bob Silverberg
bad1c19a1b Bug 1397383 - Add loadReplace option to tabs.update, r=mixedpuppy
This adds a loadReplace option into the updateOptions object for tabs.update()
which, when set to true, will cause the loading of the new URL to replace the
current URL in the tab's history.

MozReview-Commit-ID: KZTuEl7cgb0

--HG--
extra : rebase_source : 24f006fe197f56b3102cb00e226d53036b9ba93b
2017-09-08 08:31:39 -04:00
Shane Caraveo
64c09f5ee2 Bug 1380597 - Ensure the url can be loaded by the extension. r=kmag
MozReview-Commit-ID: GH31FlHxpVu
2017-09-07 17:09:40 -04:00
Bob Silverberg
ab10610842 Bug 1293853 - Part 3: Add support for separators to bookmarks API, r=mixedpuppy
This adds support for separators to the bookmarks API. Separators can now be created
and will be returned by any method that returns BookmarkTreeNodes. They will also be
included in data for the onCreated and onRemoved events.

BookmarkTreeNodes will now contain a `type` property which will be one of bookmark,
folder or separator. When creating a bookmark object, one can specify the type, or one
can rely on the Chrome-compatible behaviour which treats any bookmarks without a URL
as a folder. To create a separator one must specify a type as part of the CreateDetails
object.

MozReview-Commit-ID: BoyGgx8lMAZ

--HG--
extra : rebase_source : 95a06fe81d21d660aeecbd86b71ca6bbcd66eb10
2017-08-28 17:05:55 -04:00
Kevin Jones
c103f1eb75 Bug 1377733 - Add discarded property to tabs.Tab on desktop. r=zombie, r=kmag
--HG--
extra : histedit_source : 618b98850265ef2d26695366d023459e6d0cd2a7
2017-08-31 16:14:26 -06:00
Wes Kocher
d03d9bee49 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJmeuDcuHke
2017-08-28 17:45:07 -07:00
Kevin Jones
6fd6a2a03c Bug 1322060 - Extension API to store persistent values on window/tab using get/set/remove methods. r=kmag, r=bsilverberg
--HG--
extra : amend_source : f241d6ac188e840549fa858ed477d4ab5b0ee894
2017-08-27 16:42:00 -04:00
Kevin Jones
841456a51c Bug 1332144 - Add browser.find extension API. r=mikedeboer, r=mixedpuppy
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.

--HG--
extra : amend_source : dfa2b36794543378db58e411ca4e317a64921831
2017-08-24 18:24:00 -04:00
Michael Kaply
4fc473da9c Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : b29b61ffdddcb30ee5d3a9456c0fd9b285d4f03b
2017-07-18 11:28:33 -05:00
Sebastian Hengst
ee9a2c2c54 Backed out changeset 5d5c1a6c3f3a (bug 1378882) for eslint failures at ext-chrome-settings-overrides.js:37 and ext-chrome-settings-overrides.js:37. r=backout 2017-08-24 18:28:02 +02:00
Michael Kaply
daf2df6528 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : d1d0b629184c28e6ddd9d0e46ed783d5b767e77a
2017-07-18 11:28:33 -05:00
Luca Greco
43ae29fe27 Bug 1341305 - Implement devtools.panels.elements.createSidebarPane and sidebar's setObject APIs. r=aswan
MozReview-Commit-ID: 2OhNuUWY9CP

--HG--
extra : rebase_source : 1d9186f6c3e67891647351c7e660d3c3b6627ebc
2017-07-24 16:58:55 +02:00
Phil Ringnalda
b792bad21d Backed out changeset bb2763b51dad (bug 1332144) for landing with insufficient review
MozReview-Commit-ID: 2b699CVS9gk
2017-08-19 09:08:00 -07:00
Kevin Jones
1ee4a161ba Bug 1332144 - API browser.find r=mikedeboer
Provides access to the browser's internal Find APIs.  Can search,
get range data and rect data on found results, and highlight results.

MozReview-Commit-ID: 6hbNJuvJO3
2017-08-18 09:56:22 -06:00
Kris Maglione
40665c5e59 Bug 1391472: Part 1 - Remove integer property check from IconDetails.normalize. r=mixedpuppy
We already do this check at the schema level, so the added check in
IconDetails is unnecessary.

MozReview-Commit-ID: JTEE0xWH0a4

--HG--
extra : rebase_source : baad0a75438cdf126e0ba8df4055be50f3281d2a
2017-08-18 12:25:40 -07:00
Wes Kocher
1d9f00cb8d Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Michael Kaply
4a10c8330f Bug 1390153 - Add support for suggest_url to WebExtension added engines. r=mixedpuppy
MozReview-Commit-ID: IPsDbwZ8KSy

--HG--
extra : rebase_source : 7d6f0c1e9e1b4c1ea8ae914f021f0dac357a8c1a
2017-08-14 10:56:47 -05:00
Kris Maglione
b6480eaf24 Bug 1238314: Part 2 - Implement browser.tabs openerTabId functionality. r=aswan
MozReview-Commit-ID: L4ycNoQDfa

--HG--
extra : rebase_source : 6c7a92cd6a068d446d60469637ebc88b4355671d
2017-08-04 16:13:59 -07:00
Shane Caraveo
ade364b171 Bug 1341126 implement open for browser/page/sidebar actions, r=kmag,zombie
MozReview-Commit-ID: 5r5aGpyPQ6W

--HG--
extra : rebase_source : d20d30aab83af385512e1188902001f976ea4fd1
2017-03-08 23:36:25 -08:00
dw-dev
291d2c4afb Bug 1386805 - changes to saveAsPDF() and printPreview(); r=mixedpuppy
saveAsPDF() - changed to return error message in lastError if called on Mac OS X.

saveAsPDF() - changed returned status values to lower case with underscores instead of spaces.

printPreview() - changed to return error message in lastError if print preview fails.

MozReview-Commit-ID: KxWJ3ClqaHy

--HG--
extra : rebase_source : 4526b66ff0c342dc1302132a7f187d1cdc5b1399
2017-08-11 18:24:57 +01:00
Thomas Wisniewski
e530ba4d43 Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9

--HG--
extra : rebase_source : 9c6154bbe878fc3921d22027fdc90dbdaed05be9
2017-07-04 20:59:26 -04:00
Phil Ringnalda
e760ae7c08 Backed out changeset 5020a2dcb8a7 (bug 1355576) for failures in test_ext_browsingData.js
MozReview-Commit-ID: BVSLvIkK5Wd
2017-08-06 15:29:38 -07:00
Thomas Wisniewski
5eeefa573d Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9

--HG--
extra : rebase_source : d38ee312dbfb3b7f46893d7af200b564876c82d1
2017-07-04 20:59:26 -04:00
Tomislav Jovanovic
6c93e76d0c Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw

--HG--
extra : rebase_source : e5a031affda3f28fb9eb3ebd0723e64648f20848
2017-07-25 20:57:45 +02:00
Sebastian Hengst
7eda2e248c Backed out changeset 0bb1d7f7feb0 (bug 1363886) 2017-07-25 10:40:38 +02:00
Tomislav Jovanovic
d688cf9be3 Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw

--HG--
extra : rebase_source : 9d86b26a61a56a4446b05c348716001cc39a1843
2017-07-24 22:05:20 +02:00
Tomislav Jovanovic
1ff63c03a8 Bug 1268020 - Implement "tools_menu" context r=kmag
MozReview-Commit-ID: KPUsBbqyQTC

--HG--
extra : rebase_source : dd444b203d60ec3025bcc7881a228676b76f102a
2017-06-28 16:19:24 -07:00
Wes Kocher
6483c10611 Backed out changeset c49af70f1a94 (bug 1378882) for eslint failures in ext-chrome-settings-overrides.js a=backout CLOSED TREE
MozReview-Commit-ID: DAuBI2jFzG3
2017-07-18 22:44:06 -07:00
Michael Kaply
a8eb0ae196 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3

--HG--
extra : rebase_source : 1907777fa8ffcfe884ff2e22113f2f3e33698abc
2017-07-18 11:28:33 -05:00
Luca Greco
9472da0b3d Bug 1341304 - Implement devtools.panels.elements.onSelectionChanged. r=aswan
MozReview-Commit-ID: HMKvnk3wDyX

--HG--
extra : rebase_source : 71d999ae31270ace519c692406608b7dd3d868d7
2017-06-01 20:06:53 +02:00
Bob Silverberg
456985f68e Bug 1333376 - Support reading the title and setting the title preface of a Window object, r=aswan
Implements a title property on the Window object, and allows for a titlePreface to be set
both via windows.create and via windows.update.

MozReview-Commit-ID: CaWwPN0utzs

--HG--
extra : rebase_source : 20d4310063bc37fccb1a1fe68b5d67ec2cc0e433
2017-07-05 16:53:10 -04:00
Thomas Wisniewski
941e4787b2 Bug 1348911 - Add lastAccessed to tabs.Tab; r=mixedpuppy,zombie
MozReview-Commit-ID: 4ulhseGDQ4P

--HG--
extra : rebase_source : 12037d094ffe72b347436759b7011516b145fa92
2017-07-07 20:17:23 -04:00
Swapnesh Kumar Sahoo
0e6eae8f51 Bug 1321544 - Support icons for context menu items; r=zombie
MozReview-Commit-ID: HLaL8h0WK2c

--HG--
extra : rebase_source : aa45adcbf34880f1e75bd0a4fbc219965f0e5c1e
2017-07-11 22:27:20 +05:30
dw-dev
6c4686768a Bug 1269300 Patch 5;r=mixedpuppy
MozReview-Commit-ID: ByikIYU4ASF

--HG--
extra : rebase_source : 85e2bed93c47f8bdb2df7165b1f01169619cb170
2017-07-13 18:34:29 +01:00