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

8218 Коммитов

Автор SHA1 Сообщение Дата
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
Oriol Brufau 74915a3cf3 Bug 1417039 - Do not defer loading JSON Viewer. r=Honza
MozReview-Commit-ID: BtnH41N1w8P

--HG--
extra : rebase_source : 354a9159e9d398b6bc5d66318ebe14bc4e1d0e16
2017-11-28 16:28:21 +01: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
ctlusto f2f9381cff Bug 1417805 - Add highlighting to HTTP response status codes in console r=nchevobbe
MozReview-Commit-ID: 64AOF8PoW27

--HG--
extra : rebase_source : 1f6ebd176afd7eefd37c0e5abad2e6a6337fb12b
2017-11-26 11:11:55 -05:00
Julian Descottes 9590ffee64 Bug 1408943 - enable browser_webconsole_network_exceptions.js;r=nchevobbe
MozReview-Commit-ID: 7Jb2y9AQ4fa

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
extra : rebase_source : 6b330a24197ea058a91271ea1d36baa2436b1937
2017-11-23 18:20:19 +01:00
Julian Descottes 348b516926 Bug 1408945 - enable browser_webconsole_optimized_out_vars.js;r=nchevobbe
MozReview-Commit-ID: CNPdSwF6kbc

--HG--
extra : rebase_source : 0f93b6022896cc9469e2f1e23a4abab273b54af9
2017-11-23 17:37:41 +01:00
Julian Descottes 8e635cfe5d Bug 1408946 - enable browser_webconsole_output_order.js;r=nchevobbe
MozReview-Commit-ID: 1yzQhoGqZTi

--HG--
extra : rebase_source : 80e84dd954362fd80280b2b76b6aa7ed6671a0a3
2017-11-23 16:41:19 +01:00
Oriol Brufau d61a4e90dc Bug 1419471 - Cleanup after removing UTF-16 support. r=tromey
MozReview-Commit-ID: 39N2Sb9G0Ab

--HG--
extra : rebase_source : 18420552665e8bea5a62fc27c7e85d42c393663e
2017-11-24 21:43:49 +01:00
Margareta Eliza Balazs 24fbf705d1 Merge mozilla-central to mozilla-autoland. r=merge a=merge on a CLOSED TREE 2017-11-28 00:09:08 +02:00
Margareta Eliza Balazs f0400e7e4c Merge inbound to mozilla-central r=merge a=merge 2017-11-27 23:57:42 +02:00
shindli e8c465c98f Backed out 1 changesets (bug 1418066) for failing in /builds/worker/checkouts/gecko/devtools/client/inspector/test/browser_inspector_highlighter-cssshape_06.js:63:1 r=backout on a CLOSED TREE
Backed out changeset 8e64f442e70d (bug 1418066)
2017-11-27 22:35:35 +02:00
Oriol Brufau a78a4d5525 Bug 1416394 - Scroll row into view using scrollIntoView. r=Honza
MozReview-Commit-ID: KoTvLkZA3CL

--HG--
extra : rebase_source : 28128b633633ecc2d5d25a017bd9cda36c9bb009
2017-11-24 16:49:01 +01:00
Oriol Brufau 648ac7cb6d Bug 1420451 - Stop using chrome code to copy text in JSON Viewer. r=Honza
MozReview-Commit-ID: HnEhsDwWRWU

--HG--
extra : rebase_source : 136f0b3c0c66e52260a11f689473da426fe9a98e
2017-11-24 17:50:22 +01:00
Andrea Marchesini 2ef23c7ade Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 4 - ImageBitmap must use imgITools::decodeImageBuffer, r=aosmond 2017-11-27 17:05:57 +01:00
Mike Park b379311792 Bug 1418066 - Add rotation to CSS shapes editor transform mode. r=pbro
MozReview-Commit-ID: HJmdhTg5QjL

--HG--
extra : rebase_source : 5a39cbaf3fec5179fb69ce53daa6f4cc22260c1d
2017-11-16 15:58:23 -05:00
Johann Hofmann 2926a6c050 Bug 1374574 - Remove the FlyWeb system add-on from Firefox. r=mconley
MozReview-Commit-ID: BWqZIGz5hQx

--HG--
extra : rebase_source : edf0c6585431ac8fdd229a2a09c8b21b797e8a5d
2017-11-22 14:47:49 +01:00
Patrick Brosset 8f5385f702 Bug 1408938 - Enable and rename browser_webconsole_history.js; r=nchevobbe
MozReview-Commit-ID: GU4Z3ghCTmv

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_history.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_history.js
extra : rebase_source : 704f7c2de6a25cb3b762592d60f9ed6d3c4819d9
2017-11-24 17:38:32 +01:00
Luca Greco aa1e1912b4 Bug 1416928 - Test content script debugging on the new debugger UI. r=jlast
MozReview-Commit-ID: Dt0eaKmp777

--HG--
extra : rebase_source : 14db83ec4fb21e3f01d9f7b8955b3e56ece7b4a1
2017-11-15 17:54:23 +01:00
Luca Greco f6c2f83ad4 Bug 1416928 - Ensure that cached ContentScript sources are not skipped by the ThreadActor.onNewScript. r=yulia
MozReview-Commit-ID: JJjcAvsI3Na

--HG--
extra : rebase_source : 399e1be616fc7eedd6d753aafa9af5e21fdc6b19
2017-11-14 16:24:12 +01:00
Botond Ballo 978ae3283a Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p
2017-11-25 01:28:58 +01:00
Sebastian Hengst 6d4637aebb Backed out 15 changesets (bug 951793) because it landed before the necessary servo changes. r=backout requested by emilio on a CLOSED TREE
Backed out changeset ca8c86e229df (bug 951793)
Backed out changeset 6eef6403fa71 (bug 951793)
Backed out changeset a5e529f52fb1 (bug 951793)
Backed out changeset 054e837609d0 (bug 951793)
Backed out changeset 713a3c9617ce (bug 951793)
Backed out changeset 884913aa1668 (bug 951793)
Backed out changeset c3340b84e534 (bug 951793)
Backed out changeset 50fe3c6ac486 (bug 951793)
Backed out changeset be4e22e5c257 (bug 951793)
Backed out changeset 7055bd5dfc4e (bug 951793)
Backed out changeset fa6da1e723cf (bug 951793)
Backed out changeset 386f77004d89 (bug 951793)
Backed out changeset fa82cdc01408 (bug 951793)
Backed out changeset 867d8ea5355c (bug 951793)
Backed out changeset e61ac8e48971 (bug 951793)
2017-11-25 01:01:41 +02:00
Botond Ballo 3ff3395934 Bug 951793 - Style support for overscroll-behavior. r=heycam
MozReview-Commit-ID: IDAfBZy2D5p

--HG--
extra : rebase_source : d70820f9612174ffc8f17f1a2646dc65f46667df
2017-11-22 19:01:11 -05:00
Ciure Andrei 327405164b Merge inbound to mozilla-central r=merge a=merge 2017-11-25 00:04:02 +02:00
Patrick Brosset 1439f404fa Bug 1405350 - Slightly rewrite, simplify and enable browser_webconsole_js_input_expansion.js; r=Honza
MozReview-Commit-ID: 3vpUl69Qk4w

