Граф коммитов

885 Коммитов

Автор SHA1 Сообщение Дата
Alexandre Poirot 8e71d2a2f3 Bug 1438508 - Allows running brower_browser_toolbox_debugger.js more than once. r=jryans
The sandbox used in this test isn't immediately destroyed when the test finishes.
So use a unique file name to always refer to the expected sandbox/file in this debugger test.

MozReview-Commit-ID: FJYXPN0RQS2

--HG--
extra : rebase_source : 438ae8cf97bfef8bc11e86e7850b3d6d8e8f1ccc
2018-02-14 09:54:03 -08:00
Alexandre Poirot 0b75d2333d Bug 1438174 - Fix race during test shutdown in browser_browser_toolbox_debugger.js. r=jryans
The breakpoint is set in a function called every second.
We have to unregister it before test finishes, otherwise it gets randomly called during test shutdown.

MozReview-Commit-ID: IEHxnVjk1xW

--HG--
extra : rebase_source : be6cdad0d700e24f80c9e520be49ec5c9d02375b
2018-02-14 09:55:58 -08:00
Brian Grinstead 1477c8b486 Bug 1438579 - Refer to the tabbrowser element as gBrowser instead of #content;r=dao
Since gBrowser is going to become a plain JS object instead of a DOM node,
we don't want any callers directly referring to the DOM node to get ahold of it.

MozReview-Commit-ID: KbE5dlTWmS

--HG--
extra : rebase_source : ef4caea778db406205b58b9f007846dabb062978
2017-10-05 15:58:45 -07:00
Andreea Pavel 74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Yura Zenevich 7e286766a3 Bug 1428443 - allow panels to override picker functionality when they are active. r=pbro
MozReview-Commit-ID: 6VE4Y8FYfoN
2018-02-14 23:57:19 -05:00
Jan Odvarko 96233200ee Bug 1311171 - Implement the devtools.network.onRequestFinished API event; r=jdescottes,rpl
MozReview-Commit-ID: IymuzcUg0VN

--HG--
extra : rebase_source : 5c262babe60132c9a73acc7dadf3b38f30133ecc
2018-02-14 11:32:10 +01:00
Yura Zenevich 6cd058b4cd Bug 1428442 - enabling tab highlighting for more than one tool at a time. r=gregtatum
MozReview-Commit-ID: 7iMABzVuOYG
2018-02-12 22:32:42 -05:00
Alexandre Poirot 7b5702c3b8 Bug 1434374 - Remove useless Cu imports. r=jdescottes
MozReview-Commit-ID: FUeBcCrmHPL

--HG--
extra : rebase_source : bfd8ad108c7859f7271f91572e63ecf625004166
2018-02-06 11:08:31 -08:00
Alexandre Poirot e563788ea7 Bug 1434374 - Auto-rewrite Cu.import into ChromeUtils.import or require calls. r=jdescottes
MozReview-Commit-ID: 7YyLu5q23Hs

