Commit Graph

26 Commits

Author SHA1 Message Date
Alexandre Poirot
bbcad33b7a Bug 1348761 - Fix object inspection performances against objects with large Typed Arrays. r=bgrins
MozReview-Commit-ID: 8QGo2b3pYoL
2017-04-20 19:32:13 +02:00
nchevobbe
f7d5e045ac Bug 1347490 - Return isConnected in node grip to indicate if a node is in the DOM tree. r=ochameau
node.isConnected (see https://dom.spec.whatwg.org/#dom-node-isconnected) returns true if the node is
in the DOM tree (including in a shadowDOM tree), which can be used in the frontend to display additional
tools and information.

MozReview-Commit-ID: LjUbkc7VPcB
2017-04-04 12:08:54 +02:00
Sebastian Hengst
098c830dc0 Backed out changeset 6b0e836a33a9 (bug 1316265) for leaks in Linux x64 devtools tests. r=backout 2016-12-20 19:35:54 +01:00
Tim Nguyen
a5667774eb Bug 1316265 - Reps: display when a function is a generator or an async function. r=nchevobbe
MozReview-Commit-ID: C79EAU4vN1u
2016-12-20 15:34:50 +01:00
Julian Descottes
b5c83936fd Bug 1319049 - fix RegExp previewer for worker debugging;r=ochameau
MozReview-Commit-ID: D8hRGV0MWoZ
2016-12-19 10:58:08 +01:00
Julian Descottes
263dbe54ff Bug 1319049 - fix Date previewer for worker debugging;r=ochameau
MozReview-Commit-ID: Fy1Rp4dNv09
2016-11-24 16:12:16 +01:00
Tom Schuster
353ac4d497 Bug 1192038 - Handle RegExp correctly in devtools. r=fitzgen 2016-11-26 19:02:30 +01:00
J. Ryan Stinnett
ca28966f00 Bug 1315391 - Rename all disconnect methods to destroy in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2
2016-11-11 18:24:58 -06:00
Oriol
c470593a6c Bug 1301999 - Stop hiding array indices of generic objects in console. r=fitzgen 2016-09-11 17:57:00 -04:00
Oriol
2f2c0566d7 Bug 1301794 - Allow sparse pseudo-arrays in console r=fitzgen 2016-09-12 13:03:50 -07:00
Oriol
211c45514c Bug 1300336 - Allow pseudo-arrays to have a length property. r=fitzgen 2016-09-03 12:46:00 -04:00
d860674999 Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-30 20:25:44 +02:00
Sebastian Hengst
287d4b9e2a Backed out changeset 115f3bbe634f (bug 1278562) for asserting in bug1091757.js of spidermonkey root analysis. r=backout 2016-08-29 19:44:34 +02:00
1610ff7f5a Bug 1278562 - Split promiseState into promiseState/Value/Reason. r=jimb 2016-08-29 14:00:32 +02:00
Oriol
9397545915 Bug 1295729 - Ensure that properties are array indices when the console checks if an object is a pseudo-array. r=fitzgen 2016-08-16 14:59:00 -04: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
Alexandre Poirot
54c5d8e3da Bug 1270179 - Improve performances when inspecting big typed arrays in the console. r=jsnajdr,ejpbruel 2016-05-26 09:12:17 -07:00
J. Ryan Stinnett
530b903fcf Bug 1271084 - Apply ESLint autofixes to ignored /devtools files. r=tromey
For simple rules like function spacing, we can auto-fix these across the code
base so they are followed in a consistent way.

To generate this patch, I ran:

./mach eslint devtools --no-ignore --fix

After this, I reverted any changes to third party files that we really do want
to ignore.

MozReview-Commit-ID: 6Q8BApkAW20
2016-05-18 12:49:23 -05:00
Jarda Snajdr
8faf50394c Bug 1172920: DevTools: Map/Set entries should be visible in the Variables view r=vporof,tromey a=kwierso
MozReview-Commit-ID: HzwnqO1uQ4o
2016-03-31 16:12:38 -07:00
Till Schneidereit
a73c66740b Bug 911216 - Part 6: Shim new promise-related Debugger.Object accessors using PromiseDebugging. r=shu 2016-03-22 15:54:44 +01:00
Brian Grinstead
62e55b95ff Bug 1237428 - Don't cap number of attributes on DOM nodes in console;r=jryans 2016-01-07 14:30:23 -08:00
Tom Tromey
e5375b5665 Bug 1035545 - show wrapped primitives specially in console and variable view; r=vporof,fitzgen 2015-12-03 13:09:48 -07:00
Tom Tromey
f80a26c683 Bug 1165807 - display WeakSet and WeakMap contents in console; r=bz,fitzgen 2015-11-16 06:50:00 -08:00
Alexandre Poirot
d5e749cdc0 Bug 1113865 - Replace all calls to dbg_assert with DevToolsUtils.assert. r=fitzgen 2015-11-16 07:22:49 -08:00
J. Ryan Stinnett
2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
J. Ryan Stinnett
a3073e0420 Bug 912121 - Migrate major DevTools directories. rs=devtools
Move major DevTools files to new directories using the following steps:

hg mv browser/devtools devtools/client
hg mv toolkit/devtools/server devtools/server
hg mv toolkit/devtools devtools/shared

No other changes are made.
2015-09-21 12:02:24 -05:00