Commit Graph

6649 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Julian Descottes
740c32a7eb Bug 1403871 - rename getAllGrids to getGrids;r=gl
MozReview-Commit-ID: I9MZ2mrVMiT

--HG--
rename : devtools/server/tests/browser/browser_layout_getAllGrids.js => devtools/server/tests/browser/browser_layout_getGrids.js
extra : rebase_source : c1aaa0195adea95e1158edb6943060e73684a605
2017-11-21 17:31:50 +01:00
Michael Ratcliffe
b7c27e53b0 Bug 1418274 - Responsive Design Mode to ES6 Classes, prop-types and react-dom-factories r=jryans
MozReview-Commit-ID: 1QWLZwVlyVQ

--HG--
extra : rebase_source : a65f8944531dbad28241b2de46168ae745918e7c
2017-11-17 12:22:29 +00:00
Luca Greco
5072843150 Bug 1416105 - devtools/server/child.js should call DebuggerServer.addBrowserActorsadd when initializes a DebuggerServer running in the main process. r=ochameau
When web-ext (the nodejs CLI tool which is often used to develop a WebExtension)
starts Firefox with the --start-debugger-server CLI parameter,
devtools/shims/devtools-startup.js creates a DebuggerServer instance in an
isolated separate module loader, marked invisible to the debugger so that
we can use it to debug the regular DebuggerServer instance (loaded internally
when the user is going to open one of the developer tools for the first time).

Right after this "debugger invisible" DebuggerServer instance is started,
web-ext connects to the debugger server and interacts with the RDP actors
(e.g. to list the addons actors, install the extensions temporarily, reload
the extensions etc.), and as a side-effect of connecting to the WebExtensions
RDP actor, the "devtools/server/child.js" module is going to be loaded,
and it will be loaded in the main process if the webextensions are not
configured to run in a separate extension child process
(on the contrary it would be loaded in a child process when the
the extensions are running in oop mode).

If the regular developer tools have been already opened by the user (e.g.
when --jsconsole has been passed to the Firefox command line, which
is what happens when web-ext is executed with the --bc command line option),
the DebuggerServer is initialized and the browser actors added to it,
on the contrary when the "devtools/server/child.js" module initializes
the DebuggerServer module for the first time, it doesn't add the browser actors
to it and so the DebuggerServer instance is going initialized but it will be
missing the createRootActor attribute (which is expected if the DebuggerServer
instance is initialized in a child process, but it is unexpected when the DebuggerServer
instance is the one that serves the main process).

MozReview-Commit-ID: GE51X14HfHJ

--HG--
extra : rebase_source : 65e3a0c02f8a419dc8588184dff56d3c07e430a9
2017-11-12 16:20:16 +01:00
Jan Odvarko
a336f0ee60 Bug 1410351 - Make it more obvious when requests are paused in the netmonitor; r=rickychien
MozReview-Commit-ID: FlHVxePSbqg

--HG--
extra : rebase_source : 4e0dc2016c3c9f0fa0a5b29941d42bd80961787d
2017-11-09 14:01:59 +01:00
abhinav
ef7c3ef9fa Bug 1353716 - Netmonitor header context menu should appear even by right clicking a blank area of the header. r=Honza
MozReview-Commit-ID: GT3MFn4Xloa

--HG--
extra : rebase_source : b1919493e1bb67801eb45f9e51ec163be6660448
2017-11-11 16:09:10 +05:30
Nicolas Chevobbe
d61115bca4 Bug 1417501 - Add devtools/client/netmonitor/test/shared-head.js in console browser.ini; r=ochameau.
In Bug 1404917, we introduced loading the
/devtools/client/netmonitor/test/shared-head.js
file in devtools/client/webconsole/new-console-output/test/mochitest/head.js.
But, the shared file is not declared in browser.ini,
which ends up making variabled from head.js inaccessible,
and some tests that relies on them to fail.

This was not picked up by TRY because the netmonitor tests
are ran before the console's one, which loads
devtools/client/netmonitor/test/shared-head.js .

MozReview-Commit-ID: 80OOUHwjnWL

--HG--
extra : rebase_source : 70a21db32ab3aee38946cc962bede9689a86045b
2017-11-15 17:22:10 +01: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
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
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
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
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
dluca
1904de3e5e Merge mozilla-central to Autoland r=merge a=merge on a CLOSED TREE 2017-11-14 17:00:43 +02: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
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
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
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
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
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
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
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
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
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
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