Commit Graph
822 Commits
Author SHA1 Message Date
Nicolas Chevobbe cad0ed1f22 Bug 1320161 - Fix objectLink in Attribute Rep; r=Honza
MozReview-Commit-ID: IaHGVZbxHhR
2016-11-24 19:19:28 +01:00
Astley Chen 2fbfda6ee9 Bug 1270406 - Unprefix pseudo-class dir in DevTool resources. r=pbro
MozReview-Commit-ID: Dw5DhErHkY8
2016-11-22 23:05:18 +08:00
Michael Ratcliffe 95697409bc Bug 1146194 - Multiple cookies with the same name not shown r=gl
Stubborn debugger statement.

MozReview-Commit-ID: F2qgWofemHG
2016-11-11 15:57:51 +00:00
Carsten "Tomcat" Book 4b5d9e5f0b Merge mozilla-central to autoland 2016-11-22 16:29:49 +01:00
Carsten "Tomcat" Book 98e701bcdb merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Tom Tromey 66336ab416 Bug 1319150 - allow function-style observers in Services shim; r=jdescottes
MozReview-Commit-ID: Zq687zNvyI
2016-11-21 11:51:06 -07:00
Nicolas Chevobbe 3f9b359e8f Bug 1312178 - Make Reps modes constants; r=Honza
Edit tests and component creation accordingly.

MozReview-Commit-ID: Gsj6QwNTjL0
2016-11-20 19:53:16 +01:00
Gabriel Luong 8b915944e0 Bug 1308260 - Part 3: Dispatch the new grid data and update the store with the new grid state. r=jryans 2016-11-22 02:07:09 +08:00
Carsten "Tomcat" Book 143122a9ea Merge mozilla-central to autoland 2016-11-18 16:57:20 +01:00
Nicolas Chevobbe f71d45c89a Bug 1314573 - Modify textNode Reps modes to match elementNodeRep; r=Honza
On elementNodeRep, we have different outputs for tiny and short modes, and
short and long modes are the same.
Since the current long mode of textNodeRep aren't used anywhere, we can do the
same, i.e. have a really small representation for tiny mode, and then the same
rendering for short and long modes.
Modify tests to adapt them to the new rendering.

MozReview-Commit-ID: BRA7iADkn1C
2016-11-17 18:04:55 +01:00
Nicolas Chevobbe 6baf424327 Bug 1314573 - Make Reps "long" mode displays first 10 items for object & array-like grips; r=Honza
Adapt tests that relied on an other length for long mode.

MozReview-Commit-ID: J00UmOa2AwJ
2016-11-17 08:02:28 +01:00
Dalimil Hajek fc7dc4a6d6 Bug 1314539 - Unify license files and Mozilla license headers in vendor directory. r=odvarko 2016-11-15 08:12:00 -05:00
Gabriel Luong 71ed99ef7e Bug 1302536 - Adds a toggleable button next to the 'display: grid' declaration to toggle the grid highlighter r=pbro 2016-11-16 22:35:20 +09:00
Nicolas Chevobbe c0445d7013 Bug 1307941 - Add DOM nodes highlighter in new console frontend; r=bgrins
Add in serviceContainer highlight and unhighlight utils function so they can
be accessible in components.
Fix EvaluationResult component to pass the serviceContainer to the MessageBody.
Modify ElementNodeRep and TextNodeRep to allow passing them function properties
`onDOMNodeMouseOver` and `onDOMNodeMouseOut` that will be called respectively
on mouseOver and mouseOut.
Add a mochitest in the webconsole to make sure we indeed highlight and unhighlight
node as expected, and add tests in Reps to make sure the passed functions get called
as expected.

MozReview-Commit-ID: 8o8WM7vBfMM
2016-11-04 23:53:35 +01:00
Nicolas Chevobbe d7115d8df4 Bug 1316225 - Add a Rep for Error objects; r=Honza
Handle the different kind of error objects.
Allow to pass a className to the objectLink component.
Add test to make sure we handle those objects as expected.

MozReview-Commit-ID: IC7ruV9odw1
2016-11-11 01:20:55 +01:00
Tim Nguyen f2c4416df2 Bug 1316723 - Fix more eslint errors in devtools/client/shared/. r=tromey
MozReview-Commit-ID: IzXyqkQECKb
2016-11-11 09:09:50 +00:00
Wes Kocher e40b3bdc43 Merge mozilla-central to autoland a=merge 2016-11-11 14:10:32 -08:00
Carsten "Tomcat" Book cabaa5540f Merge mozilla-central to mozilla-inbound 2016-11-11 16:43:07 +01:00
Tom Tromey ca6cc3a2d4 Bug 1316700 - make developer-toolbar.js eslint-clean; r=jryans
MozReview-Commit-ID: FgvsY8PTpCj
2016-11-10 14:07:02 -07:00
Tooru Fujisawa 6b08c64b79 Bug 1315242 - Part 6: Update test_frame_01.html to follow new behavior of location. r=bgrins 2016-11-11 06:34:14 +09:00
Tooru Fujisawa 5e6a8b0923 Bug 1315242 - Part 2: Display line number and column number in error message for console input. r=bgrins 2016-11-11 01:06:26 +09:00
Tooru Fujisawa f518a6c51e Backed out changeset fd1505a03d78 for mochitest chrome bustage (bug 1315242) 2016-11-11 03:04:46 +09:00
Carsten "Tomcat" Book fb24d5c10e Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Tooru Fujisawa 671d325dd4 Bug 1315242 - Part 2: Display line number and column number in error message for console input. r=bgrins 2016-11-11 01:06:26 +09:00
Nicolas Chevobbe f3047054a0 Bug 1302982 - Add Rep for LongString; r=Honza
Display a longString with what is available on the grip.
Straight from the server, a longString grip has a "initial"
property, which contains the first 10000 chars of the string.
The grip can also contains a "fullText" property that should
be set when the user want to display the full text of the string.
For example, in the DOM Panel, it would be when the user click on
the expand arrow.
The fullText needs to be computed with the result of the
LongStringClient.substring function, but it's not the responsability
of the Reps to do such thing.

