Commit Graph
549 Commits
Author SHA1 Message Date
Luca Greco 626f28f1eb Bug 1287889 - Adopt webconsole _lastConsoleInputEvaluation when the debugger changes. r=bgrins
MozReview-Commit-ID: 8ujphVlekIL
2016-07-25 10:09:14 +02:00
Luca Greco e9239cd320 Bug 1268773 - Test addon wrapper updated in cached addon actor on reload and upgrade. r=ochameau
MozReview-Commit-ID: Fsdptohp22c
2016-07-07 14:55:31 +02:00
Luca Greco 1fc23a332e Bug 1268773 - Update the Addon Wrapper for cached addon actors on reload. r=ochameau
MozReview-Commit-ID: AWNPTyIuzCX
2016-07-06 16:18:58 +02:00
Oriol cd445ceebc Bug 1274657 - When inspecting a proxy, show the [[ProxyHandler]] and [[ProxyTarget]] instead of executing traps. r=jlong 2016-07-23 17:39:00 +02:00
Fischer.json 8303c282bd Bug 1264582 - Table headers are not removed when selecting an empty storage. r=mratcliffe
MozReview-Commit-ID: Hcfw7dyrDpV
2016-07-01 17:42:07 +08:00
Wes Kocher 6c86a63861 Backed out 6 changesets (bug 1244227) for m(cl) failures
Backed out changeset 0cf1259b7073 (bug 1244227)
Backed out changeset d5866b9dd3d9 (bug 1244227)
Backed out changeset 49b5309e3415 (bug 1244227)
Backed out changeset 33bc49f015a7 (bug 1244227)
Backed out changeset f680f6460f07 (bug 1244227)
Backed out changeset 5a4bb3258978 (bug 1244227)
2016-07-22 13:32:37 -07:00
Tom Tromey 3db2e25714 Bug 1244227 - Add an API to enable throttling. r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
Patrick Brosset 3e7653ff54 Bug 1262439 - 5 - Move eyedropper btn to inspector and update gcli command; r=bgrins
This moves the eyedropper button from the toolbar into the inspector,
therefore the old eyedropper command isn't needed anymore,
or at least not as it was.
The button in the inspector simply uses the pickColorFromPage inspector
actor method.
And to preserve a eyedropper gcli command, a new simpler one was added.

MozReview-Commit-ID: B1yr1EqLFBD
2016-07-20 16:06:42 +02:00
Patrick Brosset 1309c4b84e Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue
2016-06-06 15:11:27 +02:00
Patrick Brosset 48056ab112 Bug 1262439 - 2 - Add a new pickColor inspector method to use the new eye-dropper highlighter; r=bgrins
The inspector actor now has a new method that can be used to pick a
color from the page. This method just instantiates the eye-dropper
highlighter and shows it on the page.
The method doesn't return the color because this requires user interaction.
Instead, it returns immediately and an event is sent later, when the user
has selected a color or escaped.

MozReview-Commit-ID: cjadLyNXQd
2016-07-20 16:07:04 +02:00
Patrick Brosset e19007d87a Bug 1262439 - 1 - Introduce a new eye-dropper highlighter; r=zer0
This is mostly porting code from the XUL eye-dropper over to a new
highlighter file.
While I have tested this locally, this highlighter isn't yet used
in devtools.
This will come in later patches.

