Commit Graph

860 Commits

Author SHA1 Message Date
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
Nan Jiang
dcc029b876 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm
2017-09-12 09:47:51 -04:00
Sebastian Hengst
d5cdbedd23 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-08 00:07:48 +02: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
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
Gijs Kruitbosch
b4d8df2141 Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu
2017-08-15 13:03:33 +01:00
Mark Striemer
c8c345cae0 Bug 1374463 - Show extension identity when controlling newtab r=mixedpuppy
MozReview-Commit-ID: 2phlLhlAvGd
2017-08-31 12:23:48 -05: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
Kris Maglione
f9db85491d Bug 1396017: Redact window titles without the appropriate tabs permissions. r=mixedpuppy
MozReview-Commit-ID: 2QJYvJlqt9l
2017-09-01 12:20:10 -07: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
Sebastian Hengst
e307ed849e Bug 1313372 - Disable browser/components/extensions/test/browser/browser_ext_browserAction_popup.js on linux32 debug: Fix test annotationsyntax. r=bustage-fix on a CLOSED TREE 2017-08-31 20:47:02 +02:00
Joel Maher
39d36b0575 Bug 1313372 - Disable browser/components/extensions/test/browser/browser_ext_browserAction_popup.js on linux32 debug. r=gbrown 2017-08-31 13:50:13 -04:00
Lee Bousfield
8c807db446 Use extension ID instead of URL UUID for tab.mutedInfo (bug 1391168) r=kmag
MozReview-Commit-ID: 4U2oDzli9oX
2017-08-17 20:29:36 -06:00
Sebastian Hengst
07a2d01b62 merge mozilla-central to autoland. r=merge a=merge 2017-08-29 20:31:58 +02: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
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
Wes Kocher
7d6cb9f00c Merge inbound to central, a=merge
MozReview-Commit-ID: 3N9jinnrmjb
2017-08-25 16:21:57 -07:00
Luca Greco
d0114a759d Bug 1377401 - Fix devtools.inspectedWindow test intermittent. r=aswan
MozReview-Commit-ID: ICghVmM5q5F
2017-08-24 13:11:52 +02: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
Dão Gottwald
9f413e0429 Bug 1390359 - Replace faded out (i) icon with a search icon when the location bar is empty or modified. r=adw
MozReview-Commit-ID: 8Q6MeB1XuyD
2017-08-24 09:30:39 +02:00
Wes Kocher
3001c13440 Backed out changeset df24976c2a46 (bug 1390359) for test_chrome_element_css.py failures a=backout
MozReview-Commit-ID: I0zHTpanBS0
2017-08-24 00:13:25 -07:00
Dão Gottwald
8cbe15a04e Bug 1390359 - Replace faded out (i) icon with a search icon when the location bar is empty or modified. r=adw
MozReview-Commit-ID: BQJ8ZiFAzco
2017-08-23 09:41:48 +02:00
Dão Gottwald
e5a3be9f0f Bug 1391017 - Use a .bookmark-item placeholder for the bookmarks toolbar items in the toolbar while customizing. r=Gijs
MozReview-Commit-ID: JB9OSshDLKy
2017-08-23 13:01:06 +02:00
Julian Descottes
84727de33b Bug 1392531 - add test for devtools extensions using inspected window from panel;r=rpl
MozReview-Commit-ID: F1ZXG9JoySr
2017-08-22 16:32:14 +02:00
Luca Greco
1a1e5c509c Bug 1382487 - Fix devtools onSelectionChanged API event test case intermittency. r=aswan
MozReview-Commit-ID: GvljckBZpgN
2017-08-15 17:08:27 +02: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