--HG--
extra : rebase_source : bb2805652c85d74a3e888326f4afa4b6857afa64
2018-02-07 01:37:36 -08:00
Alexandre Poirot 30e8a847a0 Bug 1434374 - Replace usages of Cu.import in modules (where ChromeUtils isn't defined) r=jdescottes
MozReview-Commit-ID: 8kw2H4R2VIZ

--HG--
extra : rebase_source : 7e870c31249a28dc97069c61ac73687e6ad1d98b
2018-02-05 08:43:50 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Alexandre Poirot 49d12768bc Bug 1432803 - Convert browser_keybindings_01.js to use async/await. r=Honza
MozReview-Commit-ID: LSQAQaiQI7l

--HG--
extra : rebase_source : 4b534b4e7b437b310977cbf4e16ce87f4fc93138
2018-01-25 08:32:02 -08:00
Julian Descottes 6683646ba1 Bug 1434217 - Remove unused inspector actor traits;r=bgrins
Inspector actor traits were used for backward compatibility, with
versions of Firefox older than 45. Our policy is to support servers
up to the last ESR version, which is 52 at the moment so these
should be safe to remove.

MozReview-Commit-ID: 6MwUp8vbW29

--HG--
extra : rebase_source : b36799130e66e4abdaee628d48ad1b056bc1afcd
2018-01-30 10:49:24 +01:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Julian Descottes 27a469d6a8 Bug 1102240 - rename actors/inspector/inspector.js to inspector-actor.js;r=pbro
MozReview-Commit-ID: dfzTyhZXez

--HG--
rename : devtools/server/actors/inspector/inspector.js => devtools/server/actors/inspector/inspector-actor.js
extra : rebase_source : d316a0490cc68ac3ad342af5fbcb64f24f8d01dd
2018-01-26 13:15:06 +01:00
Julian Descottes 8eb0574c63 Bug 1102240 - Move inspector actor to dedicated folder;r=pbro
MozReview-Commit-ID: LNgHweYJXcB

--HG--
rename : devtools/server/actors/inspector.js => devtools/server/actors/inspector/inspector.js
extra : rebase_source : 5f35db40dda61e7e476fae1153f10b3d580a6929
2018-01-26 11:49:48 +01:00
Dorel Luca 5985aa72cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-26 05:50:11 +02:00
Brian Grinstead 9f4fa59cb7 Bug 1424095 - Force off flexbox emulation in the Browser Toolbox;r=jryans
While this feature is still being worked on, it's nice if the BT is rendered
properly (there are currently issues with iframe sizing that make it hard to
use the inspector).

MozReview-Commit-ID: AULRq2N6Miv

--HG--
extra : rebase_source : b7596abe13bb8c0f5a3ea488dc84c8736614885d
2018-01-25 15:09:27 -08:00
Julian Descottes ca7cee6c2a Bug 1432842 - duplicate waitUntil() in browser toolbox test;r=jlast
MozReview-Commit-ID: 7ceTbl7DGgy

--HG--
extra : rebase_source : 21dcfc4d67a669af62777e78a1fa153d07e19b74
2018-01-25 10:40:33 +01:00
Julian Descottes f714f056d0 Bug 1272774 - migrate all listTabs() callers to use promise;r=ochameau
MozReview-Commit-ID: 9PtRZHG5GuF

--HG--
extra : rebase_source : f4c7cfd5f8338eb22fa44dc79a1e8b7840dc4e2d
2018-01-15 18:38:34 +01:00
Alexandre Poirot 3522ce42d1 Bug 1423517 - Helps tracking JS allocations when running DevTools tests. r=jdescottes
MozReview-Commit-ID: 7PWgsUyR54Q

--HG--
extra : rebase_source : d620f8b704e9da6e8ee7326715a21addeb08bd06
2017-12-06 01:36:51 -08:00
Jason Laster a73c9b96eb Bug 1431127 - Fix TypeError: panel._selectors.getPause. r=jdescottes 2018-01-18 10:51:00 -05:00
Jan Odvarko c59f2d5676 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: gUtGjbr0FQ

--HG--
extra : rebase_source : 78f837101f83d5ad455fc7e2d1f53db054cec4cc
2018-01-22 18:30:46 +01:00
Margareta Eliza Balazs 9ba236fd80 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
Jan Odvarko e1114707d4 Bug 1311177 - Implement the devtools.network.getHAR API method; r=jdescottes,rickychien,rpl
MozReview-Commit-ID: I9F4tGSwBrt

--HG--
extra : rebase_source : ce3adb6ce47e62302b29651a05276d13621679cb
2018-01-17 13:32:42 +01:00
Alexandre Poirot e1e0d5ea9e Bug 1425964 - Compute locale direction only once in the toolbox code. r=jdescottes
MozReview-Commit-ID: 1owwWecAe0g

--HG--
extra : rebase_source : aa62376b370a63635d24eb8324fb975d23753912
2018-01-11 08:09:33 -08:00
Alexandre Poirot e65ab1463e Bug 1365574 - Release event loop between react module loading and toolbox react rendering. r=pbro
MozReview-Commit-ID: D1M9n3VFdHJ

--HG--
extra : rebase_source : 400bcbb8a4984c32e9decc0877ed9ae7ce386842
2017-11-30 08:34:05 -08:00
Alexandre Poirot 6d25219f3c Bug 1425818 - Stop using CPOW in devtools/server/tests/browser/browser_canvasframe_helper_*.js. r=pbro
MozReview-Commit-ID: 70IEX3Q5iGa

--HG--
extra : rebase_source : 970990e5425eab8c5a1914fef86a4b539030b3f0
2017-12-18 02:21:41 -08:00
Florian Quèze 22c55eb7b7 Bug 1421992 - Hand written cleanup patch to make tests pass after removing obsolete xpcshell functions. r=Gijs,ochameau a=Aryx 2017-12-21 11:11:57 +01:00
Julian Descottes 9a6ee6fff9 Bug 1241131 - Remove DevTools reload addon;r=ochameau
MozReview-Commit-ID: GCS4ZRvwUcs

--HG--
extra : rebase_source : 6669e4ca9fcf0dc89402820fb20b8b152440c011
2017-11-30 19:08:44 +01:00
Bill McCloskey 9f4d083047 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel 89531e8dc3 Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey bef7c122df Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca eb65c24c7b Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey be77cf4a01 Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Brian Grinstead 1fff6ac2b7 Bug 1408949 - Always clear splitconsole height pref after each test;r=Honza
MozReview-Commit-ID: 8BxwRp19U9l

--HG--
extra : rebase_source : 8feee641b738331f0f58694fb809a25949dd1802
2017-12-01 10:36:25 -08:00
Brian Grinstead 72aa3b30aa Bug 1408949 - Remove unnecessary clearing of devtools.toolbox.splitconsoleEnabled;r=Honza
This is already cleared in shared-head.js

MozReview-Commit-ID: 7svp6ZiUqnE

--HG--
extra : rebase_source : 70788abbfc86a5838626fb5f1f17d03537c2830c
2017-12-01 10:36:22 -08:00
J. Ryan Stinnett 8d399e5975 Bug 1419592 - Use most recent panel in Browser Content Toolbox. r=ochameau
MozReview-Commit-ID: sNEVauLh0A

--HG--
extra : rebase_source : fc3976fca972bc224aee32830ec6cd0345ef0b7d
2017-11-21 17:10:05 -06:00
Julian Descottes 92392b47b7 Bug 1411565 - about:debugging connect to remote runtime using url parameters;r=ochameau
This changeset adds basic remote connection functionality to about:debugging.
About:debugging can target a remote firefox instance if the host and port
parameters are passed as URL search params.

The feature is not explicitly exposed at the moment and there is no UI to
connect an instance, and no UI feedback when connected to a remote instance.

When connected, about:debugging should correctly list tabs, workers and addons
for the target instance of Firefox. Debugging features work for all supported
targets.

Known limitations:
- preferences are read from the local Firefox instance (multiprocess, addon
  debugging etc...). At the moment the remote instance must be manually
  correctly configured

MozReview-Commit-ID: DOekSCb96XC

--HG--
extra : rebase_source : 89b73e885e50bfba4e1888f8791f637a5ba05ca7
extra : intermediate-source : 840e23f2a496e2cec280643fef127095bd67d518
extra : source : 6cc5cc4494e67ae9dd7371420710c3f8afe5b256
2017-10-23 10:15:40 +02:00
Greg Tatum 5912015212 Bug 1408124 - Create a new perf actor and recording panel; r=julienw
This patch adds a new performance recording panel that interfaes with
perf.html. It is enabled through the new preferences:

"devtools.performance.new-panel-enabled"

MozReview-Commit-ID: 1HBLsbREDPk

--HG--
extra : rebase_source : 22cc2826138c4891024c34947f145574f55b4541
2017-11-08 10:36:43 -06:00
Tiberius Oros e8ada3a41a Backed out changeset 36b3f7fb7d31 (bug 1408124)for chrome failures in devtools test devtools/shared/security/tests/chrome/test_websocket-transport.html r=backout on a CLOSED TREE 2017-11-28 21:47:41 +02:00
Greg Tatum bcab5cbfe4 Bug 1408124 - Create a new perf actor and recording panel; r=julienw
This patch adds a new performance recording panel that interfaes with
perf.html. It is enabled through the new preferences:

"devtools.performance.new-panel-enabled"

MozReview-Commit-ID: 1HBLsbREDPk

--HG--
extra : rebase_source : 4db73267d9868c4c62d2619111f875338c8e6171
2017-11-08 10:36:43 -06:00
Julian Descottes e735cf1383 Bug 1420179 - support tab argument in devtools shared-head refreshTab;r=nchevobbe
The tab argument was unused in the method. All the call sites have been updated to
stop providing this argument. The method now supports an optional tab argument.
It defaults to the selected tab if no argument is provided.

MozReview-Commit-ID: 621dgljHdtD

--HG--
extra : rebase_source : 676c998cb4b2f126d9ee075760e2d7d30078344b
2017-11-23 16:31:48 +01:00
Alexandre Poirot 94383e3026 Bug 1419734 - Remove tab statistics leftovers. r=jdescottes
MozReview-Commit-ID: GaMCH6BrFMP

--HG--
extra : rebase_source : 653a330ca1ce0efbf4d943e0da5952d737ada25c
2017-11-22 08:19:03 -08:00
Julian Descottes af2e5d5dd1 Bug 1416711 - Add registerAllActors API;r=ochameau
Most of the codebase that needs to create a debugger server
can use a server with all actors registered.

Define an additional method registerAllActors to do that.

By previous implementations, all the call sites that were
using browser: true were indirectly using tab & root: true
as well. So all the call sites using browser: true have been
migrated to registerAllActors and the specific behavior of
the browser: true case has been removed. Passing browser:true
to registerActors now only registers browser specific actors.

MozReview-Commit-ID: F3sx71eGrdG

--HG--
extra : rebase_source : 7704264e84d96e03a0c789103ff466980913d4d2
2017-11-13 21:22:15 +01:00
Julian Descottes 7324ecc861 Bug 1416711 - Stop guarding consumer calls to DebuggerServer.init();r=ochameau
DebuggerServer.init() already bails out if it was previously initialized
so we could avoid guarding the calls to init() with it everywhere.

Registering an actor module several times is also a noop as the Server
keeps a map of all the already registered modules and will bail out if
the module is already known.

MozReview-Commit-ID: 4ONLlx9253i

--HG--
extra : rebase_source : a6fce209baf5e019b6a216761c01832a30332343
2017-11-13 21:04:43 +01:00
Julian Descottes 4cac7dcb25 Bug 1416711 - Migrate addBrowser/TabActors to registerActors;r=ochameau
DebuggerServer has old APIs addBrowserActors & addTabActors that can be
replaced by calls to registerActors.

MozReview-Commit-ID: KpYJpbSHM8I

--HG--
extra : rebase_source : c7f20edf503b944ef2582b5fe73bd6d899c0d1cc
2017-11-13 20:29:55 +01:00
Julian Descottes cfef7be9a1 Bug 1386979 - register about-devtools-toolbox on browser startup;r=ochameau
MozReview-Commit-ID: GUBEyzg2qCw

--HG--
rename : devtools/client/framework/about-devtools-toolbox.js => devtools/shim/aboutdevtoolstoolbox-registration.js
extra : rebase_source : 77cf2036dae59c6119b0c0d2dd1ed821ace0f07d
2017-11-21 20:32:51 +01:00
Alexandre Poirot 3d64658419 Bug 1399242 - Prevent console react updates while console isn't visible. r=nchevobbe
MozReview-Commit-ID: A6NGLbiuyTE

--HG--
extra : rebase_source : 9f58d6e2ed6be3fb31de276e536158efa4cdd5ce
2017-10-09 20:14:34 +02:00
Alexandre Poirot fb08f4c098 Bug 1399242 - Ensure firing visibilitychange event and set document.visibiltyState attribute when hidding devtools panels. r=gregtatum
MozReview-Commit-ID: Gh6jp4KEZkX

--HG--
extra : rebase_source : 2125a8ceb5e235b1db525cfec9bc3268e1edce54
2017-10-09 20:16:01 +02:00
Alexandre Poirot e8f24cc6ab Bug 1411889 - Record netmonitor reload time. r=Honza
MozReview-Commit-ID: EwXuODxvm8B

--HG--
extra : rebase_source : 5e9d82f268f1c0f7423e6839d051766c3adb6702
2017-11-16 01:37:46 -08:00
Michael Ratcliffe 963fae339e Bug 1417483 - DevTools Framework to use prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: 5KKSvr2DLQu

--HG--
extra : rebase_source : 11ea368b7e4d3fd72cf449f6dd687cd5d872bf51
2017-11-15 16:22:12 +00:00
Eitan Isaacson d567085ce1 Bug 1414447 - Use displayed definitions in toolbox component for kb nav. r=jryans 2017-11-13 15:31:00 -05:00
Julian Descottes 6b5ad818ce Bug 1416704 - localize devtools options to enable new console/debugger;r=flod
MozReview-Commit-ID: IVHBg7xX3tB

--HG--
extra : rebase_source : f4f98505eee0560493fee13e429e9c672591e178
2017-11-13 12:49:05 +01:00
Michael Ratcliffe a86d96e077 Bug 1412269 - DevTools Framework to ES6 classes r=Honza
MozReview-Commit-ID: F5wt65FAhtx

--HG--
extra : rebase_source : de0a5bbf35d7f95a3fdbf97795efe5e39d05fd73
2017-10-27 13:12:46 +01:00
Alexandre Poirot 3ac4888c45 Bug 1411887 - Add telemetry to track console refresh time when reload a page. r=nchevobbe
MozReview-Commit-ID: 8zZyq9suJWB

--HG--
extra : rebase_source : 5b5ed09859a04116caf0db1041d76fcb97dd570f
2017-10-24 11:56:58 -07:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Alexandre Poirot edd4019d3c Bug 1405585 - Add telemetry to track inspector refresh time when reload a page. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: BetryDSSRC2

--HG--
extra : rebase_source : 3b4f7ce885f44058e78c320a8ebff9d4ca68e329
2017-10-18 14:41:07 -07:00
Sebastian Hengst a5064a01cb Backed out 2 changesets (bug 1405585) for failing browser-chrome's browser/components/extensions/test/browser/browser_ext_devtools_panels_elements.js. r=backout on a CLOSED TREE
Backed out changeset d2f7f0e9554d (bug 1405585)
Backed out changeset a049959544f2 (bug 1405585)
2017-10-26 12:32:20 +02:00
Alexandre Poirot 661494c527 Bug 1405585 - Add telemetry to track inspector refresh time when reload a page. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: BetryDSSRC2

--HG--
extra : rebase_source : f750cfc351d1447b8345e83a1f25a0a56b3db065
2017-10-18 14:41:07 -07:00
Sebastian Hengst 32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Joel Maher b5c9bf0e08 Bug 1387827 - Disable 2 devtools tests on coverage builds for frequent timeouts. r=gbrown, a=test-only 2017-10-16 11:42:23 -04:00
Alexandre Poirot 9b47b7dc68 Bug 1405584 - Add telemetry to track toolbox open time. r=francois,jdescottes datareview=francois
MozReview-Commit-ID: EuaYQBx8rbE

--HG--
extra : rebase_source : deabc16b5b2df1f5d9767eaa0b83874d48306953
2017-10-11 11:43:25 +02:00
Tom Tromey c43bfd93a0 Bug 1179820 - Convert style editor to client-side source maps; r=gl
MozReview-Commit-ID: CV53VKKZz4A

--HG--
extra : rebase_source : d140eb449a1a3197ea7d9cc6484a9267e2bb64af
2017-09-29 07:36:30 -06:00
Julian Descottes 13a5e182b4 Bug 1407426 - return the toolbox created when opening BrowserContentToolbox;r=jlast
We need to retrieve the toolbox object created in openContentProcessToolbox in order
to use it in tests;

MozReview-Commit-ID: BC8bWaiYAnS

--HG--
extra : rebase_source : 50d135beac736720aebce587d69ea59281152db4
2017-10-10 23:21:20 +02:00
Sebastian Hengst dc08908da7 Backed out changeset 4c5add176917 (bug 1407426) for failing devtools/client/debugger/new/test/mochitest/browser_dbg-browser-content-toolbox.js on Windows 7 debug without e10s. r=backout
--HG--
extra : amend_source : 65d28cc3d9b55d4ea5a48680238695296397b8b6
2017-10-16 14:34:53 +02:00
Julian Descottes b4e038b582 Bug 1407426 - return the toolbox created when opening BrowserContentToolbox;r=jlast
We need to retrieve the toolbox object created in openContentProcessToolbox in order
to use it in tests;

MozReview-Commit-ID: BC8bWaiYAnS

--HG--
extra : rebase_source : 50d135beac736720aebce587d69ea59281152db4
2017-10-10 23:21:20 +02:00
Tom Tromey 0892e733f3 Bug 1407230 - Don't set devtools.debugger.client-source-maps-enabled pref; r=jdescottes
This removes the last spot that sets the obsolete
devtools.debugger.client-source-maps-enabled pref.  Note that the
definition of the pref remains; it will be deleted upstream once this
lands, and then removed from M-C by the next debugger bundle landing.

MozReview-Commit-ID: DTd2iDJI1y0

--HG--
extra : rebase_source : f7ac30f2ef707c11ad3d717ea49d13e1e883bd95
2017-10-10 07:35:49 -06:00
Julian Descottes 84bf318644 Bug 1399886 - remove unnecessary invertable CSS classes on devtools icons;r=gl
Using fill instead of filter we don't need to define each icon as
invertable or not. If the icon is a SVG and supports fill="context-fill"
then it will be inverted/highlighted etc... as expected.

If not then it won't be impacted by DevTools themes.

MozReview-Commit-ID: CLFprKMuCt9

--HG--
extra : rebase_source : 391f3567c2bdf319dcfd0a3b0c87f0479f85eabd
2017-10-04 21:13:48 +02:00
Julian Descottes c56455de82 Bug 1399886 - use fill to highlight devtools toolbar icons;r=gl
Instead of duplicating SVGs to apply a different fill color, we
can use fill from css + fill="context-fill" to achieve the same
effect. This applies to all tools that have a highlighted state
for their icon: debugger, memory and performance tools.

MozReview-Commit-ID: GmqeTKS3PC

--HG--
extra : rebase_source : c613fc38ce7fedcfe111bed74216c1c38b511b9d
2017-10-04 20:41:00 +02:00
Julian Descottes 69c5043c50 Bug 1399886 - use fill from CSS to set the fill color of devtools icons;r=gl
MozReview-Commit-ID: D9A472N51DA

--HG--
extra : rebase_source : 30c743c409c9178278aa5875644501310163ef4d
2017-10-02 16:47:24 +02:00
Wes Kocher f4358f1539 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
Tom Tromey 29262f9977 Bug 1405338 - change source-map reloading test to work with --repeat; r=jdescottes
MozReview-Commit-ID: BfLX8DT4aq7

--HG--
extra : rebase_source : 7ba0aab435e8022a55e1b2f622a720c24643d33c
2017-10-03 08:56:38 -06:00
Nicolas Chevobbe 307f01eac7 Bug 1403895 - Remove devtools/shared/client/main.js; r=ochameau.
Remove the main file that we don't need anymore and modify all
the imports to target the specific file they now need.

MozReview-Commit-ID: 2uWjTnAMAU0

--HG--
extra : rebase_source : ebf75886fac79aaebfab16c03997f402e9f5a278
2017-09-29 15:24:14 +02:00
Jason Laster 196387522f Bug 1404837 - Update debugger frontend (9/29/2017). r=jdescottes
--HG--
extra : source : ec4e1ade8cf2d75ef475aa62e91620c17ebde14f
2017-10-02 10:39:00 -04:00
Wes Kocher 4f6fbf7f5d Backed out 2 changesets (bug 1404837, bug 1404787) for build bustage a=backout
Backed out changeset ec4e1ade8cf2 (bug 1404837)
Backed out changeset 5e41366119a2 (bug 1404787)

MozReview-Commit-ID: 8fHMqSdDxzh
2017-10-02 11:35:23 -07:00
Jason Laster 5c760977ba Bug 1404837 - Update debugger frontend (9/29/2017). r=jdescottes 2017-10-02 10:39:00 -04:00
Wes Kocher ef10ff52f7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: Al9lnfQMbTU
2017-09-29 14:48:58 -07:00
Wes Kocher eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
J. Ryan Stinnett ecad77ef81 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC

--HG--
extra : rebase_source : 6a520a726fe77c560ecb71c5f633a9e2d7b956f7
2017-09-26 18:39:16 -05:00
Jason Laster 3cad34d119 Bug 1403736 - Update debugger frontend (9/27/2017). r=jdescottes
MozReview-Commit-ID: 3kr1pG8fSs5

--HG--
extra : rebase_source : 537b5dd3262ad14f734ff89d4cb0f529b9dfa7b6
2017-09-29 16:53:53 +02:00
Dan Epstein b9e816d060 Bug 1402394 CamelCase all React component files in \devtools\client\shared\components\. r=pbro
MozReview-Commit-ID: HH4mbqB6RTK

--HG--
rename : devtools/client/shared/components/autocomplete-popup.js => devtools/client/shared/components/AutoCompletePopup.js
rename : devtools/client/shared/components/frame.js => devtools/client/shared/components/Frame.js
rename : devtools/client/shared/components/h-split-box.js => devtools/client/shared/components/HSplitBox.js
rename : devtools/client/shared/components/notification-box.css => devtools/client/shared/components/NotificationBox.css
rename : devtools/client/shared/components/notification-box.js => devtools/client/shared/components/NotificationBox.js
rename : devtools/client/shared/components/search-box.js => devtools/client/shared/components/SearchBox.js
rename : devtools/client/shared/components/sidebar-toggle.css => devtools/client/shared/components/SidebarToggle.css
rename : devtools/client/shared/components/sidebar-toggle.js => devtools/client/shared/components/SidebarToggle.js
rename : devtools/client/shared/components/stack-trace.js => devtools/client/shared/components/StackTrace.js
rename : devtools/client/shared/components/tree.js => devtools/client/shared/components/Tree.js
rename : devtools/client/shared/components/splitter/draggable.js => devtools/client/shared/components/splitter/Draggable.js
rename : devtools/client/shared/components/splitter/split-box.css => devtools/client/shared/components/splitter/SplitBox.css
rename : devtools/client/shared/components/splitter/split-box.js => devtools/client/shared/components/splitter/SplitBox.js
rename : devtools/client/shared/components/tabs/tabbar.css => devtools/client/shared/components/tabs/TabBar.css
rename : devtools/client/shared/components/tabs/tabbar.js => devtools/client/shared/components/tabs/TabBar.js
rename : devtools/client/shared/components/tabs/tabs.css => devtools/client/shared/components/tabs/Tabs.css
rename : devtools/client/shared/components/tabs/tabs.js => devtools/client/shared/components/tabs/Tabs.js
rename : devtools/client/shared/components/tree/label-cell.js => devtools/client/shared/components/tree/LabelCell.js
rename : devtools/client/shared/components/tree/object-provider.js => devtools/client/shared/components/tree/ObjectProvider.js
rename : devtools/client/shared/components/tree/tree-cell.js => devtools/client/shared/components/tree/TreeCell.js
rename : devtools/client/shared/components/tree/tree-header.js => devtools/client/shared/components/tree/TreeHeader.js
rename : devtools/client/shared/components/tree/tree-row.js => devtools/client/shared/components/tree/TreeRow.js
rename : devtools/client/shared/components/tree/tree-view.css => devtools/client/shared/components/tree/TreeView.css
rename : devtools/client/shared/components/tree/tree-view.js => devtools/client/shared/components/tree/TreeView.js
extra : rebase_source : 5ef89b4169dda156a8160d4d21655147f4d9da11
2017-09-27 01:12:13 -04:00
Sebastian Hengst 58cfe586be Backed out changeset 6ae05de7437d (bug 1305777) 2017-09-29 10:43:48 +02:00
J. Ryan Stinnett 41503ce759 Bug 1305777 - Remove RDM manager switch and pref. r=ochameau
This removes the switching based on the RDM.html pref and the pref itself.

Some files in old RDM are updated for completeness, but they are about to be
removed anyway.

MozReview-Commit-ID: JnTC7ZF3UCC

--HG--
extra : rebase_source : d591e04148d748c2659093295160adc6a3d2c445
2017-09-26 18:39:16 -05:00
Jason Laster da1d69c359 Bug 1405128 - Remove debugger statement. r=jdescottes 2017-10-02 19:20:00 -04:00
Wes Kocher a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Gabriel Luong c089f03855 Bug 1402709 - Don't use capture for the toolbox context menu. r=bgrins 2017-09-26 08:43:22 -04:00
Alexandre Poirot 4dd05d6b9e Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0

--HG--
extra : rebase_source : b9135d07a0b9269e3bbd8f92f9ce49c09029055d
2017-09-25 10:15:50 +02:00
Alexandre Poirot b4a4015145 Bug 1397452 - Remove all SDK compatiblity code from DevTools. r=jdescottes
MozReview-Commit-ID: IRhZeIS97cy

--HG--
extra : rebase_source : 31c638ef35d60368d676d855310cdfd26aa86428
2017-09-25 16:04:26 +02:00
Sebastian Hengst 012539a236 Backed out changeset 418e79946237 (bug 1250832) for failing devtools/client/commandline/test/browser_cmd_csscoverage_startstop.js on Windows 7 debug. r=backout 2017-09-26 13:32:00 +02:00
Alexandre Poirot bf1de68106 Bug 1250832 - Remove DevTools globals from browser.xul scope. r=jryans
MozReview-Commit-ID: 1kKJrz9iEx0

--HG--
extra : rebase_source : 41cfb38452b8124e288deef02db94f06756d2003
2017-09-25 10:15:50 +02:00
Ian Moody a2e6a32930 Bug 1395367 - Update devtools tests to handle toolbox.showFrameMenu being async. r=ochameau
MozReview-Commit-ID: BSnpdRwWKla

--HG--
extra : rebase_source : 584ee502ba8e8b4e9746e521c07895f3d7540abe
2017-09-21 23:23:20 +01:00
Ian Moody 1692c5b691 Bug 1395367 - Highlight relevant iframe in the page when it's active in the iframe document selector. r=ochameau
MozReview-Commit-ID: 7DnW4iwGnfA

--HG--
extra : rebase_source : 4bc15e818ea4a22b624a4b1fda12371126e5320e
2017-09-25 14:03:11 +01:00
Tom Tromey 19c7bf1424 Bug 952127 - notify source map subscribers after pretty-printing; r=bgrins
Intercept the applySourceMap source map worker request, so that when a
source is pretty-printed, source map subscribers can be updated.

That this does not yet handle pretty-printing original sources.  This
isn't supported yet by the debugger, and since the plan is to handle it
by augmenting the existing source map, it should be easy to fix this
code when it is implemented.

The mochitest is included here for testing but I am going to land it
upstream as well.

MozReview-Commit-ID: 3Lp1ikO8IzZ

--HG--
extra : rebase_source : f2f02e9e963864567a9dbe3a7e050afcb5f4d3b6
2017-09-15 07:54:56 -06:00
Brian Grinstead 9d3ff53d29 Bug 1397295 - Use environment variables instead of query string for params to Browser Toolbox;r=jryans
This allows data like screen position to be persisted in the xul store for the document

MozReview-Commit-ID: 4vdbkneckXh

--HG--
extra : rebase_source : b8ae9f50bcbd152e9ee9d9462a81a56661da40cb
2017-09-18 15:52:11 -07:00
Andrew Halberstadt 7527e600f0 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : b78cbf7913fc1b0a27dfa085c38957e2bc2467d0
2017-08-22 16:56:02 -04:00
Tom Tromey 9410972047 Bug 1371849 - move source map pref checkbox into "advanced" area in options panel; r=bgrins
MozReview-Commit-ID: E76CBevu12g

--HG--
extra : rebase_source : e664b89d97818cd2d08e011de5640865cd1c769c
2017-09-15 09:07:37 -06:00
Tom Tromey 79dd91860a Bug 1371849 - remove style editor's source-map pref; r=gl
This changes the style editor and inspector to use the same pref that
the other tools are using.  This pref is a bit of a misnomer for now,
because the inspector and style editor aren't actually using the
client-side service; but I think the name is not very important, and
unifying the prefs is worthwhile.

MozReview-Commit-ID: FlwCICnoaX4

--HG--
extra : rebase_source : 0b86c66b35a8e109a8657d74bfaa400d37efc738
2017-06-12 12:25:22 -06:00
jason laster adc78c74bd Bug 1399673 - Update Debugger Frontend and upgrade Source Map Worker to v0.13.0. r=jdescottes
MozReview-Commit-ID: L7igSLIa5GX
2017-09-13 20:12:01 -04:00
Luca Greco ff48108bf0 Bug 1374590 - Refactoring ParentDevToolsPanel class to provide create/destroyBrowserElement helper methods. r=aswan,ochameau
MozReview-Commit-ID: FsGlCU0H9VG

--HG--
extra : rebase_source : 8a3711bf01460e572d638a98ca3706312ef51518
2017-09-11 15:49:36 +02:00
Sebastian Hengst 006a58c35d merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2iVDKexRjxu
2017-09-13 23:58:43 +02:00
Alexandre Poirot 9b2554c396 Bug 1399548 - Prevent updating toolbox react component until it is ready to be displayed. r=gregtatum
MozReview-Commit-ID: 5gOAq7mRygf

--HG--
extra : rebase_source : 3ee3e5cf97b42050cdb1ebd5e36803d419380aa6
2017-09-12 00:40:08 +02:00
Alexandre Poirot f2bfc94341 Bug 1399449 - Convert devtools/client/responsivedesign/responsivedesign.jsm to a commonjs module. r=jryans
MozReview-Commit-ID: Jl6OGUWnbHN

--HG--
rename : devtools/client/responsivedesign/responsivedesign.jsm => devtools/client/responsivedesign/responsivedesign.js
extra : rebase_source : 329c364fc4c256273b0d02a8119637aed428134c
2017-09-13 14:33:58 +02:00
Sebastian Hengst 7dd2b068b5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-13 13:35:21 +02:00
Sebastian Hengst e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Julian Descottes 49e3e1453f Bug 1399028 - photon update - devtools icon, tab and accordion colors;r=gl
Updated colors and styles for toolbox toolbar tabs as well as sidebar tabs.
For icon color changes created special filters that match the expected photon colors.
The normal, selected and checked states of icons in both dark and light theme are now
always set using filters.

MozReview-Commit-ID: 4MTAxHnyI7a
2017-09-11 23:56:33 +02:00
Michael Brennan f8f22a254c Bug 1347827 - Add Persist Logs checkbox in NetMonitor toolbar. r=Honza 2017-09-12 12:49:00 -04:00
Julian Descottes b2076e78b0 Bug 1399180 - select devtools tab on mousedown rather than on click;r=gl
MozReview-Commit-ID: 8m3pS4ZRJ73

--HG--
extra : rebase_source : 9a39511e67be1d01014ab4c6e29c1019b57b2c14
2017-09-12 18:35:38 +02:00
abhinav 03934be7fa Bug 1327971 - Add support to show list of frames on key-press of "Alt+Down" on the "iframes" button. r=Honza
MozReview-Commit-ID: EZFG4br17mC

--HG--
extra : rebase_source : 8639a80dcdec5113f8228ebb5dbd9a17dee900b6
2017-09-10 15:41:35 +05:30
Sebastian Hengst be553422dd merge mozilla-central to autoland. r=merge a=merge 2017-09-13 11:30:55 +02:00
Tom Tromey 78f67a858a Bug 1388497 - apply source maps to CSS warnings in the console; r=bgrins
MozReview-Commit-ID: 8ObL0uwENrM

--HG--
extra : rebase_source : ae9376ca9df6da9db775c1148cfca0b867109628
2017-08-15 14:32:56 -06:00
Sebastian Hengst ecf716b8bb merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CmMBcpJapLy
2017-09-12 11:35:15 +02:00
Brian Grinstead fe57261f21 Bug 1374837 - Pipe stderr to stdout to fix the Browser Toolbox in certain Windows builds;r=kmag
This is working around an issue with Subprocess that affects some developers
using a 32 bit build on a 64 bit Windows

MozReview-Commit-ID: COsKOkBVjSZ

--HG--
extra : rebase_source : b79ae85ac4651a5be3dd0d4506626c9c56cd8069
2017-09-11 11:34:21 -07:00
Ryan VanderMeulen 4c4cd9fcc4 Bug 1386410 - Re-enable browser_toolbox_custom_host.js now that the new console frontend is riding the trains. r=bgrins 2017-09-11 20:25:16 -04:00
Brian Grinstead 1b059d048f Bug 1374837 - Add some additional logging in case the Browser Toolbox fails to open;r=jryans
MozReview-Commit-ID: 8EYnjOcZFAU

--HG--
extra : rebase_source : f02a1818d98cd177c3ad18df8de05ca7a8fbaf3f
2017-06-21 11:13:35 -07:00
Jan Odvarko 5b786275f6 Bug 1396811 - Add new telemetry probe collecting the current theme; r=chutten,liuche,ochameau
MozReview-Commit-ID: KlUHlc7YEx9

--HG--
extra : rebase_source : 8ae8fc1458a57d60a45869dc2c4796cae63dc7f3
2017-09-11 13:47:56 +02:00
Julian Descottes 95fd656ac8 Bug 1396071 - check if SourceMapURLService has been destroyed after async call;r=tromey
MozReview-Commit-ID: KsKtgvC9LXt

--HG--
extra : rebase_source : 343f25d553fccb077952db835ddf8fbc25a3c91a
2017-09-02 00:59:46 +02:00
Brian Grinstead 7c0475039d Bug 1251658 - Reset the ui.popup.disable_autohide pref when closing the Browser Toolbox;r=ochameau
But only reset if the pref has been toggled from the Browser Toolbox UI, to prevent
unexpected resetting if the pref was changed from about:config before opening the
Browser Toolbox.

MozReview-Commit-ID: LwI2M5Uj4jf

--HG--
extra : rebase_source : 1185b065b263a1a192026bbdc8ce708479ca3fb9
2017-09-05 10:25:25 -07:00
Julian Descottes 1b9823bc9c Bug 1391228 - remove unused devtools profiler actor, specs and front;r=gregtatum,mstange
MozReview-Commit-ID: 82R4C3NFolu

--HG--
extra : rebase_source : 373dda6065397f5226531c123ab3b4b39b88b0eb
2017-08-18 17:27:56 +02:00
Julian Descottes 7decca9201 Bug 1395990 - use constant MOZILLA_OFFICIAL to check for local build in ToolboxProcess.jsm;r=bgrins
MozReview-Commit-ID: mzBOBwruL9

--HG--
extra : rebase_source : df0edc41273329bcfb8e5fccdcdb183380953331
2017-09-01 18:28:08 +02:00
Brian Grinstead 07e14766fa Bug 1307881 - Part 1 - Split message persistence prefs into two, one for the netmonitor and one for the console;r=Honza
MozReview-Commit-ID: 4i8heIyPEv0

--HG--
extra : rebase_source : 2f3d35329126866b0c85d3620fb9f3d046ff3a85
2017-08-31 21:42:15 -07:00
Sebastian Hengst 030c11d7dd merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4IUksc3Mn9i
2017-08-31 14:36:51 +02:00
Gabriel Luong 6e615beb90 Bug 1394268 - Implements the new photon tab line in the devtools tabbar. r=bgrins 2017-08-31 00:34:39 -04:00
Ryan VanderMeulen 21b6caf65a Bug 1386410 - Skip browser_toolbox_custom_host.js for permafailing on uplift to Beta. r=bgrins, f=pbro
--HG--
extra : histedit_source : cff91060d995a81a32f0ac415532d5ce45f07105
2017-08-03 17:32:32 -04:00
Gabriel Luong ebb16cb477 Bug 1394513 - Part 1: Use the same separator styles as photon for the toolbox tab separator. r=bgrins 2017-08-29 20:39:46 -04:00
Tom Tromey 1cd992f014 Bug 1391768 - register existing source actors in source map service init; r=bgrins
MozReview-Commit-ID: Ao1viu9sk5O

--HG--
extra : rebase_source : b7f9b697e88f90475e11457256c0df61b2068c38
2017-08-29 14:21:58 -06:00
Luca Greco e737971178 Bug 1341305 - Provide an internal DevTools API to register an Extension Sidebar for the inspector panel. r=gl
MozReview-Commit-ID: IvAptqCN5ne

--HG--
extra : rebase_source : 2ef0e97ea7624f3a6abdaf694190b25308b4ff0f
2017-07-24 16:00:10 +02:00
Alexandre Poirot 04d58889a0 Bug 1379016 - Hide about:devtools-toolbox from about:about. r=pbro
MozReview-Commit-ID: 8SKXyLgyBam

--HG--
extra : rebase_source : a083616baca88f5e1e3051e8ecd1d25ccabd0ef8
2017-08-24 12:02:34 +02:00
Wes Kocher 4ea67d0e07 Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Andrew Halberstadt cae249f833 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : d907a5b2192687d86e3291a936c943948ed6793f
2017-08-22 16:56:02 -04:00
Brian Grinstead dbec5aa793 Bug 1392744 - Pass the port along to the browser toolbox chrome uri;r=jryans
This allows multiple browser toolboxes to be opened at once, assuming the host
profiles have different values for devtools.debugger.chrome-debugging-port

MozReview-Commit-ID: 1bzsZFww4Zv

--HG--
extra : rebase_source : a2f631bb9d67ce4eabb9e8b1a2c3c32a5b8fd574
2017-08-24 10:03:47 -07:00
Sebastian Hengst aeacc34883 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6TGQRm8SSk0
2017-08-24 13:28:57 +02:00
Kris Maglione 821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Brian Grinstead 4752caa33a Bug 1389939 - Stop syncing devtools theme and compact themes;r=Gijs
MozReview-Commit-ID: GUjgHU5pgg1

--HG--
extra : rebase_source : eeed943d058a0649a899be9295c63c37c8bbfd8d
2017-08-23 10:18:51 -07:00
Julian Descottes 68384c971b Bug 1392531 - create dedicated tab target instance for web-extensions;r=jdescottes
MozReview-Commit-ID: G7EOfYnZuZw

--HG--
extra : rebase_source : f363f9cb0027b20d9c8c5cb684af3b295b9ad289
2017-08-22 16:31:44 +02:00
Julian Descottes d148f3f8c0 Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i

--HG--
extra : source : da075933f7bcd9e3b7ff735879c521bb50f28b7a
2017-07-24 12:12:47 +02:00
Julian Descottes 721cd7ffa1 Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : source : b7435cd66ce3299d23f71a9bf855edbcb1ccacf2
2017-07-12 11:04:28 +02:00
Ryan VanderMeulen b708734864 Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Julian Descottes e88a15e62e Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
MozReview-Commit-ID: GJQ7fcw1L8i

--HG--
extra : rebase_source : 6a079c88e5908cc8f8a021bb0a12ea44670bc5ce
2017-07-24 12:12:47 +02:00
Julian Descottes 0cda1042cc Bug 1374735 - use DevToolsShim to retrieve the WebExtensionInspectedWindowFront;r=ochameau,rpl
Expose an API to retrieve devtools' WebExtensionInspectedWindowFront which is needed
for webextensions. Exposed a new API on devtools/DevToolsShim

MozReview-Commit-ID: Dyc2UUJGsrs

--HG--
extra : rebase_source : 018660cc54bf2454c1f810ded639fd647ba79da3
2017-07-12 11:04:28 +02:00
Julian Descottes 19c4c8493a Bug 1137935 - remove all usage of sdk/event/core/ in devtools;r=ochameau
MozReview-Commit-ID: 2ab0Ol4Mq64

--HG--
extra : rebase_source : 22d0003b40e0fc49e309187ea3c943a6f5048db5
2017-08-16 15:11:21 +02:00
Brian Grinstead 7a5e02b5c2 Bug 1390927 - Only show the toolbox edit context menu on text inputs;r=gl
MozReview-Commit-ID: KRqKwwHkx1u

--HG--
extra : rebase_source : 9c0340deef1ba531f0d53cd14bfee92bca288308
2017-08-16 09:11:46 -07:00
Brian Grinstead 60bb95b790 Bug 1388104 - Open the textbox context menu on any html input in the toolbox;r=gl
Right now HTML inputs do not get a context menu when being right clicked. The inspector
works around this by calling toolbox.openTextBoxContextMenu on each individual input,
but the rest of the toolbox can be served by handling this at the toolbox level.

MozReview-Commit-ID: KuRQmuf01xh

--HG--
extra : rebase_source : d1febb54888a8a82f93d54c78ddbdd40281f91ee
2017-08-15 15:39:32 -07:00
Stone Shih 3e1848d352 Bug 1351148 Part6: Revise browser_toolbox_races.js to avoid jam content process by synthesized input events. f=jryans,pbro. r=ochameau.
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.

MozReview-Commit-ID: 1G3ggeaZ1Os
2017-06-05 13:00:44 +08:00
Wes Kocher a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Brian Grinstead 4902b5d260 Bug 1388552 - Save Browser Console state in session store;r=mikedeboer,nchevobbe
This evolves restoreScratchpadSession into restoreDevToolsSession which can keep track
of more than just scratchpad windows. In this case we also restore the Browser Console.

MozReview-Commit-ID: D4vOGkpq8xH

--HG--
extra : rebase_source : 33f1a2183ee717c79f360a7dda688832a5c33566
2017-08-11 09:16:59 -07:00
Brian Grinstead 0262e6e6ac Bug 1388552 - Export the HUDService object directly instead of individual methods and properties;r=nchevobbe
MozReview-Commit-ID: 9AYCuqqv1U7

--HG--
extra : rebase_source : 83612fd2c4edfde5c86cfc11a70682cc74ebfa12
2017-08-11 09:07:04 -07:00
Stone Shih 2fed609514 Backed out changeset e73fd9007b9b (bug 1351148) 2017-08-11 15:19:18 +08:00
Stone Shih 71714c8c1c Bug 1351148 Part6: Revise browser_toolbox_races.js to avoid jam content process by synthesized input events. f=jryans,pbro. r=ochameau.
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.

MozReview-Commit-ID: 1G3ggeaZ1Os
2017-06-05 13:00:44 +08:00
Tom Tromey ef9552735d Bug 1387477 - report source map errors due to missing sources; r=jdescottes
MozReview-Commit-ID: 5UbkJH8fvLn

--HG--
extra : rebase_source : 3242c0bcfcb5d04343c1a724fe78904d5f52e567
2017-08-04 13:14:11 -06:00
Tom Tromey 6d4c7b0e3e Bug 1387473 - add cross-domain source-map test; r=jdescottes
MozReview-Commit-ID: KwmCnvSf0fp

--HG--
extra : rebase_source : d1b85ad6c11da44762a86248a51932b80562b9c3
2017-08-04 09:52:25 -06:00
Tom Tromey 8e8ac4d10b Bug 1345533 - report source map errors to the web console; r=bgrins
MozReview-Commit-ID: 7gynPYFxyIv

--HG--
extra : rebase_source : 8cfe3e3ec53beeeed8f1707d6d1e80e34f53e30f
2017-08-03 09:00:19 -06:00
Tom Tromey 561885f375 Bug 1384943 - add initial implementation of SourceMapServiceWrapper; r=bgrins
This adds a simple wrapper for the source map service.  This wrapper
logs errors using console.error, preserving the status quo from before
this series.

MozReview-Commit-ID: 2ckUZaerrcJ

--HG--
extra : rebase_source : 9cffca5169be005c09899a581c0d6c0738df146a
2017-07-31 15:57:07 -06:00
J. Ryan Stinnett e1b749febc Bug 1386830 - Test profile dirs in Browser Toolbox. r=jdescottes
Before trying to migrate Browser Toolbox profile dirs, ensure the old and new
dirs are actually different.  This avoids an issue where we were constantly
"migrating" the profile to the same place, effectively deleting it on every run.

MozReview-Commit-ID: FUAb2G21nbV

--HG--
extra : rebase_source : 32c6425036196675322c6a5422a6edf8a8aa4498
2017-08-02 16:34:40 -05:00
Julian Descottes 2df26d3e9f Bug 1386357 - add new debugger head to support files for browser_browser_toolbox_debugger.js;r=ochameau
MozReview-Commit-ID: 9ajEa09R0Nb

--HG--
extra : rebase_source : 09e6fd7b50b7319b18cd51ddcbc919de23c5ce49
2017-08-03 14:54:09 +02:00
Julian Descottes def4adbffc Bug 1386357 - remove usage of sdk/timers in DevTools;r=ochameau
MozReview-Commit-ID: 8rC2peDRBJW

--HG--
extra : rebase_source : 0c2636114a2a44017b0f8af749025d7465cfb906
2017-08-02 12:53:20 +02:00
Brian Grinstead b927e64748 Bug 1386724 - Force devtools-browser to be loaded in shared-head.js;r=jdescottes
If a devtools entry point isn't hit in a test (toolbox open, keyboard shortcut,
opening the web dev menu, etc), then things like the menu items aren't installed.
This is for performance reasons (Bug 1359855), but it means that some tests
may fail when run alone. Prevent that from happening by forcing devtools to start
up in shared-head.js.