--HG--
extra : rebase_source : c04c06b81181b2d7b08471f540d89894190db2be
2017-11-22 15:47:59 +01:00
Russell b0fcec315e Bug 1419407 - remove Immutable usage in prefs reducer; r=nchevobbe
MozReview-Commit-ID: ADyu8ULDDm6

--HG--
extra : rebase_source : 7d48ef734ffe594eeca1efde8623679cf44022f8
2017-11-23 08:02:57 -08:00
Miguel Useche 1b918bdec8 Bug 1408827 - Where is code link broken for DevTools documentation. r=sole 2017-11-20 23:11:15 -04:00
arthur.iakab dfc104159a Merge inbound to central r=merge a=merge 2017-11-24 12:00:30 +02:00
Geoff Brown 3556bc0ffe Bug 1294873 - Skip test_websocket-server.html on osx, to avoid intermittent leaks; r=me, a=test-only 2017-11-23 16:37:21 -07:00
Gurzau Raul 21905d169e Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-24 00:38:13 +02:00
Nicolas Chevobbe 27dc69aca7 Bug 1408931 - Enable browser_webconsole_csp_ignore_reflected_xss_message.js in the new console frontend; r=jdescottes.
This also renames the support files.

MozReview-Commit-ID: 9TqERvD5EFA

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1045902_console_csp_ignore_reflected_xss_message.html => devtools/client/webconsole/new-console-output/test/mochitest/test_console_csp_ignore_reflected_xss_message.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1045902_console_csp_ignore_reflected_xss_message.html^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test_console_csp_ignore_reflected_xss_message.html^headers^
extra : rebase_source : be782c9fee52551a8f3d248208cc40c0c2963e36
2017-11-22 09:56:14 +01:00
Sudheesh Singanamalla cf10d44c01 Bug 1419410 Removes Immutable usage in UI reducer; r=nchevobbe
MozReview-Commit-ID: 76xdMKBGIUU

--HG--
extra : rebase_source : ed3b8f975a0cf65dd4483b115c932a86de3b62c5
2017-11-23 21:09:48 +05:30
Jan Odvarko 5c93b047f9 Bug 1416201 - Fix tests; r=rickychien
MozReview-Commit-ID: 2QS1KlYtkY8

--HG--
extra : rebase_source : f1e2c33a4e6e5f14e42dd3e1b6a6f7a4e07b4c91
2017-11-23 13:35:23 +01:00
Jan Odvarko 14c920d252 Bug 1416201 - update test fixtures for the Console panel; r=nchevobbe
MozReview-Commit-ID: F67HMK7zyUn

--HG--
extra : rebase_source : 7284ef615b184ec80ce724fab2f62bdaf9173518
2017-11-23 13:35:23 +01:00
Jan Odvarko 3bd627cefb Bug 1416201 - HTTP request stack trace should be lazy loaded;r=rickychien
MozReview-Commit-ID: 5SWLLcNqORz

--HG--
extra : rebase_source : 400e5d48848b087f8965652df6b9c37686fb4b40
2017-11-23 13:35:04 +01:00
Alexandre Poirot c32ab9e219 Bug 1420037 - Fix netmonitor "dataProvider is null" exception on DAMP. r=Honza
MozReview-Commit-ID: EhCSSV0ZFrB

--HG--
extra : rebase_source : 75030551b17eb8e30eb482a9adc8fd840c853614
2017-11-23 00:36:13 -08: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 c2cea9f242 Bug 1416711 - Remove windowType argument from registerActors;r=ochameau
The windowType option of registerActors has nothing to do with
registering actors. It is only used in one spot in the codebase, so
switch this one to DebuggerServer.chromeWindowType = "..."; and
remove the option from registerActors.

MozReview-Commit-ID: QH6GKmTbVq

--HG--
extra : rebase_source : 13d70ddc21cae2b43cab2899c0e4b6f597c4f3ec
2017-11-13 21:06:59 +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 8938049a1b Bug 1416711 - Remove default values for registerActors;r=ochameau
The default values for registerActors are never used in the codebase
and feel counter intuitive as they set all booleans to true.

MozReview-Commit-ID: 25zaJss9E4R

--HG--
extra : rebase_source : 9cbbd8ea44d7cc64bb17ada5c06cc1b7b016067b
2017-11-13 20:35:00 +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 ab38691d4f Bug 1416711 - Remove unused restrictPrivileges argument in addBrowserActors;r=ochameau
restrictPrivileges was used for FirefoxOS and can be removed now.

MozReview-Commit-ID: J5SYQ0OPTSk

--HG--
extra : rebase_source : 9c92fab26f867e39ebe0cd5e93994d6126374740
2017-11-13 16:41:23 +01:00
Markus Stange aea1e0fbbf Bug 1417709 - Add system colors called "-moz-mac-vibrant-titlebar-light/dark" for use with -moz-font-smoothing-background-color. r=emilio
MozReview-Commit-ID: 9FbRlPvrLMX

--HG--
extra : rebase_source : 84330fd5824468e4617649828d7902fc8f001f48
2017-11-16 11:50:09 -05:00
Markus Stange 0baac004bb Bug 1417709 - Add -moz-appearance: -moz-mac-vibrant-titlebar-light/dark. r=emilio
MozReview-Commit-ID: 2PMe8KTt5Wl

--HG--
extra : rebase_source : 58ed83f4a18ca83a9829ba2c27633e17fcbd6e63
2017-11-16 11:36:22 -05: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
Julian Descottes 1767aea3bb Bug 1408947 - enable browser_webconsole_reopen_closed_tab.js in the new console frontend;r=nchevobbe
MozReview-Commit-ID: KNcfZ4FqVET

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-597756-reopen-closed-tab.html => devtools/client/webconsole/new-console-output/test/mochitest/test-reopen-closed-tab.html
extra : rebase_source : 8976b060fe1e7f48a087c6423789f866963b2d86
2017-11-23 16:21:49 +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
Michael Ratcliffe d0a661eea9 Bug 1419487 - Remaing DevTools components to ES6 Classes, prop-types and react-dom-factories r=gl
MozReview-Commit-ID: HjglFjui6XJ

--HG--
extra : rebase_source : 9529c18f141246f3d67f0cf7d5d3e82f54e5bbed
2017-11-22 12:15:43 +00:00
Cosmin Sabou a8c3a54f72 Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-23 11:45:29 +02:00
Cosmin Sabou a5d613086a Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-11-23 11:42:46 +02:00
Nicolas Chevobbe 9420ee9d33 Bug 1419787 - Pass onViewSourceInDebugger prop to the ObjectInspector; r=bgrins.
Test will be enabled in Bug 1406038. This requires some Reps work.

MozReview-Commit-ID: CpU25kiXiR1

--HG--
extra : rebase_source : d0c0f7c04f5c507b9ec17d6358b07cc30179b384
2017-11-22 18:03:48 +01:00
Fred Lin 8083de770a Bug 1404929 - Security info should be loaded lazily;r=Honza
MozReview-Commit-ID: JIwepd7qdOB

--HG--
extra : rebase_source : 9fa7971412798e1f2f580a44543f1dd4e946d823
2017-11-15 12:50:47 +08:00
shindli 82254ca1cf Merge inbound to mozilla-central r=merge a=merge 2017-11-22 23:29:44 +02:00
Oriol Brufau 87ad2bcd7e Bug 1419416 - Remove UTF-16 support in JSON Viewer. r=tromey
MozReview-Commit-ID: GIE3Q5j3wZm

