Commit Graph
7430 Commits
Author SHA1 Message Date
Ryan VanderMeulen ad8d8fec71 Merge inbound to m-c. a=merge 2016-12-30 10:04:47 -05:00
Fred Lin e41bac5400 Bug 1325914 - fix react-dev warnings; r=rickychien
MozReview-Commit-ID: GJ4ppGnXHLu
2016-12-27 15:03:15 +08:00
Phil Ringnalda 83857fe4ea Backed out changeset 67611ffb1fef (bug 1325213) for failures in test_require_lazy.js 2016-12-29 19:01:37 -08:00
Tim Nguyen eb7be14ba4 Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 03:11:52 +01:00
Alexandre Poirot 023f7a37d6 Bug 1323466 - Prevent loading webbrowser.js in child process. r=jryans
MozReview-Commit-ID: J1EmwxplNhA

Make actor registration more explicit and documented.
Each codepath depends on various set of actors, and it may be confused
as we often register actors if the DebuggerServer wasn't initialized yet.
But it is often already started by some other callsite...

This changeset also converts childtab to being just a module
and stop using DebuggerServer.addActors magic.
2016-12-19 03:14:12 -08:00
Alexandre Poirot d620db5474 Bug 1323466 - Split actors/worker.js in two to prevent loading unecessary actor code in parent process. r=jryans
The main goal here is to prevent loading protocol.js in the parent process.

MozReview-Commit-ID: 1HzbqNZ81v1
2016-12-14 08:35:47 -08: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
Wes Kocher 6b3497e6e5 Merge inbound to central, a=merge
MozReview-Commit-ID: 1rhhMOnW569
2016-12-29 12:03:47 -08:00
Towkir Ahmed 4ff1b3567a Bug 1325553 - Sound of "take screenshot" button respects relevant preference now; r=ntim 2016-12-28 08:45:00 +01:00
Wes Kocher 67f1a33d79 Merge inbound to central, a=merge
MozReview-Commit-ID: 3AlcRAsPF0s
2016-12-28 16:08:44 -08:00
Aman Dwivedi aec48bf322 Bug 1323685 - Remove workarounds for bug 449811. r=mak 2016-12-22 16:33:28 +05:30
Tomer Cohen 7132465040 Bug 1324746 [RTL] Fix camera icon on Toolbox Options r=jdescottes
MozReview-Commit-ID: CsthQTXUAs2
2016-12-20 17:40:48 +02:00
Tomer Cohen cd3ad7c1dc [Bug 1324118] RTL support for devtool framework connection screen r=jryans
MozReview-Commit-ID: 6h7JdUY4lsT
2016-12-17 01:08:07 +02:00
Tomer Cohen 23f7df864a Bug 1325539 [computed style][rtl] RTL support for devtools computed style (un-rtl) r=jdescottes
MozReview-Commit-ID: 6a80LXbgEdE
2016-12-27 17:40:12 +02:00
Julian Descottes 979f2c379f Bug 1322013 - Use system principal to fetch moz-extension stylesheets;r=gl
MozReview-Commit-ID: 8n15QUzbEUJ
2016-12-26 11:16:24 +01:00
Ryan VanderMeulen e2aa9b723c Merge m-c to autoland. a=merge 2016-12-27 00:01:54 -05:00
Ryan VanderMeulen be0d4a34a1 Merge inbound to m-c. a=merge 2016-12-27 00:00:22 -05:00
Julian Descottes ea9336a9ed Bug 1323193 - remove extra semi-colon in markup.css;r=me
MozReview-Commit-ID: JqoyfdU4wEa
2016-12-26 10:38:25 +01: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 a072dd50b2 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3HW7YWDqTBQ
2016-12-23 14:40:42 -08:00
Phil Ringnalda 834b9db9f0 Merge m-c to autoland 2016-12-24 16:54:02 -08:00
Michael Ratcliffe 4575f95145 Bug 1321820 - Storage Inspector fails with dom.caches.enabled=false r=nchevobbe
MozReview-Commit-ID: Gzwap5NL1w7
2016-12-23 16:53:20 +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
Wes Kocher 16474ee2b4 Merge m-c to autoland, a=merge 2016-12-22 18:45:10 -08:00
Carsten "Tomcat" Book ef798f401e Merge mozilla-central to mozilla-inbound 2016-12-22 16:25:35 +01:00
Sébastien Blin 5fdf57147d Bug 1315667 - Fix resizing inspector sidebar when zooming. r=Honza 2016-11-29 07:49:00 -05:00
Greg Tatum 4cfa5992a4 Bug 1245921 - Turn toolbox toolbar into a React component r+miker r=miker
MozReview-Commit-ID: 4UZbcfw2YI9
2016-11-18 15:02:21 -06:00
Greg Tatum 1c34ba9702 Bug 1245921 - Monkey patch ReactDOM event system for XUL; r+miker r=miker
XUL iframes inside of a privileged XUL document propagate events
between the documents. This breaks React's event model, as React
captures all events at the document level. In the XUL document
containing a XUL iframe, these events end up being dispatched twice.
This fix tricks react into thinking the toolbox.xul document is the only
root document, thus fixing the event system.

