Commit Graph

77 Commits

Author SHA1 Message Date
Masatoshi Kimura
0a8368dc11 Bug 1406594 - Fix history.search and history.getVisited so that they find hidden items correctly. r=aswan,bsilverberg
I had to add a mochitest because PlacesUtils.history.insertMany cannot create hidden redirects.

I also added a support for the "reload" transition while I am here.

MozReview-Commit-ID: ECQp6pW2r8v
2017-10-07 06:04:56 +09:00
Wouter Verhelst
fb215cb709 Bug 1405709 - Add missing await to browser.pkcs11 test suite r=zombie
MozReview-Commit-ID: GjQu8QzwHkZ
2017-10-04 17:39:36 +02: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
Kris Maglione
5a9116a4e2 Bug 1402944: Part 8 - Avoid X-ray overhead when cloning event handler responses. r=mixedpuppy
MozReview-Commit-ID: 4CHP80WymuA
2017-09-23 13:30:52 -07:00
Andrea Marchesini
db339e30be Bug 1333050 - Introduce BrowsingData.removeIndexedDB, r=kmag, r=janv 2017-09-21 21:41:36 +02:00
Bob Silverberg
abb21b1d3c Bug 1397081 - Update browserSettings to report the current home page and new tab page in all cases, r=mixedpuppy
This updates the browserSettings API to report the current value of the home page and the new tab page regardless of whether they are currently overridden by an extension.

MozReview-Commit-ID: 3usY3F4oIxl
2017-09-05 16:11:04 -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
Bob Silverberg
ccd9787851 Bug 1322308 - Allow WebExtensions to read the overriden homepage and newTab values, r=mixedpuppy
This introduces browser.browserSettings.homepageOverride and browser.browserSettings.newTabPageOverride
which will return the values of the overridden home page and the overridden new tab page.

These browserSettings are read-only.

MozReview-Commit-ID: A9vJP2QIaoA
2017-07-17 14:16:02 -04:00
Andrew Swan
ad7a175876 Bug 1359558 Part 3 Add a test for extension newtab overrides with temporary addon installation r=bsilverberg
MozReview-Commit-ID: JPEPMa80SI2
2017-07-28 14:15:09 -07:00
Valentin Gosu
b650fda6c5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02: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
Andrew Halberstadt
86f21296a2 Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM
2017-07-26 09:08:07 -04:00
Kit Cambridge
baf9b5cdad Bug 1380718 - Include the operation name in bookmark validation errors. r=mak
MozReview-Commit-ID: H4vp6ZULSq7
2017-07-13 10:09:49 -07:00
Bob Silverberg
aaf77663a9 Bug 1330494 - Part 2: Use the ExtensionsSettingsStore to handle precedence for extensions using chrome_url_overrides, r=aswan
MozReview-Commit-ID: 5sKtIXjdSmC
2017-06-28 13:11:19 -07: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
8f3415fa10 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Sebastian Hengst
eee4bfdf52 Backed out changeset e017440a55a8 (bug 1357490) 2017-07-08 11:30:47 +02:00
Kris Maglione
86ce0db3e8 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Carsten "Tomcat" Book
38f8043d36 Backed out changeset c32994ea5a67 (bug 1357490) 2017-07-07 10:43:53 +02:00
Kris Maglione
1c8442c654 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Thomas Wisniewski
49df5e4493 Bug 1287928 - Update browser.history.onVisited to use the title from the onVisit event. r=mixedpuppy
MozReview-Commit-ID: 8aEbR1PE5XX
2017-06-20 12:06:12 -04:00
Kris Maglione
41a323a096 Bug 1373293: Follow-up: Fix failing xpcshell test. r=me
MozReview-Commit-ID: 52X7bw6jlvu
2017-06-21 14:10:22 -07:00
Markus Stange
a189b08620 Bug 1365400 - Add all profiler features to the enum list, and a test. r=kmag,njn
The source of truth for this list is in the PROFILER_FOR_EACH_FEATURE macro.

MozReview-Commit-ID: 13qppZKVi1r
2017-06-16 14:52:30 -04:00
Mark Banner
9916415caf Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 5KC23kzaCFN
2017-06-08 10:59:12 +01:00
Kris Maglione
972b1073af Bug 1368152: Part 4 - Remove ExtensionManagement.jsm. r=aswan
MozReview-Commit-ID: Apbi1QYeb2x
2017-06-03 17:18:18 -07:00
Ryan VanderMeulen
8624c7df43 Backed out 4 changesets (bug 1357490) for causing frequent xpcshell timeouts.
Backed out changeset 916250167bc8
Backed out changeset c2a286511a6c
Backed out changeset 9cc319bef82d
Backed out changeset 29443725aebb
2017-05-30 12:36:43 -04:00
Kris Maglione
f14112537f Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Phil Ringnalda
47e31541cc Backed out 2 changesets (bug 1357490) for promise chain failed to handle a rejection QI failures
CLOSED TREE