--HG--
extra : rebase_source : 50afde4502aaf247d931d2cab1f6f75a2db768a9
2017-11-21 15:09:14 +01:00
Oriol Brufau aa52f83dde Bug 1419447 - Cleanup PseudoArray console previewer. r=nchevobbe
MozReview-Commit-ID: 6GqYgvGCMXS

--HG--
extra : rebase_source : 3bdd0e5c1f5bd08f944286ceedece241744e97f9
2017-11-20 01:26:30 +01:00
Andreea Pavel c717a7b707 Backed out 1 changesets (bug 1405252) for failing devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_filters.js r=backout on a CLOSED TREE
Backed out changeset aa2c49a11df2 (bug 1405252)
2017-11-22 19:07:02 +02:00
Mike Park f129b7e706 Bug 1419075 - Create a button that open a sidebar in the console. r=nchevobbe
MozReview-Commit-ID: AjSMnPJktU9

--HG--
extra : rebase_source : 5b38e997b3e4527ef26dc88eb827abcc3fd55159
2017-11-20 16:00:31 -05:00
Patrick Brosset 4017828894 Bug 1408944 - Rewrite and enable browser_webconsole_network_requests_from_chrome.js; r=nchevobbe
MozReview-Commit-ID: EPzTQhqhVFE

--HG--
extra : rebase_source : 8d11053f774e9465c4fb3c454f497aa3fba9534e
2017-11-22 16:16:03 +01:00
Nicolas Chevobbe a27c77aad7 Bug 1405252 - Enable browser_webconsole_console_logging_workers_api.js in the new frontend; r=Honza.
MozReview-Commit-ID: I7b45uLfNkw

--HG--
extra : rebase_source : 2f8925e7036bcc523801cc1ca12626ddf530e326
2017-11-21 09:23:31 +01:00
shindli a2e65c617d Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-23 00:17:19 +02:00
Mike Park d426efd011 Bug 1419792 - Shapes highlighter drawn inaccurately for shape-outside with margins. r=gl
MozReview-Commit-ID: 1MGCvsDXJ6O
2017-11-22 12:05:55 -05:00
Vincent Lequertier 7f2dd1b6fa Bug 1381648 - Add non blocking time to the statistics panel of netmonitor; r=Honza
MozReview-Commit-ID: Anw4hTlpPjH

--HG--
extra : rebase_source : 307fd2f966578b9774274c510e5f809ad16e5840
2017-10-06 15:11:18 +02:00
Nicolas Chevobbe a58483784a Bug 1408401 - Release: Bump up devtools-reps bundle to 0.15.0; r=miker
MozReview-Commit-ID: ISudQK3C20A

--HG--
extra : rebase_source : 4c613dba3b0a2b0786cb6987c0681f84aa10de79
2017-11-21 18:44:04 +01:00
Ricky Chien 3d23b15dec Bug 1419665 - Support babel object-rest-spread syntax for launchpad r=Honza
MozReview-Commit-ID: JC6vWNMp3a7

--HG--
extra : rebase_source : 9d15c7a134e042a69ad4dfa7dfa0a4d0e01b8b38
2017-11-22 15:00:48 +08:00
Gabriel Luong 1a5bb16905 Bug 1420273 - Use module.exports for TextPropertyEditor and TextProperty. r=mparkms 2017-11-23 16:19:08 -05:00
Gabriel Luong 7ee7132d62 Bug 1420272 - Rename bame to name in element-style.js. r=mparkms 2017-11-23 16:19:03 -05:00
Ciure Andrei c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Coroiu Cristina 9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Coroiu Cristina b1140e3113 Backed out changeset f10d05c0b3d2 (bug 1408708) for failing devtools at devtools/client/styleeditor/test/browser_styleeditor_bug_1405342_serviceworker_iframes.js on a CLOSED TREE 2017-11-22 00:37:27 +02:00
Alexandre Poirot 89cc513122 Bug 1408182 - Replace ImmutableJS by plain JS code; r=rickychien
MozReview-Commit-ID: FFUNk97n4zS

--HG--
extra : rebase_source : af2847e867f7a5a2fa453d6f81ca46f7e8775f35
2017-10-11 17:35:09 +02:00
Oriol Brufau 3b6b25c474 Bug 1418808 - Call QueryInterface when instantiating a JSON Viewer XPCOM class. r=Honza
MozReview-Commit-ID: 9kyPAjv7MCV

--HG--
extra : rebase_source : 7c41e153b72fa2925c615e30bf6b6f6692368c10
2017-11-17 17:07:19 +01:00
Hiroyuki Ikezoe b95b10c42e Bug 1419221 - Introduce a new argument for getUnanimatedComputedStyle to be able to flush pending styles. r=birtles
Even with this patch, in Gecko getUnanimatedComputedStyle flushes pendings
styles somehow.  Also in Stylo the function flushes pending styles if the
target element hasn't yet styled or Servo style data has cleared for some
reasons (e.g. the element is in display:none subtree).

MozReview-Commit-ID: HCizzM0JnFz

--HG--
extra : rebase_source : 81f130f35794d6ddcf6b7e7f70566d521ea63d31
2017-11-21 18:03:17 +09: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
Alexandre Poirot 08419a75f3 Bug 1372115 - Prevent exception in network monitor when JS file is loaded throught the bytecode cache. r=Honza
MozReview-Commit-ID: 5w6Bj9213ba

--HG--
extra : rebase_source : 13b4ff6ca93066c9e029e1c326353962407a12ec
2017-11-15 06:12:09 -08:00
Patrick Brosset 827ce5b328 Bug 1405288 - Remove pickColorFromPage actor method check from then inspector r=ochameau
This method was added in bug 1262439 last year, and shipped with FF50.
We support all the way back to the latest ESR (52 now).
So let's remove the backward compat code for this method.

MozReview-Commit-ID: LUL7FFWWC5M

--HG--
extra : rebase_source : 27969faff9e8827e23ff570addfde5c06fb57c97
2017-10-19 11:20:57 +02:00
Patrick Brosset b66f6388b1 Bug 1405288 - Remove scrollIntoView actor method check from the inspector r=ochameau
The scrollIntoView actor method was added in bug 901250 3 years ago and
shipped with FF 40.
We support all the way back to the latest ESR (52 now).
So let's drop this backward compat check code.

MozReview-Commit-ID: 5FKRpiOXfzd

--HG--
extra : rebase_source : 4c3b0850750081a87b77bc1b85d7a2e852f58c82
2017-10-19 11:12:23 +02:00
Patrick Brosset 896c0325ae Bug 1405288 - Remove duplicateNode actor method check from the inspector r=ochameau
This method was added in bug 1208864 2 years ago and shipped with Firefox 44.
We support all the way to the latest ESR, which now is 52.
So let's remove this backward compat code.

MozReview-Commit-ID: AdTU63Oehi4

--HG--
extra : rebase_source : 481f768101212db1f363c9b5204f7654aaea5208
2017-10-19 11:05:10 +02:00
Patrick Brosset 040582886a Bug 1405288 - Remove resolveRelativeURL actor method check from the inspector r=ochameau
The resolveRelativeURL actor method was added in bug 921102 which shipped
with Firefox 40.
This was 3 years ago, and well older than the latest current ESR (52), which
is the latest version we support.

