Commit Graph

224 Commits

Author SHA1 Message Date
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
Kevin Jones
e241ee7411 Bug 1377733 - Add discarded property to tabs.Tab on desktop. r=zombie, r=kmag 2017-08-31 16:14:26 -06:00
Wes Kocher
30f276b96e Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJmeuDcuHke
2017-08-28 17:45:07 -07:00
Kevin Jones
1e7c0e47a1 Bug 1322060 - Extension API to store persistent values on window/tab using get/set/remove methods. r=kmag, r=bsilverberg 2017-08-27 16:42:00 -04:00
Kevin Jones
9b657f178a 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.
2017-08-24 18:24:00 -04:00
Michael Kaply
146fab608c Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3
2017-07-18 11:28:33 -05:00
Sebastian Hengst
8dcc1cbd4a 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
88553805f7 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3
2017-07-18 11:28:33 -05:00
Luca Greco
08ddc0c735 Bug 1341305 - Implement devtools.panels.elements.createSidebarPane and sidebar's setObject APIs. r=aswan
MozReview-Commit-ID: 2OhNuUWY9CP
2017-07-24 16:58:55 +02:00
Phil Ringnalda
e56ea7ba8d 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
6c66392185 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
0577011c6c 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
2017-08-18 12:25:40 -07:00
Wes Kocher
83129664ff Merge inbound to m-c a=merge
MozReview-Commit-ID: CQeEqtGlaXh
2017-08-17 16:16:51 -07:00
Michael Kaply
8181264d88 Bug 1390153 - Add support for suggest_url to WebExtension added engines. r=mixedpuppy
MozReview-Commit-ID: IPsDbwZ8KSy
2017-08-14 10:56:47 -05:00
Kris Maglione
a0e9e1acb5 Bug 1238314: Part 2 - Implement browser.tabs openerTabId functionality. r=aswan
MozReview-Commit-ID: L4ycNoQDfa
2017-08-04 16:13:59 -07:00
Shane Caraveo
c01f2f1be3 Bug 1341126 implement open for browser/page/sidebar actions, r=kmag,zombie
MozReview-Commit-ID: 5r5aGpyPQ6W
2017-03-08 23:36:25 -08:00
dw-dev
ef7fa36536 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
2017-08-11 18:24:57 +01:00
Thomas Wisniewski
3b61613d06 Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9
2017-07-04 20:59:26 -04:00
Phil Ringnalda
d0468e0e07 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
33b34c4304 Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9
2017-07-04 20:59:26 -04:00
Tomislav Jovanovic
0b5e8be557 Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw
2017-07-25 20:57:45 +02:00
Sebastian Hengst
2229cb72c0 Backed out changeset 0bb1d7f7feb0 (bug 1363886) 2017-07-25 10:40:38 +02:00
Tomislav Jovanovic
182d107498 Bug 1363886 - Part 2: Fix a number of async callback parameters schemas r=kmag
MozReview-Commit-ID: JY8r8IePEcw
2017-07-24 22:05:20 +02:00
Tomislav Jovanovic
6b6b1d4751 Bug 1268020 - Implement "tools_menu" context r=kmag
MozReview-Commit-ID: KPUsBbqyQTC
2017-06-28 16:19:24 -07:00
Wes Kocher
518592e048 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
ce627f6470 Bug 1378882 - Support is_default for built-in engines only. r=mixedpuppy
MozReview-Commit-ID: C4iM2boQhK3
2017-07-18 11:28:33 -05:00
Luca Greco
f64189b389 Bug 1341304 - Implement devtools.panels.elements.onSelectionChanged. r=aswan
MozReview-Commit-ID: HMKvnk3wDyX
2017-06-01 20:06:53 +02:00
Bob Silverberg
5e908eb7b7 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
2017-07-05 16:53:10 -04:00
Thomas Wisniewski
58faf0ee3f Bug 1348911 - Add lastAccessed to tabs.Tab; r=mixedpuppy,zombie
MozReview-Commit-ID: 4ulhseGDQ4P
2017-07-07 20:17:23 -04:00
Swapnesh Kumar Sahoo
644cd8eb67 Bug 1321544 - Support icons for context menu items; r=zombie
MozReview-Commit-ID: HLaL8h0WK2c
2017-07-11 22:27:20 +05:30
dw-dev
24b3acee78 Bug 1269300 Patch 5;r=mixedpuppy
MozReview-Commit-ID: ByikIYU4ASF
2017-07-13 18:34:29 +01:00
Thomas Wisniewski
326c595931 Bug 1376991 - Extend browsingData to restrict removing cookies to a give list of hostnames; r=mixedpuppy
MozReview-Commit-ID: 4Tfneh5s1Q8
***
Fixes for try run failures

MozReview-Commit-ID: 2BAT1GUcvH3
2017-06-30 09:11:18 -04:00
Kris Maglione
08cf606587 Bug 1375002: Get rid of the omnibox_internal namespace. r=me
This namespace has schema definitions which spuriously expose it to extension
callers, and does not support lazy loading correctly, which breaks certain
usage patterns.
2017-07-04 15:17:45 -07:00
Carsten "Tomcat" Book
2ac538b0f1 Merge mozilla-central to autoland 2017-06-28 13:47:29 +02:00
Thomas Wisniewski
c914dbf768 Bug 1343236 - Add support for linkText to contextMenus.OnClickData. r=mixedpuppy
MozReview-Commit-ID: B0s5sPztciH
2017-06-20 17:38:18 -04:00
Matthew Wein
c7a81cb41f Bug 1329242 - Add support for browser_action.theme_icons r=mixedpuppy
MozReview-Commit-ID: HvfUQZzBQWq
2017-06-27 15:23:35 -07:00