Commit Graph
17 Commits
Author SHA1 Message Date
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
Alexandre Poirot 9e7856d7a9 Bug 1323466 - Lazy load optional deps from toolbox.js. r=jryans
MozReview-Commit-ID: 1E8fm9dfCwj
2016-12-14 08:33:54 -08:00
Michael Ratcliffe 3c278ae0d4 Bug 1322873 - Bug 1322873 - Add React event bubbles to the Markup View r=miker
MozReview-Commit-ID: 5uGOROUTrn2
2016-12-24 21:41:15 +00:00
Wes Kocher b7f42ce9c4 Backed out changeset ff9a07a874fd (bug 1322873) for failing the tests it added a=backout 2016-12-23 16:00:18 -08:00
Michael Ratcliffe 26e575bbdc Bug 1322873 - Bug 1322873 - Add React event bubbles to the Markup View r=tromey
DevRel have made it clear that one of the number one complaints they hear is that we are not supporting React in our tools.

So how about we have our event bubbles include React events and allow people to go to the event listener source in the debugger?

I don't believe that any other tool does this so it is totally worth doing... and in time for Christmas as well ;)

Works just fine in development and production versions of React.

It also works in the browser toolbox so it can be used to debug events in our own tools e.g. The Debugger.

The files under devtools/client/inspector/markup/test/ are either test or React library files so they only really need a cursory glance.

This means that you should focus on the following files when reviewing:
 - devtools/client/locales/en-US/inspector.properties
 - devtools/client/shared/widgets/tooltip/EventTooltipHelper.js
 - devtools/server/actors/inspector.js
 - devtools/server/event-parsers.js

Now allowed the use of JSX in mochitests and fixed all eslint errors.

MozReview-Commit-ID: AtxhainieQe
2016-12-19 11:23:49 +00: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
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
Julian Descottes e4e930753a Bug 1295608 - Migrate devtools/client/shared to use l10n.js instead of Services.string;r=pbro
MozReview-Commit-ID: 2OdCYtae3ad
2016-08-25 17:21:00 +02:00
Sebastian Hengst 183398778b Backed out changeset 51bd96b9f93d (bug 1295608) 2016-08-25 14:20:06 +02:00
Julian Descottes 13d70d5fd7 Bug 1295608 - Migrate devtools/client/shared to use l10n.js instead of Services.string;r=pbro
MozReview-Commit-ID: 3yCxJ9bQBF5
2016-08-23 11:19:59 +02:00
Tom Tromey 0940713d29 Bug 1278625 - remove some lazy loading from devtools; r=jlongster
MozReview-Commit-ID: HwV7DFVJhAF
2016-08-05 08:46:37 -06:00
Julian Descottes bc8ef4cae5 Bug 1284259 - store eventEditors map on EventTooltip instance to fix destroy failures;r=ochameau
MozReview-Commit-ID: XbahMTzqUA
2016-07-13 15:52:07 +02:00
Julian Descottes df9144d00a Bug 1266456 - part2: HTMLTooltip setContent() use object as 2nd arg;r=jsnajdr
setContent expects 3 arguments: content, width, height. Height is already optional
but for the autocomplete migration, the width will also become optional.

Using an object argument for width and height makes this easier.

MozReview-Commit-ID: 9CiMG0BdLOR
2016-06-23 17:27:32 +02:00
Julian Descottes 2e11b982f8 Bug 1266450 - part6: migrate EventDetails tooltip;r=bgrins
For now this is a 1 to 1 migration of the existing Tooltip
helper method from XUL to HTML.

MozReview-Commit-ID: 9YiJLgibV9h
2016-05-31 11:25:43 +02:00