Commit Graph

7926 Commits

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