This causes certain tests to fail when run alone if they don't open the tools

MozReview-Commit-ID: ANuUhYXIbSF

--HG--
extra : rebase_source : f8a20a7eabfdbbfe51ecaf2ea8c59a4fcf41e695
2017-08-02 10:08:16 -07:00
ZER0 ba9681c84a Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 03:47:30 +02:00
Wes Kocher db97e61fc7 Backed out changeset 58f678547059 (bug 1381542) for conflicting with the incoming m-c merge a=backout
MozReview-Commit-ID: 1wKVHbOAUdc

--HG--
rename : devtools/shared/old-event-emitter.js => devtools/shared/event-emitter.js
2017-08-10 18:23:14 -07:00
ZER0 93e1efc17d Bug 1381542 - renamed "devtools/shared/event-emitter" in "devtools/shared/old-event-emitter"; r=ochameau
MozReview-Commit-ID: GkF8HcUg5u8


--HG--
rename : devtools/shared/event-emitter.js => devtools/shared/old-event-emitter.js
2017-08-11 02:43:47 +02:00
Tom Tromey 9160711a92 Bug 1385032 - add logErrorInPage to tab target in devtools; r=bgrins
This adds a method that can be called by the toolbox to log something to
the web console.

MozReview-Commit-ID: GpZtWwNVVGO