MozReview-Commit-ID: 5X5czLP5v2E

--HG--
extra : rebase_source : 7c1ee2c2a78151eb94ef1f1bacff6396d3ceb24e
2017-10-19 10:57:30 +02:00
Tiberius Oros 6b0d30658a Backed out changeset edf2b70d2f01 (bug 1408182)for failing in devtools/client/netmonitor/test/browser_net_copy_params.js r=backout on a CLOSED TREE 2017-11-21 11:46:50 +02:00
Alexandre Poirot 38ebed24c2 Bug 1408182 - Replace ImmutableJS by plain JS code; r=rickychien
MozReview-Commit-ID: 4f9Bv3XDuoc

--HG--
extra : rebase_source : 834d1cfae3e32054fcaad6faa3569c4c3a885287
2017-10-11 17:35:09 +02:00
Liam 0fc77839e5 Bug 1402633 - Display the window dimensions with the ruler tools r=pbro
MozReview-Commit-ID: 2jMvUu7JM8M
2017-09-23 13:44:43 -06:00
Luca Greco 4ae90d3d3a Bug 1378524 - Fix "TypeError: tab is null" exception raised from browser_inspector_extension_sidebar.js when running on beta. r=pbro
MozReview-Commit-ID: DZPA07695VS

--HG--
extra : rebase_source : 93e24b7fa597c35535197b174ce55502ed134187
2017-11-13 17:53:56 +01:00
Nicolas Chevobbe 658e7f4075 Bug 1419059 - Fix console launchpad; r=nchevobbe.
Add dependencies that weren't included in devtools-launchpad no more.

MozReview-Commit-ID: 39KkXvQsR7S

--HG--
extra : rebase_source : 3501a488774044cef2f4d9844b17123a40372a2a
2017-11-20 17:54:36 +01:00
Nicolas Chevobbe 211ecc11ea Bug 1408930 - Enable browser_webconsole_console_api_iframe.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: KGGD7i8WbDZ

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-613013-console-api-iframe.html => devtools/client/webconsole/new-console-output/test/mochitest/test-console-api-iframe.html
extra : rebase_source : 77d50f8391c60402f311fc5521a550860a67635f
2017-11-20 09:51:42 +01:00
Alexandre Poirot e2eb1ab79d Bug 1405008 - Make WebIDE warn when connecting to old runtimes. r=jdescottes
MozReview-Commit-ID: KQc2b1ohksA

--HG--
extra : rebase_source : 0c0159ae17c7c224600aca2fe3611296dfea2bae
2017-10-02 22:40:32 +02:00
Gurzau Raul 0758d56d18 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-11-18 22:51:47 +02:00
Gurzau Raul 79f64eb568 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 22:48:47 +02:00
Tooru Fujisawa 315ac4f42b Bug 1416249 - Remove conditional catch consumers in devtools/. r=jmaher 2017-11-18 22:57:17 +09:00
Noemi Erli d96f41a437 Merge inbound to mozilla-central r=merge a=merge 2017-11-18 00:01:46 +02:00
Nicolas Chevobbe 811cdc42fd Bug 1408929 - Rename and enable browser_webconsole_completion.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: ICu5aJViiW3

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_completion.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_completion.js
extra : rebase_source : 57020fe28c5b0dd215c2aa7fd6fd6f61a65eaa74
2017-11-17 12:14:44 +01:00
Nicolas Chevobbe 7c542cfde6 Bug 1371936 - Fix erroneous Object as ArrayLike grip; r=bgrins.
We only label Object as being ArrayLike if they have consecutive, numeric indexes, starting at 0,
and that could contain only a non-numeric length property that matches the actual number of numeric
keys in the object.
A test is added to make sure we don't regress this.
Fix old console frontend tests which relied on the bad implementation of ArrayLike (and delete
test cases now covered by the server test).

MozReview-Commit-ID: ATF7WypNVhh

--HG--
extra : rebase_source : 5e6a0ef0da84cf89518164f518a257bd1f0d5fd8
2017-11-16 16:04:42 +01:00
Jan de Mooij 7f30bf48a7 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Ciure Andrei 92d28bd8f2 Merge inbound to mozilla-central r=merge a=merge 2017-11-17 11:59:03 +02:00
Oriol Brufau cac2f457e4 Bug 1417035 - Stop using <plaintext> in JSON Viewer r=Honza
MozReview-Commit-ID: ADGZiyMTaAL

--HG--
extra : rebase_source : 06c95da34e6ffa0b23291be30aed2d5463e6f62c
2017-11-14 01:34:21 +01:00
Joel Maher eb7c7c286f Bug 1417653 - clean up a few moz.build files that have typos. r=gbrown 2017-11-16 08:56:51 -05:00
Michael Ratcliffe c33faadfcb Bug 1417512 - Performance Tools to ES6 Classes, prop-types and react-dom-factories r=gregtatum
MozReview-Commit-ID: A1F79OQpVGO

--HG--
extra : rebase_source : 578ad4c54bd3700466c7db2512317aca15fb8f13
2017-11-15 17:00:45 +00:00
Michael Ratcliffe a3ed20c815 Bug 1417462 - Memory Tool to use prop-types and react-dom-factories r=gregtatum
MozReview-Commit-ID: IDGNpS5fPKZ

--HG--
extra : rebase_source : b18d4bbf1bbe0c16d04a226a2aa7546d233cba57
2017-11-15 15:30:49 +00:00
Nicolas Chevobbe 923cfeaa4e Bug 1383711 - Make addOneTimeListener return a Promise; r=ochameau.
Switch some calls to addOneTimeListener from callback-style to Promise.

MozReview-Commit-ID: F9AlSvK0MAH

--HG--
extra : rebase_source : 076522e89004f8a4634b4f7732800a5ec14ce633
2017-11-06 08:40:39 +01:00
Nicolas Chevobbe 3b1a347334 Bug 1406030 - Enable browser_webconsole_cd_iframe.js in new frontend; r=Honza.
Once the test was migrated, it was failing because we did not show
error messages for invalid cd() calls.
There was a missing part in the evaluation result prepare message, which
this patch fixes. A stub and a mocha test were added to make sure we do
display those kind of messages.

MozReview-Commit-ID: FcTsP2pr3vD

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-609872-cd-iframe-child.html => devtools/client/webconsole/new-console-output/test/mochitest/test-cd-iframe-child.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-609872-cd-iframe-parent.html => devtools/client/webconsole/new-console-output/test/mochitest/test-cd-iframe-parent.html
extra : rebase_source : 8fc82b71875cebfed0e318d1eba8b5332dc650c7
2017-11-14 10:27:12 +01:00
Michael Ratcliffe b009e02f5b Bug 1415650 - Web Console to use prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: 5T3asRQBmuD

--HG--
extra : rebase_source : ca651cd9665878e9a14eb03c902aa8f1c16d31fa
2017-11-10 22:16:39 +00:00
Ricky Chien 493d8e263a Bug 1417368 - Fixing launchpad `response is undefined` error & Toolbox.shouldComponentUpdate warning r=Honza
MozReview-Commit-ID: ImN34U0tFGm