MozReview-Commit-ID: IF0puLu5Yc7
2016-07-21 14:35:14 +02:00
Carsten "Tomcat" Book c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Carsten "Tomcat" Book 3c6d6ab8d0 merge fx-team to mozilla-central a=merge 2016-07-22 11:56:37 +02:00
Greg Tatum 30ad9244d0 Bug 1286232 - Add scripts and tests to automate the css-properties-db. r=pbro 2016-07-21 06:54:00 -04:00
Carsten "Tomcat" Book 9265f02f72 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Carsten "Tomcat" Book ba27247b23 merge fx-team to mozilla-central a=merge 2016-07-21 16:23:11 +02:00
4e5d04b399 Bug 1265727 - Decouple EventLoopLagFront from EventLoopActor. r=fitzgen 2016-07-21 12:52:30 +02:00
Tim Huang 1fa3f10bb6 Bug 1287607 - Making the stylesheets editor using the system principal to load CSS files from 'chrome://' URL. r=gl 2016-07-19 17:39:00 +02:00
Jaideep Bhoosreddy 8878aa9116 Bug 670002 - Use source maps in the web console w/ performance issues; r=jsantell 2016-07-20 19:09:00 +02:00
Wes Kocher c81f8b6029 Backed out changeset aab8baf2c5f5 (bug 670002) for eslint failures 2016-07-20 12:56:46 -07:00
James Long 14cb1813db Bug 1238173 - remove ScriptStore in use findScripts in debugger r=fitzgen 2016-07-20 14:57:13 -04:00
Jaideep Bhoosreddy a410059042 Bug 670002 - Use source maps in the web console w/ performance issues. r=jsantell 2016-07-20 00:40:00 -04:00
Patrick Brosset 2deffcd80d Bug 1287042 - Always before/after CSS rules in rule-view; r=bgrins
::before and ::after pseudo-elements are visible in the markup-view today
but if, for some reason, they aren't generated, we still want to know that
the CSS rule exists.
This may happen if you use display:none on the pseudo-element CSS rule itself.
When that happens, the pseudo-element won't be generated and therefore there
will be no possibility to see the rule in the rule-view (you'd have to go to
the style-editor for that).
This change keeps the pseudo-elements in the markup-view, but also adds the
corresponding CSS rules in the rule-view.

MozReview-Commit-ID: tx5IpmtE7b
2016-07-18 17:15:05 +02:00
Joseph Yeh 1341d9ee45 Bug 1274609 - Replace uses of Ci.nsIDOMNodeFilter constants. r=jlongster
MozReview-Commit-ID: 1OeiMaVZ7tm
2016-07-11 20:28:00 +02:00
Carsten "Tomcat" Book 42412f6f84 merge mozilla-inbound to mozilla-central a=merge 2016-07-18 17:07:59 +02:00
Carsten "Tomcat" Book e7b6762188 Backed out changeset a80fdfc128b0 (bug 911216) for high crash-rate on developers - RyanVM request 2016-07-18 16:14:59 +02:00
Carsten "Tomcat" Book ac400ca3c2 merge mozilla-inbound to mozilla-central a=merge 2016-07-17 10:08:08 +02:00
Till Schneidereit b5a834f62f Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-16 15:05:12 +02:00
Jason Laster 48f681702e Bug 1286390 - Add sourceMapURL to source actor form. r=jlongster 2016-07-12 14:40:00 -04:00
Dalimil Hajek 1c8d7b7522 Bug 1220388 - Element highlighter tooltip doesn't display element's size if it has long ID / firefox window is narrow. r=zer0
MozReview-Commit-ID: AzKGhr9BssN
2016-07-05 12:38:00 +02:00
Greg Tatum 17dea2ba8d Bug 1265785 - replace uses of inIDOMUtils.getCSSPseudoElementNames r=pbro 2016-07-12 06:45:00 +02:00
Alexandre Poirot a92cc49b04 Bug 1281726 - Emit TabActor.tabDetached whenever the actor is detached. r=jryans 2016-07-13 23:34:17 -07:00
Alexandre Poirot 43293a7a75 Bug 1281726 - Support TabActor.getTab against mozbrowser iframes. r=jryans 2016-07-13 23:34:17 -07:00
Till Schneidereit e393dab409 Bug 911216 - Part 30: Enable SpiderMonkey Promise implementation. r=bz,efaust,bholley,Paolo,tromey,shu
Also contains folded version of the following patches that have to land at the same time with enabling the new implementation (or be backed out at the same time, if it comes to that):

Add Promise checks to test_xrayToJS.xul. r=bholley
Change Promise debugger hook tests to use Promise ctor instead of makeFakePromise. r=shu
Change DOM interface tests to assume Promise is an ES builtin, not a DOM one. r=bz
Remove some PromiseDebugging references. r=bz
Adapt promise rejections test to new xray-unwrapping error. r=bz
Fix expectations in browser_timelineMarkers tests. r=tromey
2016-07-21 12:06:30 +02:00
Tim Huang 82979ebbae Bug 1282660 - Part 1 : Make the devtools uses nodePrincipal instead of the system principal when fetching stylesheets. r=gl 2016-07-13 02:37:00 +02:00
Jarda Snajdr b68af99371 Bug 1285638 - Network monitor leaks window when a parent-side tab is closed. r=ochameau 2016-07-10 10:37:00 +02:00
Ian Moody 356ceef395 Bug 1285253 - Change incorrect "text-anchor: left" to "start". r=jdescottes
Also fix a typo in a comment, "Rules" -> "Rulers"