--HG--
extra : rebase_source : 37d2336bc1dbf5a8fd35d280c349044f1d06cd4c
2017-07-07 12:53:32 -06:00
Alexandre Poirot 779816773e Bug 1385226 - Fix gcli Shift+F12 key shortcut. r=jdescottes
MozReview-Commit-ID: Bcs14MEyHXF

--HG--
extra : rebase_source : 6520d19e9e0bf42ac2dae5e078d212dfde55d289
2017-07-28 11:53:05 +02:00
Carsten "Tomcat" Book 8645467dbf Backed out changeset 7adefc652d95 (bug 1351148) 2017-07-28 09:20:14 +02:00
Sebastian Hengst 078008bc28 Backed out changeset 0462e7a66185 (bug 1369801)
MozReview-Commit-ID: Hc6hLI0Ywxj
2017-07-27 18:14:08 +02:00
Julian Descottes d2738a7a62 Bug 1369801 - dt-addon: clear extensions.lastAppVersion when creating browser toolbox profile;r=ochameau
This is needed to:
1. force the devtools system addon installation when starting the BT instance of FF
2. avoid the addon update prompt

Another approach is to create a separate user.js pref file to fix 1. However with this
approach there is currently no way to fix 2.

MozReview-Commit-ID: palK2hION0

