Commit Graph

259 Commits

Author SHA1 Message Date
Markus Stange
e2585e8cd9 Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v
2018-02-17 19:38:14 -05:00
arthur.iakab
a228fc0e1f 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
1a90b41cf1 Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v
2018-02-17 19:38:14 -05:00
arthur.iakab
54f7e48685 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
6a3f3126ac Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v
2018-02-17 19:38:14 -05:00
arthur.iakab
839299bfc2 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
a64ed18c6b Bug 1439014 - Add a profiler feature to enable JIT optimization tracking. r=njn,sfink
MozReview-Commit-ID: LDxiLVp7e9v
2018-02-17 19:38:14 -05:00
Shane Caraveo
03e444ba0c 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
2018-03-09 09:11:28 -06:00
Andrew Swan
d3734cd97e Bug 1402850 Don't include runtime permissions in prompts for webextension updates r=zombie
MozReview-Commit-ID: 1cnNsWLVGmg
2017-11-08 17:14:11 -08:00
Oriol Brufau
a2c735dd35 Bug 1437178 - Fix various pageAction visibiltiy issues when using show_matches and hide_matches r=mixedpuppy
MozReview-Commit-ID: 5jQ7MkkKWRk
2018-02-09 22:22:43 +01:00
Jan Odvarko
66dc3cbede Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
MozReview-Commit-ID: IymuzcUg0VN
2018-02-14 11:32:10 +01:00
Mark Striemer
de4cbaa8f3 Bug 1429590 - Only allow one homepage to be set by extensions r=aswan
MozReview-Commit-ID: 8DTj8ceWAr8
2018-01-31 20:21:32 -06:00
Mark Striemer
e17882a01b Bug 1421811 - Part 2: Support commands.reset() to reset a command's updates r=mixedpuppy
MozReview-Commit-ID: 4hWGo1ZH6tn
2018-01-31 15:49:20 -06:00
Mark Striemer
569fc39619 Bug 1421811 - Part 1: Support commands.update() to modify a command r=mixedpuppy
MozReview-Commit-ID: 5A6ZmvNT294
2018-01-31 15:48:32 -06:00
Rob Wu
7411473343 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
2017-09-14 18:28:36 +02:00
Rob Wu
e5749a5a53 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
2017-09-14 16:37:57 +02:00
Rob Wu
81c67108a1 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
2017-09-13 03:14:00 +02:00
Rob Wu
1100f72997 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
2017-09-10 01:38:45 +02:00
dw-dev
a8fc24ed04 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
2018-01-19 14:13:33 +00:00
Jan Odvarko
0461788e8d Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: gUtGjbr0FQ
2018-01-22 18:30:46 +01:00
Oriol Brufau
4791668dc2 Bug 1424538 - Allow pageAction and sidebarAction set* methods to accept a null value (desktop). r=mixedpuppy
MozReview-Commit-ID: FqcRrFDYqWp
2017-12-18 20:41:10 +01:00
Margareta Eliza Balazs
b3373e3395 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
c2251ea4d5 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
36b111ba95 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: I9F4tGSwBrt
2018-01-17 13:32:42 +01:00
dw-dev
89dc5fad16 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
2018-01-18 10:15:36 +00:00
Shane Caraveo
f5d20643a7 Bug 1423725 add show/hide tabs api, r=rpl
MozReview-Commit-ID: 4z73ZTRE7kN
2018-01-18 16:37:18 -07:00
Shane Caraveo
d906a001b7 Bug 1423725 add event, query and details for hidden status, r=Gijs,rpl
MozReview-Commit-ID: AMcmbh4m8lK
2018-01-18 16:37:11 -07:00
Oriol Brufau
025ddf566c Bug 1427431 - Add methods to check if browser/page/sidebar actions are enabled/shown/open r=mixedpuppy
MozReview-Commit-ID: DPbg8SwKVQL
2018-01-11 18:19:02 +01:00
Tim Nguyen
6fe1265233 Bug 1427463 - Implement tabs.captureTab(tabId). r=mixedpuppy
MozReview-Commit-ID: 5sr3I1A1b8A
2018-01-10 14:51:43 +00:00
Luca Greco
d7226aa2e4 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
9f671e6f20 Bug 1419940 - Allow browserAction set* methods to accept a null value. r=aswan
MozReview-Commit-ID: H2UfUITBEMm
2017-11-29 05:50:00 +01:00
Shane Caraveo
b6a7a9f51d Bug 1419842 support pattern matching to show/hide pageActions, r=aswan
MozReview-Commit-ID: bYcR08xX8r
2017-12-05 14:41:21 -08:00
Tim Nguyen
58e5afb568 Bug 1370499 - Support WebExtensions bookmark context menus. r=mixedpuppy
MozReview-Commit-ID: AkYxeGHlDvi
2017-11-20 23:01:02 +00:00
Kevin Jones
fb70106197 Bug 1322485 - Implement browser.tabs.discard API. r=mixedpuppy 2017-10-30 12:52:00 -04:00
Bob Silverberg
1da3e71d51 Bug 1408993 - Allow tabs.create to create URLS in reader mode, r=mixedpuppy
MozReview-Commit-ID: B5Nk0ZVvQIC
2017-10-16 10:42:45 -04:00
Nicholas Nethercote
084985fd45 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.
2017-10-06 17:35:44 +11:00
Nicholas Nethercote
920671fff1 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.
2017-10-06 17:34:22 +11:00
Nicholas Nethercote
9a7b0ad887 Bug 1406296 (part 1) - Remove the profiler's "displaylistdump" feature. r=mstange.
It's not useful.
2017-10-06 17:33:30 +11:00
Wouter Verhelst
4663f4df9b 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
2017-08-22 17:59:38 +02:00
Wes Kocher
c4e92cfbc2 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
f8f3aa51f5 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
2017-08-22 17:59:38 +02:00
Thomas Wisniewski
df36f3c816 Bug 1388428 - Extend browsingData to restrict removing localStorage to a given list of hostnames; r=asuth,bsilverberg
MozReview-Commit-ID: ELgjLHsVLkv
2017-09-25 16:47:38 -04:00
Bob Silverberg
4ac6021faa 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
2017-09-08 17:00:27 -04:00
Sebastian Hengst
f54d49906c 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
adb943d5da 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
2017-09-08 17:00:27 -04:00
Luca Greco
58f9bcb721 Bug 1398729 - Support devtools.panels.elements sidebar.setExpression API method. r=aswan
MozReview-Commit-ID: 2tRLF59o8Bg
2017-09-09 16:39:17 +02:00
Tomislav Jovanovic
c2d83ea2fd Bug 1394553 - Part 1: Implement "devtools" permission r=aswan
MozReview-Commit-ID: 89XUmZUhC65
2017-09-04 21:49:40 +02:00
Bob Silverberg
e13780255f 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
2017-09-08 08:31:39 -04:00
Shane Caraveo
a9b17aeedb 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
b2a19417d4 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
2017-08-28 17:05:55 -04:00