Commit Graph

29 Commits

Author SHA1 Message Date
nchevobbe
07fed53b5b Bug 1307940 - Add toolbox-dependent method to serviceContainer only if toolbox is available. r=bgrins
MozReview-Commit-ID: CjRXKemaJ4f
2017-04-24 10:09:27 +02:00
nchevobbe
be2efe1402 Bug 1307940 - Add icon next to ElementNodeRep to select node in inspector; r=bgrins,jdescottes
MozReview-Commit-ID: InGASswqAAA
2017-04-21 09:23:11 +02:00
J. Ryan Stinnett
b1e4f726f1 Bug 1349360 - Mark experimental SourceMapService as deprecated. r=ochameau
The existing `SourceMapService` uses server-side source maps, which we are
replacing with client-side source maps.  It will be removed later in bug
1349354, but for now mark it as deprecated so we don't use it with any other
tools.

MozReview-Commit-ID: ABmWGC5asZd
2017-03-21 16:44:09 -05:00
Ricky Chien
6783233089 Bug 1307892 - Add support for network event update message r=nchevobbe
MozReview-Commit-ID: 4lat3RYa4YN
2017-01-29 13:07:58 +08:00
Sebastian Hengst
c6d9ef3e98 Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
Tim Nguyen
548b6bdbef Bug 1330099 - Enable object-shorthand eslint rule. r=jryans
MozReview-Commit-ID: 3wA25rfznBv
2017-01-11 21:22:15 +00:00
Tim Nguyen
67dab99cca Bug 1330074 - Enable no-self-assign, no-useless-call and no-useless-return in devtools/. r=jryans
MozReview-Commit-ID: A345G1QOOpm
2017-01-10 22:14:03 +00:00
Julian Descottes
ec5e077f01 Bug 1307239 - add context menu to new console frontend;r=nchevobbe
MozReview-Commit-ID: 6btSC89pBmG
2016-12-29 17:06:59 +01:00
Nicolas Chevobbe
55a490a50b Bug 1318796 - Open the appropriate tool when clicking on a location in the new console; r=jdescottes
We were always opening the debugger when clicking on the location link,
which could be wrong since we can have CSS warnings, or logs coming from Scratchpad.
So we add the function to open in StyleEditor and Scratchpad, and copy some mochitests
that where testing the interaction with those links.


MozReview-Commit-ID: 73mQNfy199m
2016-12-01 08:29:43 +01:00
Tim Nguyen
31a07ed744 Bug 1307871 - Add new console frontend support for 'Enable timestamps' pref. r=bgrins
MozReview-Commit-ID: FshE769sETL
2016-11-15 19:23:47 +00: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
57f03bddb9 Bug 1307908 - Implement custom styles in new console frontend. r=linclark,tromey;
Add the possibility to pass a style object to StringRep.
Parse the styles strings passed as argument using a dummy node element
to strip off forbidden properties and forbidden values.
Add a mocha test to ensure custom styles are rendered as expected.

MozReview-Commit-ID: I3LgeNRujaL
2016-10-08 15:31:11 +02:00
Nicolas Chevobbe
c6e6f52b04 Bug 1307919 - Add "Learn more" MDN link in message output. r=linclark;
MozReview-Commit-ID: DSAGjD0umzG
2016-10-15 01:06:42 +02:00
Nicolas Chevobbe
3578952087 Bug 1310408 - Add a mochitest for batched consoleAPI calls. r=linclark;
MozReview-Commit-ID: HQTjOSDLMnN
2016-10-15 12:50:38 +02:00
Julian Descottes
6edded599b Bug 1309483 - fix dispatchMessageAdd failing for BATCH_ACTIONS;r=linclark
MozReview-Commit-ID: KBwxZwhiSK8
2016-10-12 10:53:53 +02:00
Brian Grinstead
b10a55c884 Bug 1304178 - Return a promise from dispatchMessageAdd to support jsterm.execute callback for tests;r=linclark
MozReview-Commit-ID: AeRsjFiyikv
2016-10-04 11:32:45 -07:00
Lin Clark
d7463b348c Bug 1307243 - Part 2: Fix Ctrl-F keyboard shortcut and add test. r=bgrins
MozReview-Commit-ID: 3Z5Vp6UMii4
2016-10-04 11:31:40 -07:00
Lin Clark
8649071822 Bug 1307243 - Part 1: Consolidate services in a service container and add addRefToHud. r=bgrins
MozReview-Commit-ID: 4lDTLFzh5ly
2016-10-04 11:31:38 -07:00
Lin Clark
f7fb766c9c Bug 1306783 - New console frontend: Fix performance issue when adding lots of messages. r=bgrins; r=nchevobbe
MozReview-Commit-ID: HdU1OntWPhq
2016-10-02 15:16:50 -07:00
Lin Clark
6d632efe28 Bug 1306751 - New console frontend: Emit new-message from componentDidMount. r=bgrins
MozReview-Commit-ID: 1JS6FcDU9qr
2016-10-02 15:16:50 -07:00
Brian Grinstead
8ea60d6962 Bug 1306124 - Consistently emit the last rendered message in dom for jsterm.execute and with new-messages event;r=linclark
MozReview-Commit-ID: 5100HMmdTr2
2016-09-28 14:28:58 -07:00
Nicolas Chevobbe
076e5e9327 Bug 1305499 - Part 1: Defer NewConsoleOutput initialization until everything is ready. r=linclark
MozReview-Commit-ID: NQGIkNMkoB
2016-09-27 10:09:51 -07:00
Lin Clark
f8254ea8b0 Bug 1305161 - New console frontend: Improve performance of showing cached messages. r=bgrins
MozReview-Commit-ID: 8NIDqj5nRol
2016-09-27 10:09:51 -07:00
Ricky Chien
511dd0e899 Bug 1300058 - New console frontend: Support network event messages. r=linclark
MozReview-Commit-ID: BVc8zLjsKPm
2016-09-20 11:37:03 -07:00
Jaideep Bhoosreddy
d108953230 Bug 1294498 - New console frontend: Add a file location component. r=linclark
MozReview-Commit-ID: 5VnQnWQsoZF
2016-08-18 16:04:33 -07:00
Nicolas Chevobbe
60bf03e66d Bug 1291358 - Part 2: New console frontend: Add support for console.trace();r=linclark
MozReview-Commit-ID: G7Ghf07BiSl
2016-08-18 16:04:32 -07:00
Lin Clark
4403e4dddd Bug 1289258 - Part 2 - Add mocha test for search. r=bgrins
MozReview-Commit-ID: RoAVWKb0qC
2016-07-26 12:35:42 -04:00
Nicolas Chevobbe
20ee5bb549 Bug 1287508 - Part 1: New console frontend: Add filter bar. r=bgrins
MozReview-Commit-ID: KoIEkQVPg2V
2016-07-18 19:02:19 +02:00
Nicolas Chevobbe
54a76c9296 Bug 1260283 - Implement new console output frontend behind a pref. r=linclark
MozReview-Commit-ID: 77qsML4CXlh
2016-04-29 13:18:00 -07:00