--HG--
extra : rebase_source : e7a70e68d359fe4a3249a6a5648a52abbde6d851
2017-07-06 02:48:41 +02:00
Alexandre Poirot 7b21d3d93c Bug 1359855 - Remove assertion for dynamic key registration. r=jdescottes
Per definition of this bug/patch, key shortcuts can't be registered anymore.
It mostly means that add-on definition a key shortcut won't keep their key shortcut working.
This shouldn't be an issue on 57 as I don't think WebExtension addon can set a key shortcut via this DevTools API.

MozReview-Commit-ID: G5c8JzaUWoR

--HG--
extra : rebase_source : d9cda8d4af63af795e8f66d3bee7e442bd78d939
2017-07-13 15:24:55 +02:00
Alexandre Poirot e810864fae Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI

--HG--
extra : rebase_source : 4135af713a11f1f96f00be92cd88b707627c22cd
2017-07-13 15:27:37 +02:00
Alexandre Poirot 0bd9663534 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E

--HG--
extra : rebase_source : 600e747ef6f902faee6c966e49d8cbbb304be873
2017-07-13 15:33:38 +02:00
Alexandre Poirot 5ebfef316e Bug 1359855 - Fix the developer toggle in customize widgets. r=jdescottes
Now that devtools-browser is lazily evaluated, we have to create the widget early in devtools-startup.

