Commit Graph
1180 Commits
Author SHA1 Message Date
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
Eddy Bruel 56865c36f7 Bug 1265727 - Decouple FramerateFront from FramerateActor;r=fitzgen 2016-07-04 17:50:30 +02:00
Jarda Snajdr efe398485b Bug 1231445 - Part 3: Support for removing IndexedDB records in storage inspector r=mratcliffe 2016-07-04 04:10:00 +02:00
Jarda Snajdr 3902efd3fe Bug 1231445 - Part 2: Change format of stores-cleared event data to support clearing any store r=mratcliffe 2016-07-04 04:09:00 +02:00
Jarda Snajdr 977ab5bdc2 Bug 1194208 - Remove storage inspector stores-reloaded event. r=mratcliffe 2016-07-04 02:48:00 +02:00
Jarda Snajdr 28a6876cec Bug 1283800 - Storage inspector throws unhandled exception trying to access localStorage on about:home r=mratcliffe
MozReview-Commit-ID: D5EVRMk8zEG
2016-07-01 06:26:00 +02:00
J. Ryan Stinnett d81f805922 Bug 1283583 - Clean up code style in devtools/server/main.js. r=ochameau
MozReview-Commit-ID: 48Jr1Si8oUh
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett 945676479e Bug 1283583 - Clean up code style in devtools/server/child.js. r=ochameau
MozReview-Commit-ID: GoHv6jvX6M1
2016-07-01 18:35:25 -05:00
Eddy Bruel c92530c5cd Bug 1265727 - Decouple ProfilerFront from ProfilerActor;r=fitzgen 2016-07-01 15:27:41 +02:00
Eddy Bruel 80b6bbdcff Bug 1280257 - Reset non-pending breakpoints when tab is reloaded with source maps disabled;r=jryans 2016-07-01 15:19:25 +02:00
Wes Kocher 7dd98fbcaa Backed out 6 changesets (bug 1244227) for mochitest-cl failures
Backed out changeset fc2dcc9e7f52 (bug 1244227)
Backed out changeset 5855543dc299 (bug 1244227)
Backed out changeset b409ab88921d (bug 1244227)
Backed out changeset 2990149167fc (bug 1244227)
Backed out changeset e4bf9065b319 (bug 1244227)
Backed out changeset 404a39c5e090 (bug 1244227)
2016-06-30 13:42:15 -07:00
Tom Tromey 1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Tom Tromey f55698e761 Bug 1244227 - add an API to enable throttling; r=Honza
MozReview-Commit-ID: BirjFHVSZN7
2016-03-01 11:13:41 -07:00
J. Ryan Stinnett 4ee5efd099 Bug 1240907 - Log server destroy errors. r=me
MozReview-Commit-ID: 2W3yKWTerjX
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 30933227ec Bug 1240907 - Flatten RemoteBrowserTabActor into BrowserTabActor. r=ochameau
The removes the legacy path for non-e10s that avoids the messageManager.  We now
use the messageManager for all cases, both e10s off and on.

Unsurprisingly, this revealed a variety of race conditions in various tests, so
they've been cleaned up as well.

MozReview-Commit-ID: EXEWehphLIY
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 3b0119033c Bug 1240907 - Tunnel toolbox messages to content in RDM. r=ochameau
When you open a toolbox in RDM, it will now debug the content page, instead of
the RDM UI.

MozReview-Commit-ID: LXbVhwNVlcp
2016-07-21 12:20:55 -05:00
Florian Scholz 883f563bc5 Bug 1279195 - Update error doc URLs and add GA parameters; r=bgrins 2016-06-24 03:58:00 +02:00
Brian Grinstead 10fb539e2a Bug 1279195 - Move error message URL onto server. r=linclark
MozReview-Commit-ID: 4paCU4JDDMv
2016-06-21 15:09:13 -07:00
Michael Ratcliffe 5ec982ead7 Bug 1271257 - Protocol error (unknownError) can't convert undefined to object r=pbrosset 2016-06-29 15:27:02 +01:00
Julian Descottes b3959f8e84 Bug 1278823 - styleeditor: fix csscoverage report creation;r=jryans
The sheetToUrl function in csscoverage is only used to create ids for the
csscoverage map of knownRules. Instead of asking the UI to format stylesheet
URLs using the same logic as the server, StyleEditor.jsm now sends the
stylesheet actor to create the report. The csscoverage actor can then compute
the stylesheet URL on the server.

MozReview-Commit-ID: GDtWhbi2ScW
2016-06-28 11:18:39 +02:00