Commit Graph

839 Commits

Author SHA1 Message Date
Mark Striemer
4c033eb077 Bug 1395074 - Clear browserAction tab data on navigation r=mixedpuppy
MozReview-Commit-ID: 4hugj2q84Rd
2017-09-26 16:06:06 -05: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
a53de73c40 Bug 1402503: Follow-up: Make sure we get a new content process for process hang tests. r=bustage
MozReview-Commit-ID: 1CLUQbahE2W
2017-09-27 20:44:30 -07:00
Kris Maglione
b148bb5e9a Bug 1402503: Part 2 - Add test for extension slow script dialog. r=mixedpuppy
MozReview-Commit-ID: BknBhAttKHS
2017-09-25 11:49:39 -07: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
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
Dale Harvey
d4946bdda2 Bug 1399642 - Use photon search icon in awesomebar. r=dao
MozReview-Commit-ID: Dzf8DqrGRam
2017-09-26 11:13:56 +01:00
Mark Striemer
67d2df8a0c Bug 1314674 - Maintain badge style in new windows and customize r=mixedpuppy
MozReview-Commit-ID: 8f99d6Uqtx1
2017-09-20 17:27:48 -05: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
Phil Ringnalda
62f4ec4130 Merge m-c to m-i
MozReview-Commit-ID: LQmIsTRxble
2017-09-21 20:49:43 -07:00
Wes Kocher
f05fbb8ef7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IsEMW5gXG3W
2017-09-21 17:04:36 -07:00
Sebastian Hengst
2086ee8ef6 Backed out changeset 7e8e47c972f4 (bug 1397975) for eslint failure at browser/components/extensions/ext-chrome-settings-overrides.js:124: windowTracker is not defined. r=backout 2017-09-21 22:56:07 +02:00
Mike de Boer
021d3d1107 Bug 1401383 - remove anchor state after transition even if the transition is canceled, and always set main view as current, r=Gijs
We weren't removing the 'open' attribute from the anchor if the transition didn't complete.
This patch fixes this by moving the addition of 'open' into _transitionViews, and its removal into
_cleanupTransitionPhase.

MozReview-Commit-ID: TS0CcwsHVN
2017-09-21 22:18:07 +02:00
Michael Kaply
2be5d65247 Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK
2017-09-07 19:38:55 -05:00
Michael Kaply
b915722337 Bug 1397975 - Show opt-in dialog for is_default with non built-in engines. r=aswan
MozReview-Commit-ID: 67SvzDcM7kK
2017-09-07 19:38:55 -05:00
Bob Silverberg
d30597e970 Bug 1375546 - Fix sessions.getRecentlyClosed to consider the current tab history index, r=mikedeboer,mixedpuppy
If the back button is used to navigate a tab backwards in its history, and then the tab is closed,
the current implementation of sessions.getRecentlyClosed does not take this into account and
just uses the last item in the tab history for the values returned for the tab. This patch fixes
this by using the values for the current position of the tab in its history.

MozReview-Commit-ID: LcgtA5FqVWi
2017-09-19 16:05:33 -04:00
Andrea Marchesini
d860ef7768 Bug 1333050 - Test for BrowsingData.removeIndexedDB, r=kmag 2017-09-21 21:41:52 +02:00
Andrea Marchesini
db339e30be Bug 1333050 - Introduce BrowsingData.removeIndexedDB, r=kmag, r=janv 2017-09-21 21:41:36 +02:00
Sebastian Hengst
2bdce0b67c Backed out changeset f4c33a37fe6d (bug 1395890) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_find.js. r=backout on a CLOSED TREE 2017-09-19 16:35:31 +02:00
Nan Jiang
30ffa2b3a5 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm
2017-09-12 09:47:51 -04:00
Luca Greco
386576fa84 Bug 1383310 - Extensions Devtools panels should not receive messages or ports from content scripts. r=zombie
MozReview-Commit-ID: B5Hq11Tb3Y0
2017-09-14 16:43:45 +02:00
Dan Banner
f7d41414af Bug 1395890 - Change all ESLint rules that are warnings to errors. r=standard8
MozReview-Commit-ID: LJS6m1GppiS
2017-09-18 19:07:17 +01:00
Joel Maher
34ea8ffcdc Bug 1398514 - Disable browser/components/extensions/test/browser/test-oop-extensions/browser_ext_tabs_executeScript_runAt.js on windows for frequent failures. r=me, a=test-only 2017-09-18 12:00:26 -04:00
Ryan VanderMeulen
00e062bad2 Merge m-c to inbound. a=merge 2017-09-15 14:20:59 -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
Nicolas Chevobbe
f94f373874 Bug 1399460 - Fix browser_ext_devtools_inspectedWindow_eval_bindings.js failure. r=rpl
The bug was failing because we were calling the server but the connection was already closed.
In order to prevent such things, we check the number of nodes of the tree, and if it has only
one, then we wait on a mutation that will ensure that server calls are done.