--HG--
extra : rebase_source : 82d34dba3d75273685eea11016640a05f83f7b28
2017-11-15 17:54:21 +08:00
Julian Descottes 5b2c0adf24 Bug 1408339 - measure onboarding devtools user detection with telemetry;r=ochameau, datareview=francois
MozReview-Commit-ID: G3edBYlyH8f

--HG--
extra : rebase_source : 6cd721dca7e2bfc6e5cbf1938c47d3851ecfb6fc
2017-11-08 17:51:19 +01:00
Julian Descottes f5d0be6f79 Bug 1408339 - add a preference to drive the devtools onboarding experiment;r=ochameau
MozReview-Commit-ID: I4uGf1MFbI9

--HG--
extra : rebase_source : 22372a8f8fb59c47ad7f75e7fb55e937d721a884
2017-11-05 16:34:26 +01:00
Noemi Erli c6ea2b9c8f Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-15 12:13:56 +02:00
Noemi Erli 550148ab69 Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
Andreea Pavel 3349ecafbd Backed out 1 changesets (bug 1402828) for failing devtools/client/netmonitor/test/browser_net_copy_as_curl.js r=backout a=backout on a CLOSED TREE
Backed out changeset 4d059e20a773 (bug 1402828)
2017-11-15 06:12:53 +02:00
Gabriel Luong 16731e0120 Bug 1387511 - Part 2: Format css-grid.js r=pbro 2017-11-14 22:02:51 -05:00
Gabriel Luong f085fec318 Bug 1387511 - Part 1: Use the grid negative number platform API to render negative line numbers correctly in css grid inspector. r=pbro 2017-11-14 22:02:44 -05: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
Michael Ratcliffe 5c136a9918 Bug 1415167 - Network Monitor to use prop-types and react-dom-factories r=Honza
@Honza: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 5KlOkYLnorj

--HG--
extra : rebase_source : 339c2dda1eb2afaf490e6bacb613addeece42d04
2017-11-08 11:19:48 +00:00
btara 986d32eb92 Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-11-14 22:40:50 +02:00
btara d95e1d710b Merge inbound to mozilla-central r=merge a=merge 2017-11-14 22:37:02 +02:00
Julian Descottes d1a9d0eb6d Bug 1412504 - Style updates for about:devtools;r=nchevobbe
MozReview-Commit-ID: BjCimCRFYWr

--HG--
extra : rebase_source : ce071050361e703501e912609f90d894d4deed1d
2017-11-11 10:28:22 +01:00
Coroiu Cristina 6a04305b5d Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-14 12:31:45 +02:00
Michael Ratcliffe 41dd42c3c4 Bug 1415554 - Inspector to use prop-types and react-dom-factories r=gl
MozReview-Commit-ID: 7NxFwgFLDAL
2017-11-08 18:55:58 +00:00
Csoregi Natalia 8f1a81caad Merge inbound to mozilla-central r=merge a=merge 2017-11-14 00:57:47 +02:00
dluca 1904de3e5e Merge mozilla-central to Autoland r=merge a=merge on a CLOSED TREE 2017-11-14 17:00:43 +02:00
Alexandre Poirot faa53e3dff Bug 1404917 - Move image preview tooltip to file name and remove preview icon. r=Honza
MozReview-Commit-ID: 86YPdHZhCmo

--HG--
extra : rebase_source : dfb3a5edbfa52c2b35f8606a471fb4973de14764
2017-11-06 06:31:40 -08:00
Mark Banner 0370057096 Bug 1371293 - Fix various devtools warnings after upgrading to ESLint 4. r=miker
ESLint 4 will turn on all rules after an eslint-enable with no arguments. Therefore be more specific about which rules are being disabled.

MozReview-Commit-ID: IoPBG72zySm

--HG--
extra : rebase_source : f0095f7a9bc3020c1a36387cd033d1b1238a61cf
2017-11-06 14:01:33 +00:00
Mark Banner c32982b1f3 Bug 1371293 - Fix instances of padded-blocks failures after ESLint 4 upgrade. r=miker
MozReview-Commit-ID: I9sfn7n7UBs

--HG--
extra : rebase_source : e210706366189a26e3a827502f0de60e6ba1fdba
2017-11-06 13:45:49 +00:00
Michael Ratcliffe 13b7e232cc Bug 1413860 - Shared components to use prop-types and react-dom-factories r=nchevobbe
@nchevobbe: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 9SLEHAq0IQQ

--HG--
extra : rebase_source : f3864d13d36802914171581f9f60351cf71aad2f
2017-11-03 13:34:41 +00:00
Nicolas Chevobbe abd554bf07 Bug 1403899 - Enable browser_webconsole_block_mixedcontent_securityerrors.js in new console frontend; r=Honza.
MozReview-Commit-ID: 5rCahlZBOGy

--HG--
extra : rebase_source : 16bdcaa0eddbfaea2b1971e8377758fdb27c7980
2017-11-13 10:02:45 +01:00
Jan Odvarko 21197b7cc9 Bug 1399125 - Fix overlapped labels; r=nchevobbe
MozReview-Commit-ID: 7TB7Hgpm5cn

--HG--
extra : rebase_source : 8009ce7926ad2ba7ed1f39576cb255db601aad60
2017-11-09 15:11:54 +01:00
J. Ryan Stinnett b4b3767a53 Bug 1414159 - Extra modal width for RDM custom devices. r=gl
As you add more than 7 or so custom devices, the modal will eventually wrap to
a 4th column.  Adding some more width allows that to happen without a horizontal
scroll bar.

This width looks natural without custom devices as well, and its not too large
for the most popular screen size (1366 x 768).

MozReview-Commit-ID: 5IErG8NX3xO

--HG--
extra : rebase_source : cbdb862597ef1774964bea135da6376e0cbb7650
2017-11-08 16:10:30 -06: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
Gijs Kruitbosch 8c1b02e3d4 Bug 1388029 - remove the remaining uses of AREA_PANEL, r=jaws
MozReview-Commit-ID: L017kRfHfOv

--HG--
extra : rebase_source : c9dcbb76d787281ac2dcf18c59786205aeaacaf9
2017-11-07 12:15:18 +00:00
Narcis Beleuzu 0a20dc62d7 Backed out changeset 9029ee56b1ad (bug 1413860) for mochitest clipboard failures on browser_jsterm_selfxss.js. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 905d4c8798d1e1947f716d350fd199ebd0d2ae79
2017-11-13 14:16:40 +02:00
Narcis Beleuzu ef4bd1778a Backed out changeset e18bb1a3d095 (bug 1410351) for build bustage on duplicate files. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 9e67f1c129f1dddd70988113e1a1b294c4703eeb
2017-11-13 14:14:06 +02:00
Jan Odvarko 22c6f87284 Bug 1410351 - Make it more obvious when requests are paused in the netmonitor; r=rickychien
MozReview-Commit-ID: FlHVxePSbqg

--HG--
extra : rebase_source : 76ca5c97f917d2dd8bb68a2762a13f8f1d80e1a6
2017-11-09 14:01:59 +01:00
Nicolas Chevobbe f5e8b4a45a Bug 1408926 - Rename and enable browser_webconsole_chrome.js in new console frontend; r=jdescottes.
MozReview-Commit-ID: EAoATzKO9bF

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/browser_webconsole_chrome.js => devtools/client/webconsole/new-console-output/test/mochitest/browser_jsterm_autocomplete_in_chrome_tab.js
extra : rebase_source : 01b91afa835ec14b5dfcca9cf4b95a42aa1cb30b
2017-11-08 14:04:10 +01:00
Michael Ratcliffe e2ba0b4bd2 Bug 1413860 - Shared components to use prop-types and react-dom-factories r=nchevobbe
@nchevobbe: Please wait for a green try before reviewing this.