MozReview-Commit-ID: JanbAPalYE1

--HG--
extra : rebase_source : 2625da986184d5a1f8b3ce293da4e16fdb5ed339
2017-07-13 15:43:50 +02:00
Alexandre Poirot be18a2c0f1 Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY

--HG--
extra : rebase_source : c7b41b0adc65d7b6e2273fb577f6738fe9e010c7
2017-07-18 11:05:47 +02:00
Carsten "Tomcat" Book bd7e1d3a34 Backed out changeset a46ee323e1e7 (bug 1359855) for test failures in browser_ext_devtools_inspectedWindow.js 2017-07-24 12:07:39 +02:00
Carsten "Tomcat" Book fb91f03f8e Backed out changeset 44726932185a (bug 1359855) 2017-07-24 12:07:21 +02:00
Carsten "Tomcat" Book f4926ef5dc Backed out changeset 354080a171dc (bug 1359855) 2017-07-24 12:07:18 +02:00
Carsten "Tomcat" Book c25a2aad53 Backed out changeset 8d68726f1c34 (bug 1359855) 2017-07-24 12:07:16 +02:00
Carsten "Tomcat" Book 5f0b33a7ea Backed out changeset dbd03e7e1bc5 (bug 1359855) 2017-07-24 12:07:11 +02:00
Alexandre Poirot dc5fee1ec1 Bug 1359855 - Remove assertion for dynamic key registration. r=jdescottes
Per definition of this bug/patch, key shortcuts can't be registered anymore.
It mostly means that add-on definition a key shortcut won't keep their key shortcut working.
This shouldn't be an issue on 57 as I don't think WebExtension addon can set a key shortcut via this DevTools API.

