Commit Graph

7946 Commits

Author SHA1 Message Date
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
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