MozReview-Commit-ID: 9SLEHAq0IQQ

--HG--
extra : rebase_source : b916d948f3712bf4f09e50436cbdd0cf0f12afb4
2017-11-03 13:34:41 +00:00
Mark Banner ba94a5128c Bug 1371293 - Fix instances of missing 'use strict;' in html files as found after ESLint 4 upgrade. r=mossop
MozReview-Commit-ID: 2q3nqLaXA3E

--HG--
extra : rebase_source : 971ee6ae4dd565ead6f4aa16e06638445ecc5da0
2017-10-31 16:40:37 +00:00
Joel Maher c4a44af3c6 Bug 1414124 - Disable devtools/client/debugger/new/test/mochitest/browser_dbg-toggling-tools.js on all configs for frequent failures. r=me, a=testonly 2017-11-13 12:20:02 -05:00
Alexandre Poirot 42aca4f0c9 Bug 1404917 - Fetch response content only on-demand. r=Honza
Response content should only be fetched whenever it is strictly needed
as it is the response body. A possibly very large string.
So, netmonitor UI should only retrieve it when users select the Response Panel
or do any other action that require having access to it (like "Copy response"
context menu).

MozReview-Commit-ID: CtpJ8PKsCsm

--HG--
extra : rebase_source : 4540f641e511b2199436ad5c2edccda8aff37634
2017-10-26 09:03:40 -07:00
Andrew Swan fcb1dba461 Bug 1353861 Handle .zip files as temporary addons r=jdescottes
MozReview-Commit-ID: A9MQtnT16LV

--HG--
extra : rebase_source : 2f12d0acab93994d4d25cc200daeb0b16996a7b5
2017-11-15 22:03:34 -08:00
abhinav 72727b2b05 Bug 1408970 - Test for view source in debugger. r=nchevobbe
MozReview-Commit-ID: ARxkjtFbn2E

--HG--
extra : rebase_source : c4abbc3e3c06c4a2f3b24899bf557225df39e163
2017-11-06 22:12:03 +05:30
Ryan Leake 280baffc4c Bug 1333254 - Adjust variations of 'device pixel ratio' spelling. r=jryans
MozReview-Commit-ID: 9Fuc3pbX6Ey


--HG--
rename : devtools/client/responsive.html/components/DprSelector.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
2017-11-17 11:08:42 -06:00
Gabriel Luong eea44d0b17 Bug 1414275 - Part 3: Add unit test for the flexbox highlighter toggle in the rule view. r=pbro 2017-11-13 10:02:13 -05:00
Gabriel Luong 6339f7df3a Bug 1414275 - Part 2: Toggle flexbox layout highlighter from the rule view next to 'display: flex|inline-flex' declarations. r=pbro 2017-11-13 10:01:20 -05:00
Gabriel Luong 986ddf7712 Bug 1414275 - Part 1: Convert HighlightersOverlay to use es6 classes. r=pbro 2017-11-13 10:01:03 -05:00
Gabriel Luong c9b7437500 Bug 1414362 - Outline the flex container and items in the flexbox highlighter. r=pbro 2017-11-13 10:00:39 -05:00
Brandon Cheng 7501af8a70 Bug 1353319 - Fix cyrillic text test after re-adding the HTML preview. r=Honza
Adding an HTML preview above the raw payload viewer on the developer
tools response tab caused browser_net_cyrillic-02.js to fail since
CodeMirror only renders visible lines to the DOM. The new HTML preview
shares space with the CodeMirror editor, so the resulting height became
shorter; enough to hide the line this test was looking for.

This solution uses CodeMirror.getValue() to retrieve the contents of all
lines stored in memory. Checking against that will allow the test to
pass since it contains the cyrillic text. One downside is that this
makes the test less reliable since it may not be guaranteed that what
CodeMirror has buffered to render will actually be what's inserted into
the DOM.

Two other solutions were explored before settling on the one above. The
first was simulating scroll events through EventUtils.sendWheelAndPaint.

  const event = {
    deltaMode: WheelEvent.DOM_DELTA_LINE,
    deltaY: 20
  }

  yield new Promise(resolve => {
    EventUtils.sendWheelAndPaint(
      document.querySelector(".CodeMirror-scroll"),
      10,
      10,
      event,
      resolve,
      monitor.panelWin
    );
  })

This did scroll the editor enough to render content and pass the test,
but caused additional errors since monitor.panelWin did not have a
.waitForAllPaintsFlushed() method that EventUtils.sendWheelAndPaint
expected.

The below alternative uses a hard-coded scroll amount and a
requestAnimationFrame as a rough estimate of when scrolling finished.
It worked in the ten or so runs I tested, but there's nothing guaranteed
about requestAnimationFrame that indicates when CodeMirror's rendering
has finished.

  document.querySelector(".CodeMirror-scroll").scrollBy(0, 200);
  yield new Promise(resolve => requestAnimationFrame(resolve));

MozReview-Commit-ID: H95HjR8UNpx

--HG--
extra : rebase_source : 03e4cd1e3a9042fa565373487c5cbb1118530917
2017-10-28 23:33:41 -04:00
Brandon Cheng c7d909cdff Bug 1353319 - Make SourceEditor flex when next to an HTML preview. r=Honza
MozReview-Commit-ID: 71sq86ka2ZL

--HG--
extra : rebase_source : 009104fe40bfac82e04b6102b15ec1d81f3bf1ac
2017-10-28 23:33:22 -04:00
Brandon Cheng af6599148d Bug 1353319 - Render HTML preview within Response side-panel. r=Honza
Restoring the HTML preview in the response panel was requested by many
users who rely on it to debug erroring AJAX requests. Many web backend
frameworks display an HTML stacktrace helping users trace down the
problem.

The html-preview.js component was taken from a previous commit of the
source code before the preview panel was removed. A few modifications
with its name and CSS classname were made.

MozReview-Commit-ID: JFyF6cBMaNf

--HG--
extra : rebase_source : 7e358f5fb4336a15f549ecb6f7e24cc00429de8e
2017-10-28 23:33:02 -04:00
Bill McCloskey 51c04f774f Bug 1395029 - Use blockThreadedExecution for debugging (r=jimb)
MozReview-Commit-ID: 2KRXZrTulwU
2017-11-11 21:04:20 -08:00
Andreea Pavel 54785d6806 Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE 2017-11-11 12:03:02 +02:00
Jason Laster 25bb65f902 Bug 1416358 - Update Debugger frontend (11-10). r=jdescottes
MozReview-Commit-ID: 1aEWMEignDN

--HG--
extra : rebase_source : fa3233ac56268bc8db55d5876514e5ff52c9dab7
2017-11-11 00:52:17 +01:00
Ryan VanderMeulen b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
Julian Descottes 6ba9f761e9 Bug 1413844 - add utm parameters to about:devtools links;r=pbro
MozReview-Commit-ID: EjgklOeYQ2g