MozReview-Commit-ID: G5c8JzaUWoR

--HG--
extra : rebase_source : d9cda8d4af63af795e8f66d3bee7e442bd78d939
2017-07-13 15:24:55 +02:00
Alexandre Poirot fd1ca6efba Bug 1359855 - Fix support of per tool key shortcuts in toolboxes opened in a window. r=jdescottes
MozReview-Commit-ID: kP07KzpzxI

--HG--
extra : rebase_source : 4135af713a11f1f96f00be92cd88b707627c22cd
2017-07-13 15:27:37 +02:00
Alexandre Poirot 80498fc6b9 Bug 1359855 - Inline jsonview main module to keep it working before user action. r=Honza,jdescottes
MozReview-Commit-ID: 3COOvQtYn0E

--HG--
extra : rebase_source : 600e747ef6f902faee6c966e49d8cbbb304be873
2017-07-13 15:33:38 +02:00
Alexandre Poirot 113a2f9b50 Bug 1359855 - Fix the developer toggle in customize widgets. r=jdescottes
Now that devtools-browser is lazily evaluated, we have to create the widget early in devtools-startup.

MozReview-Commit-ID: JanbAPalYE1

--HG--
extra : rebase_source : 2625da986184d5a1f8b3ce293da4e16fdb5ed339
2017-07-13 15:43:50 +02:00
Alexandre Poirot 3610b1c150 Bug 1359855 - Prevent loading any DevTools module until users interact with any devtool entrypoint. r=jdescottes
MozReview-Commit-ID: 4rORySoFRQY