MozReview-Commit-ID: Gy5k3TR9JDM
2016-07-07 13:48:16 +01:00
Joseph Yeh 593964fa37 Bug 1236283 - Don't mistake <embed> and <object> as having 1 child node when they don't contain anything. r=pbro
MozReview-Commit-ID: B7bEOP63yxT
2016-07-05 00:52:00 +02:00
Ian Moody 613ead7534 Bug 1171614 - Add a test for data-URI images to test_inspector_getImageData.html, and check that the server is being truthful about resizing. r=jdescottes
Also tidy up the HTML a bit by removing errant <img> close tags

MozReview-Commit-ID: 4cmtW1S2BI8
2016-07-01 18:31:22 +01:00
Ian Moody 4449a109dd Bug 1171614 - Make server inspector actor only return data-URIs as-is if they are smaller than maxDim. r=jdescottes
MozReview-Commit-ID: Hw0K8ZA79eG
2016-07-07 12:13:49 +01:00
Rex Lee a981b10008 Bug 1261133 - Use pseudoClass for style editor transition. r=dbaron, r=pbro
MozReview-Commit-ID: Ck5JTXRR0mp
2016-05-23 19:55:54 +08:00
Carsten "Tomcat" Book 2b1b65366c Backed out changeset 52434d177be3 (bug 1171614) for test failures in clipboard tests 2016-07-07 08:39:18 +02:00
Carsten "Tomcat" Book 8c0d0b6fd6 Backed out changeset 0dafaad484d4 (bug 1171614) 2016-07-07 08:39:01 +02:00
Carsten "Tomcat" Book 7cb6274368 Backed out changeset 3468f546b085 (bug 1236283) 2016-07-07 08:39:00 +02:00
Joseph Yeh 1499bb0bbd Bug 1236283 - Don't mistake <embed> and <object> as having 1 child node when they don't contain anything; r=pbro
MozReview-Commit-ID: B7bEOP63yxT
2016-07-05 00:52:00 +02:00
Ian Moody 9b42fe48e9 Bug 1171614 - Add a test for data-URI images to test_inspector_getImageData.html, and check that the server is being truthful about resizing r=jdescottes
Also tidy up the HTML a bit by removing errant <img> close tags

MozReview-Commit-ID: 4cmtW1S2BI8
2016-07-01 18:31:22 +01:00
Ian Moody f2ff4c98e7 Bug 1171614 - Remove the special path for data-URI images from the server inspector actor r=jdescottes
MozReview-Commit-ID: 2tWleM1wH1G
2016-07-01 18:28:36 +01:00
Nick Fitzgerald 29461839ae Bug 1261869 - Fix leaks in devtools; r=ejpbruel
There are two leaks addressed in this commit:

1. The thread actor's `_debuggerSourcesSeen` set was never cleared. This set
exists only as a performance optimization to speed up `_addSource` in cases
where we've already added the source. Unfortunately, this set wasn't getting
cleared when we cleared debuggees out and it ended up keeping the
`Debugger.Source`, its referent, and transitively its referent's global alive. I
figured it was simpler to make it a `WeakSet` than to add it as a special case
in `ThreadActor.prototype._clearDebuggees` and manage the lifetimes by hand. I
think this fits well with its intended use as an ephemeral performance
optimization.

2. Due to a logic error, we were not clearing debuggees in the memory actor's
`Debugger` instance on navigations. This isn't really a "proper" leak, in that
if you forced a GC, the old debuggees would go away as `Debugger` holds them
weakly, however if there was no GC between navigations, then you could still see
the old windows (and everything they "retained") as roots in the snapshot. This
issue is straightforward to fix once identified: ensure that `_clearDebuggees`
is actually called on navigation.

Finally, this commit adds a test that we don't leak Window objects when devtools
are open and we keep refreshing a tab. When it fails, it prints out the leaking
window's retaining paths.
2016-07-06 08:37:57 -07:00
Sebastin Santy 23496e9a16 Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro 2016-07-05 02:16:00 +02:00
Brian Grinstead 99c5784b47 Bug 1283641 - Dont use a missing localized string when changing context in webconsole;r=dolske
MozReview-Commit-ID: 90Wce7yMG8M
2016-07-05 16:21:26 -07:00