Commit Graph
844 Commits
Author SHA1 Message Date
Jarda Snajdr c4c0838df8 Bug 1309866 - Add option for loading common libraries to BrowserLoader r=Honza,jlongster
MozReview-Commit-ID: HGS3T6QcOvF
2016-11-23 16:43:41 +01:00
Carsten "Tomcat" Book 3e675293a3 Backed out changeset ec1ebd2666c7 (bug 1309866) 2016-12-09 15:45:49 +01:00
Jarda Snajdr bda2088142 Bug 1309866 - Add option for loading common libraries to BrowserLoader r=Honza,jlongster
MozReview-Commit-ID: HGS3T6QcOvF
2016-11-23 16:43:41 +01:00
Julian Descottes 3a4cf68bbf Bug 1321509 - use devtools-local-toolbox to load the inspector in content;r=bgrins,tromey
Add package.json to devtools/client/inspector
Integration with devtools-local-toolbox:
- provides development server
- default webpack config
- landing page to select a tab

In this patch:
- bin/dev-server-js contains the inspector specific routes
- webpack/*-sham.js : inspector dependencies that had to be mocked
  ideally, decoupling work should continue and the inspector client
  should only ever require files that require no chrome priviledged
  APIs.
- toolbox.js contains the interface with devtools-local-toolbox bootstrap
  and the inspector panel initialization
- configs/development.json is the inspector config for the devtools-local-toolbox

MozReview-Commit-ID: 7YQLUlgSyDX
2016-12-07 18:24:51 +01:00
Towkir Ahmed 169bd57406 Bug 1313486 - Fix unicode-bidi for DOM label and value in RTL locales. r=Honza 2016-11-25 10:16:00 -05:00
Wes Kocher 6c8553ccb2 Backed out 3 changesets (bug 1309866) for too many intermittent test failures after landing a=backout
Backed out changeset 30baf39ed89f (bug 1309866)
Backed out changeset e0e09f7f22a3 (bug 1309866)
Backed out changeset 75d37553b7cd (bug 1309866)
2016-12-02 11:14:57 -08:00
Wes Kocher 32fabff059 Merge m-c to autoland, a=merge 2016-12-01 15:46:49 -08:00
Ruturaj K. Vartak 431be25821 Bug 1320304 - Firebug theme - Wrong height of Inspector, Network side panel tabs. r=Honza 2016-11-29 22:53:00 -05:00
Brian Grinstead d3c7b73f76 Bug 1259603 - Use ConsoleEvents for cached messages and observing messages when webconsole actor is running;r=ejpbruel
MozReview-Commit-ID: E3oG451qPe9
2016-11-30 10:32:48 -08:00
Nicolas Chevobbe 848a544869 Bug 1321518 - Fix requireHelper for enzyme. r=bgrins
Bug 1312236 updated React to v15.3.2 which was making webconsole's mocha test fail.
An error was thrown because the path and export we do in requireHelper to make enzyme
able to call React functions was changed.
We fix the require to ReactDOM by using the react-dom.js file, and we add the similar
react-dom-server.js for ReactDOMServer functions.

Tests now run like they used to.

MozReview-Commit-ID: GXIQJPlqp4A
2016-12-01 19:47:36 +01:00
Tom Tromey 8a93d4e955 Bug 1316630 - don't emit pref-changed event on gDevTools; r=jdescottes
MozReview-Commit-ID: CCqAf8dBFSY
2016-11-21 08:47:10 -07:00
Tom Tromey c5e4df9459 Bug 1316630 - move PrefObserver to devtools/shared/prefs.js; r=jdescottes
MozReview-Commit-ID: C4KxFxv2LVT
2016-11-14 15:46:19 -07:00
Nicolas Chevobbe 8f385a3a96 Bug 1320359 - Make EventRep displays like events were displayed in old console; r=Honza
Add a target property and show the event name (and modifiers if any) in the title.
Minor edit in GripRep to allow to pass a title as a prop.
Edit tests accordingly, and add some to test node highlighting.

MozReview-Commit-ID: JmMidejKS6m
2016-11-25 23:52:06 +01:00
Jarda Snajdr b6f0c8ff0a Bug 1309866 - Add option for loading common libraries to BrowserLoader r=Honza,jlongster
MozReview-Commit-ID: HGS3T6QcOvF
2016-11-23 16:43:41 +01:00
Michael Ratcliffe 2556b92d84 Bug 1320362 - Move indexedDb storage type in the storage inspector into a new column r=jdescottes
Ideally we would have used the GUID to join fields to build the compound key but because we show the uniqueId in the tree that would lead to an ugly user experience. As an
alternative we simply use e.g. db1 (default) as the uniqueId. This works as a unique key, is informative for the user and means minimal changes to tests.

MozReview-Commit-ID: I0XxTIoV33p
2016-11-29 10:57:18 +00:00
Carsten "Tomcat" Book b2e94c45fc Merge mozilla-central to mozilla-inbound 2016-11-29 16:49:35 +01:00
Carsten "Tomcat" Book e23b4a4227 merge mozilla-inbound to mozilla-central a=merge 2016-11-29 16:47:18 +01:00
Jarda Snajdr 4a78d971a9 Bug 1312236 - Fix Tree component tests after upgrade to React 15 r=fitzgen
MozReview-Commit-ID: 1hHF3JLg4W
2016-11-28 14:38:00 +01:00
Lin Clark de63d573ef Bug 1312236 - Update React to 15.3.2 r=jsnajdr
MozReview-Commit-ID: LLIjkUt5AUU
2016-11-28 14:38:00 +01:00
Michael Ratcliffe 8929f73c5a Bug 1315639 - Event listener popup needs rewriting r=gerv,pbro
Changes:
  - Removed 5 lines from toolkit/content/license.html as requested by gerv.

MozReview-Commit-ID: COFNoCDVyp6
2016-11-04 17:16:50 +00:00
Nicolas Chevobbe 577cda8a81 Bug 1320399 - Fix error in Grip Rep; r=nchevobbe
Check that the `preview` property is not null before using it.
The bug was harmless because we catch it and return an
empty array as the properties of the grip, which is the same
when we don't have anything in the preview prop.

MozReview-Commit-ID: COU8XLATw7x
2016-11-26 20:47:09 +01:00
Nicolas Chevobbe cad0ed1f22 Bug 1320161 - Fix objectLink in Attribute Rep; r=Honza
MozReview-Commit-ID: IaHGVZbxHhR
2016-11-24 19:19:28 +01:00
djmdev dbf6ace6ce Bug 1316613 - Disables eyedropper icon if the eyedropper highlighter is unavailable.r=jdescottes
MozReview-Commit-ID: 3HhqqGqnoHo
2016-11-24 03:08:28 +05:30
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