--HG--
extra : rebase_source : c7b41b0adc65d7b6e2273fb577f6738fe9e010c7
2017-07-18 11:05:47 +02:00
Alexandre Poirot b6c47816da Bug 1382661 - Stop injecting DeveloperToolbar on top level windows. r=jdescottes
MozReview-Commit-ID: L6k7SPf8czd

--HG--
extra : rebase_source : 8bece0542a4ad3d3c360745096975efd8906c587
2017-07-20 13:52:57 +02:00
Wes Kocher 051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Jan Odvarko ec58c3b9cc Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: G2TzrRF0Vag

--HG--
extra : rebase_source : e7123e7ccee0ed940afa1ece98200ca389f0572e
2017-06-09 09:42:34 -07:00
Julian Descottes e94cb483a1 Bug 1383014 - remove UI for option to enable old debugger worker debugging;r=bgrins,sole
MozReview-Commit-ID: AweGB4Hcmgf

--HG--
extra : rebase_source : 0b68838fda5d57b5412446627ba082ceffebb182
2017-07-21 13:00:06 +02:00
Stone Shih 7bfb2035ff Bug 1351148 Part6: Revise browser_toolbox_races.js to avoid jam content process by synthesized input events. f=jryans,pbro. r=ochameau.
When the event prioritization is enabled, we'll reserve some time to process input events in each frame. In that case the synthesized input events delay the execution of normal events a lot and cause the test timeout.

MozReview-Commit-ID: 1G3ggeaZ1Os
2017-06-05 13:00:44 +08:00
Luca Greco 6f0dbffd3d Bug 1341304 - Emit "selection-changed" event on the DevTools toolbox object. r=jdescottes,ochameau
MozReview-Commit-ID: G2jRxqDH9wx

--HG--
extra : rebase_source : 732de8680b935e6a0d4bee6e4b614ac462badc12
2017-07-06 19:47:21 +02:00
Sebastian Hengst 87783a64ad Backed out changeset 227ff88b9848 (bug 1326937) for timing out in browser_ext_devtools_inspectedWindow_eval_bindings.js. r=backout on A CLOSED TREE 2017-07-17 20:48:25 +02:00
Brian Grinstead 2e4a0585f7 Bug 1326937 - Provide HTML page when running new console frontend; r=bgrins
MozReview-Commit-ID: 6Pxao2KmSb4

--HG--
extra : rebase_source : c8c4e43f8ea13caac773e07b76670b0e0e18e497
2017-06-09 09:42:34 -07:00
Wes Kocher 6d62b1970e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Sebastian Hengst 8752435f4b Bug 1380867 - Add activeConsole to workerTargets: Add semicolon after return statement to make eslint happy. r=eslint-fix 2017-07-14 23:59:56 +02:00
Jason Laster 3bb1881719 Bug 1380867 - Add activeConsole to workerTargets. r=bgrins 2017-07-13 18:55:00 -04:00
Vangelis Katsikaros c1fcf7f4af Bug 1366102 - Remove the DEVTOOLS_OS_* probes from our Telemetry. r=miker
MozReview-Commit-ID: IGjaTqiGoFz

--HG--
extra : rebase_source : 66b0be811cf20b022562445d71b0e8d968c3f5ad
2017-05-30 16:36:35 +03:00
Junior Hsu 3202301d69 Bug 1373198 - Part 5: disable rcwn for devtools mochitest tests which require deterministic cache behavior, r=Honza 2017-07-12 02:02:00 +02:00
Yoshi Huang e1bd58ddb6 Bug 1377523 - Part 2: fix for browser_toolbox_*. r=pbro
fixed the tests in devtools/client/framework/test/ to not to use data:
URI.
2017-07-13 12:27:38 +08:00