MozReview-Commit-ID: 7kHAkYs2I4K
2017-09-14 17:59:33 +02:00
Liang-Heng Chen
51f591d6b3 Bug 1399409 - Ignore about:blank in awaitBrowserLoaded. r=kmag
MozReview-Commit-ID: 8WoN86Zd6PS
2017-09-13 23:46:00 -04:00
Bob Silverberg
03a66f5cfc Bug 1366290 - Fix the ordering of tabs.onActivated and tabs.onRemoved, r=kmag
Currently tabs.onActivated (for the tab that becomes active after a tab is removed) fires before
tabs.onRemoved (for the tab that was removed). This is neither the order in which Chrome fires
these events, nor is it the order in which the internal TabSelect and TabClose happen in Firefox.
This bug fixes this so tabs.onActivated fires *after* tabs.onRemoved.

Note that this does introduce an issue in in-process mode, where window.close() will not
trigger a tabs.onRemoved event for the window, but Kris says "Meh" about that.

MozReview-Commit-ID: CrFR3jqL2u5
2017-05-31 12:01:58 -04:00
Mark Striemer
eb1fcb2d5b Bug 1372996 - Clear the URL bar when on ext newtab r=mixedpuppy
MozReview-Commit-ID: 2NNOK2kRPgl
2017-09-01 09:39:24 -05:00
Luca Greco
9cf8821c11 Bug 1374590 - Add a new test case for toolbox dock mode switch with a devtools panel addon. r=aswan
MozReview-Commit-ID: 9Rf0OEdKYQl
2017-09-11 19:02:12 +02:00
Sebastian Hengst
b2d95c824e merge mozilla-central to autoland. r=merge a=merge 2017-09-14 00:11:28 +02:00
Sebastian Hengst
07e658e083 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst
cf4fdc5fdc merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Sebastian Hengst
2253081558 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GUc4LEY8qp4
2017-09-13 11:27:47 +02:00
Sebastian Hengst
de2b9eb000 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 11:44:38 +02:00
Christoph Kerschbaumer
9657c6256d Bug 1397652 - Update tests within browser/ to comply with new toplevel data: URI navigation policy. r=gijs 2017-09-13 06:56:42 +02:00
Luca Greco
79382e81e4 Bug 1398727 - Fix missing tab title on devtools.panels.elements.createSidebarPane tabs. r=gl
MozReview-Commit-ID: G5F9uEC6izs
2017-09-09 18:23:52 +02:00
Mike de Boer
998cb252ae Bug 1374749 - Animate the panelviews differently to make it look as if the view to show is pushing the previous view out of the panel. r=jaws
MozReview-Commit-ID: Dy6UppV3xDH
2017-09-12 21:33:25 +02:00
Wes Kocher
797fb55e59 Backed out changeset 5ed9b657a1ce (bug 1352459) for xperf failures a=backout CLOSED TREE
MozReview-Commit-ID: 9XmmBsTf39a
2017-09-12 18:06:16 -07:00
Luca Greco
6d6f77e024 Bug 1397196 - Fix pageAction icon loading when an extension has a cached browserAction theme-based icon. r=mixedpuppy
MozReview-Commit-ID: Lmi5pLerzul
2017-09-06 12:40:45 +02:00
Sebastian Hengst
114eb8db4c merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Kris Maglione
ee38e5a10d Bug 1399216: Move HiddenFrame.jsm to testing-common. r=Mossop,glandium
MozReview-Commit-ID: GTBRCYEoYq2
2017-09-12 11:56:57 -07:00
Sebastian Hengst
20affb951b Backed out changeset 39a94e16a369 (bug 1034036)
MozReview-Commit-ID: IcSi7Zbp96e
2017-09-09 12:58:33 +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
Tomislav Jovanovic
2eda2f10a8 Bug 1394348 - Fix document_idle run_at timing r=kmag
MozReview-Commit-ID: FBPlw6CiUE2
2017-09-08 00:36:50 +02:00
Beekill95
40f49ffa4b Bug 1034036 - Part 3: Tests that use set state should wait until window is restored to continue. r=mikedeboer
MozReview-Commit-ID: 5SZ9ePGMKF1
2017-08-15 14:45:08 +07:00