--HG--
extra : rebase_source : b54123549878f8f0e571e7dadbfb462559634961
2017-11-09 19:17:35 +01:00
Nicolas Chevobbe 8eb390b8f5 Bug 1404400 - Delete browser_webconsole_charset.js from new frontend;r=Honza.
This test was checking the HTTPinspector by directly calling a WebConsoleClient function
which is no longer used in console code.

MozReview-Commit-ID: LxjhhO2rB0W

--HG--
extra : rebase_source : 411c18a62ae97102907b35f5d5e26749b48047f5
2017-11-15 08:57:58 +01: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
Nicolas Chevobbe c6d311e021 Bug 1408927 - Enable browser_webconsole_closing_after_completion.js in the new console frontend; r=jdescottes.
MozReview-Commit-ID: CrudyCnBlWh

--HG--
extra : rebase_source : d81a19ab340af1e43dc9f687067dcb592ce48fae
2017-11-15 09:54:56 +01:00
Michael Ratcliffe c351c5f556 Bug 1418320 - JSON Viewer: Split HeadersToolbar, JsonToolbar and TextToolbar out to their own files r=Honza
MozReview-Commit-ID: KdGLYV4rHB9

--HG--
extra : rebase_source : b0a9e75236d2b840dc51df00097b364bf125bb6f
2017-11-17 13:59:12 +00:00
abhinav 99bc432a12 Bug 1319597 - Move DPR text into the DPR menu options. r=jryans
MozReview-Commit-ID: 8gTzkWvVdfn

--HG--
extra : rebase_source : f40f1ca6e01a763b5cd1ea03a81e579557a19525
2017-11-07 23:11:50 +05:30
Michael Ratcliffe 532fb7bedc Bug 1418250 - JSON Viewer to ES6 Classes, prop-types and react-dom-factories r=Honza
MozReview-Commit-ID: Cy6Tp71zTwk

--HG--
extra : rebase_source : 64bc9159cc10c55e7837053b981c595ceeecce22
2017-11-17 10:28:07 +00:00
Michael Ratcliffe 07fae2ebf6 Bug 1417444 - about:debugging to use prop-types and react-dom-factories r=jdescottes
MozReview-Commit-ID: EQ5MSMrvdWW

--HG--
extra : rebase_source : fb7427c518f7bf6c5e4abc079b6568ca73d0546c
2017-11-15 14:48:37 +00:00
Mark Banner c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Daisuke Akatsuka 8dbaac70ea Bug 1406287 - Part 4: Add test for time ticks. r=gl
MozReview-Commit-ID: EPpCACBfJOP

--HG--
extra : rebase_source : ab544e71906a31e46085a13e06f0f7c0358b3fbd
2017-11-13 17:44:10 +09:00
Daisuke Akatsuka 4196053f72 Bug 1406287 - Part 3: Correspond for changing size of sidebar. r=gl
MozReview-Commit-ID: 9ndHImmpM9c

--HG--
extra : rebase_source : f213ab20328180e8e6210ea0e695c8126209b9d9
2017-11-13 17:43:25 +09:00
Daisuke Akatsuka 5de5eef2e3 Bug 1406287 - Part 2: Implement animation time tick and label. r=gl
MozReview-Commit-ID: GlkOal5ClHu

--HG--
extra : rebase_source : 7456f3da0f22b2dd5cab9d9353661e7b97caad0a
2017-11-13 17:42:55 +09:00
Daisuke Akatsuka 21947616de Bug 1406287 - Part 1: Implement basic layout. r=gl
MozReview-Commit-ID: KAe8uupfQ3z

--HG--
extra : rebase_source : e10cb17e0f46f6ade5995eddd1a97cbfea9f40d6
2017-11-13 16:41:04 +09:00
Csoregi Natalia e520b4f458 Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-14 00:59:27 +02:00
Alexandre Poirot 533133afc6 Bug 1404917 - Use request.mimeType instead of request.responseContent.content.mimeType. r=Honza
MozReview-Commit-ID: EIaS1CFKzVn

--HG--
extra : rebase_source : 814ac3fd2713c89387049b92e0c857e8b9b2f8e4
2017-10-05 17:42:51 +02:00
Tim Nguyen eea978e465 Bug 1416194 - Reduce Toolbar component updates in netmonitor. r=gasolin
MozReview-Commit-ID: Apwj73aeC0U

--HG--
extra : rebase_source : 2bc8501263dc44497971ceeded8bac31b62d8e1b
2017-11-10 11:55:27 +00:00
Mike Park e327bde121 Bug 1411402 - Change mouse cursor when hovering/clicking shapes highlighter markers. r=pbro
MozReview-Commit-ID: 9idXQmwatiW

--HG--
extra : rebase_source : b2aac18b3ce32c91523a9cf4328ec8bef82ef1f7
2017-10-25 14:36:03 -04:00
Daniel Stenberg baf6c03f86 Bug 1402828 - Improve "copy as cURL". r=Honza 2017-09-29 02:57:00 -04:00
Jason Laster cfc363edbf Bug 1416960 - Update Debugger frontend (11-13). r=jdescottes
--HG--
extra : rebase_source : 073b9055280ca7484a0c3542d9e0f353f7b722c9
2017-11-13 19:49:00 -05:00
Pradeep 22ebb18d45 Bug 1409651- Fix security side panel color in netmonitor; r=gasolin
MozReview-Commit-ID: 5qWC97NFjKa
***
Bug 1409651- Fix security side panel color in netmonitor; r=gasolin

--HG--
extra : rebase_source : d1d91e737d0c6000d0431aa21eef8aa6a1704aa1
2017-11-13 10:57:14 +05:30
Nicolas Chevobbe dd2bb623b5 Bug 1403452 - Enable browser_webconsole_block_mixedcontent_securityerrors in new console frontend; r=jdescottes.
MozReview-Commit-ID: KBd0K20pDeQ

--HG--
extra : rebase_source : d3db614b35c969948a61574ecc25594451929a48
2017-11-09 09:45:28 +01:00
Nicolas Chevobbe a1cfd1816b Bug 1407178 - Enable browser_webconsole_certificate_messages.js in the new console; r=Honza.
MozReview-Commit-ID: HbspABuW7e4

--HG--
extra : rebase_source : d459aa3bbb6fd25c3a39eccec2fb9c4fd6629328
2017-11-08 13:45:37 +01:00
Csoregi Natalia c7850dc549 Backed out changeset 6981bc3a8091 (bug 1411645)eslint failures /gecko/devtools/server/actors/highlighters/shapes.js:1904 r=backout 2017-11-13 22:51:14 +02:00
Brian Grinstead d1841cbbad Bug 1403977 - Switch to inline-block for message-body and children;r=nchevobbe
MozReview-Commit-ID: KbHeA4uwas9

--HG--
extra : rebase_source : 3a0db8ec11128173676c768786962b215f2a3d05
2017-11-10 15:13:12 -08:00
Mike Park a8b45b7be0 Bug 1411645 - Shapes highlighter: resize on one axis in transform mode for polygon and ellipse. r=pbro
MozReview-Commit-ID: 9Td88QCRPQg

--HG--
extra : rebase_source : ccdc739359c4ef2e3a94995ad337f7371b1f0933
2017-11-01 11:19:13 -04:00
Mike Park 47961d34b3 Bug 1411645 - Shapes highlighter: resize on one axis in transform mode for polygon and ellipse. r=pbro
MozReview-Commit-ID: 9Td88QCRPQg