MozReview-Commit-ID: B3XF3L6rax1
2016-12-23 15:57:03 -06:00
Tim Nguyen 9390ab0eba Bug 1325213 - Fix lots of eslint errors in devtools/shared/. r=jryans
MozReview-Commit-ID: 2XxhfV8ih0S
2016-12-30 15:01:42 +01:00
Ryan VanderMeulen e19a6308ce Backed out changeset f1dd3438f8b5 (bug 1168376) for ESLint failures. 2017-02-13 11:23:40 -05:00
Leonardo Couto 39745ab2d9 Bug 1168376 - Show transferred size in request summary. r=Honza 2017-02-09 01:30:31 +01:00
Florian Quèze a19e007056 Bug 1338585 - Add an eslint rule to require using .ownerGlobal instead of .ownerDocument.defaultView, r=jaws. 2017-02-13 13:01:32 +01:00
Olli Pettay 26386f2fa1 Bug 1315570, vsync handling in parent process' main thread should use high priority runnables, r=ehsan 2017-02-11 16:59:36 +02:00
Wes Kocher 90a951f6dc Merge m-c to inbound, a=merge
MozReview-Commit-ID: 62cmOWDrQbs
2017-02-10 15:31:09 -08:00
Myk Melez c1427a2abc Bug 1338681 - import Console.jsm before calling console.error; r=jryans 2017-02-10 14:12:09 -08:00
Wes Kocher 6db54fccca Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2KR6yXYC2xj
2017-01-18 15:39:12 -08:00
Julian Descottes 4536d5ca89 Bug 1315922 - enable react/prop-types eslint rule for devtools;r=jryans
MozReview-Commit-ID: KT0v8CQ6DON
2016-11-08 11:33:48 +01:00
Julian Descottes 4f21c72797 Bug 1315922 - fix react/prop-types issues in client/memory;r=gregtatum
MozReview-Commit-ID: 7o1QhSNOKGi
2017-01-05 17:11:20 +01:00
Julian Descottes 6bc1ac086a Bug 1315922 - fix react/prop-types issues in client/responsive.html;r=jryans
MozReview-Commit-ID: LYLdsqLyU1K
2016-11-08 11:34:35 +01:00
Julian Descottes b863837b63 Bug 1315922 - fix react/prop-types issues in client/netmonitor;r=Honza
MozReview-Commit-ID: 2Sjk6YEyDhw
2017-01-16 13:27:03 +01:00
Julian Descottes ad0dcd29ff Bug 1315922 - fix react/prop-types issues in client/webconsole;r=nchevobbe
MozReview-Commit-ID: Am3qt8UxRyr
2017-01-10 15:15:39 +01:00
Julian Descottes 7bdf7ab63b Bug 1315922 - reps: avoid using props as variable name in react classes;r=nchevobbe
MozReview-Commit-ID: 33QUPfoJRpV
2017-01-10 14:52:14 +01:00
Geoff Brown 828ad789f9 Bug 1328915 - Skip linux32/debug devtools tests in clipboard and gpu subsuites; r=me 2017-01-16 11:58:13 -07:00
JerryShih 10e0b98b50 Bug 1310681 - update devtool color function test for colorUtils.colorToRGBA default argument changing. r=tromey
MozReview-Commit-ID: Aa2wW4rEDs
2016-10-21 15:29:01 -04:00
JerryShih 28fdaf5354 Bug 1310681 - pass css-color-4 color function supporting info to devtool css OutputParser and SwatchColorPickerTooltip. r=tromey
Pass css-color-4 supporting status from css-property db to OutputParser and SwatchColorPickerTooltip.

MozReview-Commit-ID: N1ffWOlf9f
2016-10-21 14:59:07 -04:00
JerryShih 979fded430 Bug 1310681 - put css-color-4 color function supporting information into css property db. r=tromey
MozReview-Commit-ID: 8xRKGJ5wJkq
2016-10-21 15:15:16 -04:00
Sebastian Hengst fb193b9c59 Backed out changeset 148e65bd3f3b (bug 1063162) 2016-12-22 17:43:34 +01:00
Xidorn Quan dba629b7be Bug 1063162 part 2 - Implement caret-color property. r=dholbert
MozReview-Commit-ID: DH7CX1d477R
2016-12-22 11:04:15 +11:00
Iris Hsiao 73d8e055ea Merge mozilla-central to mozilla-inbound 2017-01-06 11:10:58 -05:00