Backed out changeset 3737f31a7ec3 (bug 1357490)
Backed out changeset 33f6f0354ade (bug 1357490)

MozReview-Commit-ID: 2Q4bUrnntlZ
2017-05-29 16:34:00 -07:00
Kris Maglione
679752df82 Bug 1357490: Part 2: Run browser xpcshell tests in both in-process and OOP modes. r=aswan
MozReview-Commit-ID: 1ogotK4j3cy
2017-05-29 14:10:27 -07:00
Bob Silverberg
2addc83c48 Bug 1364546 - Set the children property for BookmarkTreeNodes without children, r=mixedpuppy
BookmarkTreeNodes without children do not contain a children property, but they should actually
contain a children property which is an empty array. This is what Chrome does as well.

This patch fixes that, and includes a test for a case of getChildren that was previously
untested, which I noticed when working on this code.

MozReview-Commit-ID: CjUwExma760
2017-05-23 15:16:10 -04:00
Florian Quèze
b2499a4c57 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Markus Stange
ee5fa46e90 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L
2017-05-11 00:32:46 -04:00
Wes Kocher
871bb96369 Backed out 2 changesets (bug 1362800) for eslint failures a=backout
Backed out changeset 0492e6f16df1 (bug 1362800)
Backed out changeset 785cf0c4b67b (bug 1362800)

MozReview-Commit-ID: EY2RYz7lwtI
2017-05-10 14:42:49 -07:00
Markus Stange
5c68ac2882 Bug 1362800 - Expose geckoProfiler.getProfileAsArrayBuffer. r=kmag
MozReview-Commit-ID: 7uFPWAhh25L
2017-05-10 17:09:51 -04:00
Doug Thayer
c8eb3cc7f1 Bug 1326572 - Provide an API for nsIProfiler r=kmag,mstange
In order to rewrite the Gecko Profiler add-on as a WebExtension,
we need an API for the profiler which allows us to control the
nsIProfiler, and symbolicate the stacks that it provides. This
is the implementation of the simpler parts of that API.

TODO:
- Support profiling of remote targets through a new devtools
  API.
- Support the dump_syms breakpad code which was asm.js in the
  old extension by directly calling into native code.
- Figure out a faster way to send the large volume of data from
  getSymbols all the way from our extension down to the content
  process and then into the page's context.

MozReview-Commit-ID: JzDbV4l2eXd
2017-04-11 09:03:40 -07:00
Tushar Saini (:shatur)
ca4bc56154 Bug 1280582 - Implement browser.history.onTitleChanged. r=bsilverberg,mixedpuppy
MozReview-Commit-ID: jzil9lDYnN
2017-03-08 21:18:19 +05:30
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Jerry Krinock
0c4dcaae3a Bug 1343473 - Fixed parentId on the root node returned from bookmarks.getSubTree. r=bsilverberg, r=mixedpuppy 2017-03-16 15:43:00 -04:00
Bob Silverberg
80f8ac8b27 Bug 1341541 - WebExtensions bookmarks.getRecent() results include raw tag objects, r=mak,mixedpuppy
MozReview-Commit-ID: 8FabO0eoktP
2017-02-28 08:44:43 -05:00
Bob Silverberg
c02eb896c2 Bug 1339868 - browsingData.settings includes an invalid property in its returned objects, r=aswan
Also fixes browsingData.settings() does not work if "Time range to clear" is set to "Everything".

MozReview-Commit-ID: 5GtwYF6xCSj
2017-02-15 12:39:03 -05:00
Bob Silverberg
66a527bc67 Bug 1321303 - Part 7: Implement browsingData.removePasswords, r=aswan,Dolske
MozReview-Commit-ID: E23EYrBs3Ze
2016-12-20 16:32:47 -05:00
Bob Silverberg
c8b6355fd6 Bug 1321303 - Part 4: Implement browsingData.removeDownloads, r=aswan
MozReview-Commit-ID: 6D0bLoJBByy
2016-12-13 12:41:11 -05:00
Bob Silverberg
ae3ccfbb6f Bug 1321303 - Part 2: Implement browsingData.removeCache, r=aswan
MozReview-Commit-ID: 3mBgpkoFaYJ
2016-12-01 14:01:08 -05:00
Bob Silverberg
8fa4d6fdf2 Bug 1321303 - Part 1: Implement browsingData.remove and removeCookies, r=aswan,mak
MozReview-Commit-ID: DawjN9bGcmL
2016-11-30 10:18:02 -05:00
Mark Banner
55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00: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