--HG--
extra : rebase_source : b5aaa71335964aad5d60a3bd7b623d9ec64341e6
2017-11-01 11:19:13 -04:00
Jason Laster bd8a2fdfb5 Bug 1415300 - Update Debugger frontend (11-7). r=jdescottes
Taken from upstream commit: be179268c9b89390c13bdc9c4cca6000f6f583e5
Added skip-if true to some new debugger mochitests that still look intermittent.

MozReview-Commit-ID: EIcx5z9s7XF

--HG--
extra : rebase_source : 949356260ce38bba65166130d71438f443033137
2017-11-10 12:04:10 +01:00
Gabriel Luong f6fcb7e4d1 Bug 1412608 - Fix comment selection color in markup view. r=jdescottes 2017-11-10 06:43:48 -05:00
Margareta Eliza Balazs 7e070192d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
Sebastian Hengst ed9d8c71ea merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-10 02:46:00 +02:00
Sebastian Hengst 3f52ceb1fd Bug 1416070 - Snooze time bomb in test_validators.js for 80 years or until a devtools peer fixes it. r=me on a CLOSED TREE
--HG--
extra : amend_source : bb672cc445179372bb07c05ebf98d15d97139f37
2017-11-10 02:40:53 +02:00
J. Ryan Stinnett 555be6398c Bug 1415502 - Remove RDM browser-swap docs. r=jryans
These low level docs are getting out of date and causing confusion.  Further,
they are of limited value at this stage anyway.

MozReview-Commit-ID: FSoNniNZjtj

--HG--
extra : rebase_source : fa5e02a771adcae9b0e53bd18c4eb10ebb5315ef
2017-11-09 10:50:19 -06:00
Phil Ringnalda 98c7b44e8d Backed out changeset 186ee641ae41 (bug 1415300) for frequent failures in browser_dbg-wasm-sourcemaps.js
CLOSED TREE

MozReview-Commit-ID: 4gWGPGXMgP6
2017-11-09 19:58:39 -08:00
Andreea Pavel ae1ad6047d Backed out changeset 39beeec35ecc (bug 1415554) for failing devtools/client/shared/components/test/mochitest/test_tabs_accessibility.html r=backout on a CLOSED TREE 2017-11-10 03:11:01 +02:00
Sebastian Hengst 96773b2710 merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE 2017-11-10 02:47:06 +02:00
Nicholas Nethercote f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Michael Ratcliffe e1df64fd19 Bug 1415554 - Inspector to use prop-types and react-dom-factories r=gl
MozReview-Commit-ID: 7NxFwgFLDAL
2017-11-08 18:55:58 +00:00
Jason Laster 91307fe5dd Bug 1415300 - Update Debugger frontend (11-7). r=jdescottes
MozReview-Commit-ID: HOIcls0wfCJ

--HG--
extra : rebase_source : 0ec644affb7f2fddc07cd0da1e2e3dd19e422d1f
2017-11-09 21:28:00 +01:00
Andreea Pavel e1c8aba28f Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE 2017-11-09 22:17:00 +02:00
Andreea Pavel bb9e1a3930 Backed out changeset 9e2acadbdad8 (bug 1415300) for failing devtools/client/debugger/new/test/mochitest/browser_dbg-quick-open.js r=backout on a CLOSED TREE 2017-11-09 21:44:26 +02:00
J. Ryan Stinnett f88990e5d9 Bug 1394841 - Test WebExt messaging with RDM. r=kmag,ochameau
This test verifies that WebExt messaging works as expected for both the
background page scripts and content scripts when RDM is used.

MozReview-Commit-ID: 3fODg3nYLr7

--HG--
extra : rebase_source : ad0051f6c377f15dbe27cf6cac5c3fd07af6fac7
2017-11-01 17:40:16 -05:00
J. Ryan Stinnett 0b32106c92 Bug 1394841 - Add WebExt messaging to RDM tunnel. r=ochameau
WebExt messaging sends several new message types to content that should be
tunneled by RDM.

This change allows them to reach content as expected in RDM mode.

MozReview-Commit-ID: GKelgOGBUKI

--HG--
extra : rebase_source : 77288fc586efbaeb9b4c344a291c7c5f815e1a15
2017-11-01 17:36:58 -05:00
Julian Descottes e90066e5c9 Bug 1408337 - set devtools.enabled to true if toolbox was recently opened;r=bgrins
MozReview-Commit-ID: RKprmycu6b

--HG--
extra : rebase_source : c881f5342071ee212d438802bdf80556c251891c
2017-10-31 15:52:58 +01:00
Oriol Brufau aa981208e3 Bug 1415728 - Change JSON Viewer's selected row on keydown instead of on keyup. r=Honza
MozReview-Commit-ID: 3qXc1VxM2Rc

--HG--
extra : rebase_source : 2ee0e7f667a4fbb972a4a2667838c050310db287
2017-11-09 01:16:36 +01:00
Oriol Brufau 3969005589 Bug 1366531 - convert uses of defer to 'new Promise' in client/jsonview r=nchevobbe
MozReview-Commit-ID: InGMTAQ0X2R

--HG--
extra : rebase_source : f74230475add8631c936958877b93c1826067d55
2017-11-09 00:07:44 +01:00
Vincent Lequertier d717a8918f Bug 1381648 - Add non blocking time to the statistics panel of netmonitor; r=Honza
MozReview-Commit-ID: Anw4hTlpPjH

--HG--
extra : rebase_source : c39fab337818569292ebb8c70ea59cb5c421f229
2017-10-06 15:11:18 +02:00
Fred Lin bab01c9041 Bug 1414981 - Request URL should not show #hash;r=Honza
MozReview-Commit-ID: G3FqltGcaTC

--HG--
extra : rebase_source : 1f7ef8c660c0116f8ead6b0af538301d3131765d
2017-11-07 13:46:57 +08:00
Julian Descottes 0721d80298 Bug 1408198 - Use SVG icon for breadcrumbs scrollbuttons;r=ntim
MozReview-Commit-ID: 9aZzU49ayy2

--HG--
extra : rebase_source : fae33d73dab01c5d5ae3d75a62f4bd9092d4614f
2017-11-08 18:42:03 +01:00
Julian Descottes f55b078bf6 Bug 1408369 - move back aboutdevtools.dtd to devtools/shim/locales;r=flod
Add localization notes to aboutdevtools.dtd and move it back to the locales
folder where it can be picked up by localization teams.

MozReview-Commit-ID: 8fDimFwdBXv

--HG--
rename : devtools/shim/aboutdevtools/tmp-locale/aboutdevtools.dtd => devtools/shim/locales/en-US/aboutdevtools.dtd
extra : rebase_source : a39410806d2fc930eaaf74c7894371aa041b0dfe
2017-11-06 15:36:28 +01:00
Julian Descottes d0d415d3b0 Bug 1408369 - create about:devtools welcome message dynamically;r=flod,nchevobbe
The welcome message used to be defined in DTD. Since it has a dynamic part (the
toggle toolbox shortcut) it's easier for localization purposes to have it in a
properties file and dynamically insert it.

MozReview-Commit-ID: FhgQjbs8Dw0

--HG--
extra : rebase_source : 35efe9ccd3ce17931edbba5e0deac32c81fc7609
2017-11-07 21:53:55 +01:00