In rep-utils, we extract the logic that replace non-printable
characters in its own function and export it, so we can use it outside
the cropString function.

Add some test to make sure LongString are displayed as expected in the
several modes.

MozReview-Commit-ID: 3P9fPBixm2v
2016-11-03 18:08:16 +01:00
Nicolas Chevobbe 5f00a911b7 Bug 1311168 - Handle document fragment in grip array rep; r=Honza
MozReview-Commit-ID: Cq2YyKlMjjQ
2016-10-23 19:31:41 +02:00
Phil Ringnalda 757ca82d17 Merge m-c to autoland 2016-11-07 20:41:56 -08:00
Phil Ringnalda f65207971b Merge m-i to m-c, a=merge
MozReview-Commit-ID: 5599Z7kxjk3
2016-11-07 20:38:29 -08:00
James Long cc461e59df Bug 1315289 - Use correct API for opening a source in the debugger r=me 2016-11-07 13:10:03 -05:00
Tom Tromey e8f1b14ffa Bug 1310279 - add "wm" to Services shim; r=jdescottes
MozReview-Commit-ID: 2uW8RM2ufaf
2016-10-20 14:34:23 -06:00
Nicolas Chevobbe 5a5088156b Bug 1314590 - Add Mozilla license header in devtools/client/shared/components/test/mochitest/ files. r=Honza;
MozReview-Commit-ID: FayTCRXuAWN
2016-11-03 22:41:18 +01:00
Phil Ringnalda dcadbc448a Merge m-i to m-c, a=merge
MozReview-Commit-ID: H4VKCYDq5cD
2016-11-05 13:36:25 -07:00
Lin Clark 6f70d1ca52 Bug 1312481 - Update react-virtualized to 8.3.1. r=bgrins 2016-11-03 15:03:00 -04:00
Lin Clark eb818e3d56 Bug 1312481 - Part 2: Make it possible to load React Virtualized in devtools (including XUL-based tools). r=Honza 2016-11-03 14:56:00 -04:00
Lin Clark 08cbb7c29c Bug 1312481 - Part 1: Add react-virtualized. r=Honza 2016-11-03 14:56:00 -04:00
Wes Kocher c92af64732 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Gabriel Luong a62e2ec1d3 Bug 1314931 - LayoutView should be browserRequire as the root component r=Honza 2016-11-04 19:30:01 +09:00
Jared Wein 5edec1c0d9 Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
MozReview-Commit-ID: HIUTSdkXxbY
2016-11-03 14:42:06 -04:00
Ricky Chien 508258701d Bug 1309192 - Implement search filter in Net Panel Toolbar r=jsnajdr
MozReview-Commit-ID: FjVo69jmE7e
2016-10-20 13:58:35 +08:00
Nicolas Chevobbe 3bc62a0860 Bug 1307938 - Add a Rep for DOM nodes. r=Honza,pbro;
Add tests based on existing browser_webconsole_output_dom_elements_*.js tests.

MozReview-Commit-ID: Wmzg0knuuh
2016-10-17 19:29:32 +02:00
Nicolas Chevobbe aa88c7eb94 Bug 1313765 - Make Rep handles Proxy. r=Honza;
In the GripRep, we were using the root property `ownPropertyLength` to
retrieve additionnal uninterresting props on the Grip. For Proxy
objects, we don't have this property, but a `preview.ownPropertiesLength`.
This adds a test case similar to the one for Proxy in browser_webconsole_output_05.js.

MozReview-Commit-ID: 652cfTlW7Sg
2016-10-31 20:02:02 +01:00
Phil Ringnalda 2c3920625f Merge m-c to autoland 2016-11-02 20:03:20 -07:00
Sebastian Hengst 2fecbac0d0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: devtools. r=RyanVM
MozReview-Commit-ID: DZit0XSS1yk
2016-11-05 11:29:14 +01:00
Tom Tromey 1976c3df85 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Wes Kocher 20d9f9713d Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey d1b2d82846 Bug 1312041 - remove requireRawId rewriting in favor of Loader paths; r=jryans
MozReview-Commit-ID: 6OSszbKpp74
2016-10-25 21:30:18 -06:00
Jarda Snajdr 9d604fc092 Bug 1310573 - Add reactjs/reselect to Devtools shared libraries r=Honza
MozReview-Commit-ID: 1XGXxlA8HFp
2016-10-18 15:36:25 +02:00
Ryan VanderMeulen 112d5746d5 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Towkir Ahmed dcd6bd57ba Bug 1306942 - Fix all-tabs-menu position in RTL locales. r=ntim 2016-10-28 01:50:00 -04:00
Jan Odvarko 061357d124 Bug 1310801 - Remove non-printable characters. r=nchevobbe 2016-10-27 13:31:54 +02:00