Commit Graph

211 Commits

Author SHA1 Message Date
Lin Clark
8603f45a09 Bug 1236052 - Fix comment in DebuggerClient.prototype.connect. r=odvarko 2015-12-31 09:26:00 -05:00
Nick Fitzgerald
4463f7dec1 Bug 1236673 - Add a method for getting the canonical node along a path; r=jsantell 2016-01-06 13:57:12 -08:00
Nick Fitzgerald
ee947c5414 Bug 1235883 - Add support for inserting lazily loaded children into a DominatorTreeNode tree; r=jsantell
This commit adds the `DominatorTreeNode.insert` method to insert new
DominatorTreeNode children that have just been loaded from the
HeapAnalysesWorker into an existing partially complete DominatorTreeNode
tree. This is done in a persistent and immutable fashion so that we can use
=== to differentiate different generations of `DominatorTreeNode` trees but
still share the vast majority of the underlying structure.

As infrastructure for the insertion, HeapAnalysesWorker's
`getImmediatelyDominated` response also returns the path from the root to the
node whose immediately dominated children are being fetched. This makes it much
easier to know where to insert the newly loaded children.
2016-01-06 13:57:12 -08:00
James Long
4d90e01ae5 Bug 1132501 - attach the thread on toolbox open instead of waiting for the debugger to initialize r=bgrins 2016-01-06 14:47:24 -05:00
J. Ryan Stinnett
9fe4fd43a2 Bug 1233887 - Convert to Promise.jsm in EventEmitter. r=ejpbruel 2016-01-06 10:41:32 -06:00
Jan Odvarko
5fb3720954 Bug 1235118 - JSON Viewer: remove support for .json URL extensions; r=jryans 2016-01-04 17:31:01 +01:00
Ehsan Akhgari
f7680dbea7 Bug 579517 follow-up: Remove NSPR types that crept in 2015-12-30 22:52:50 -05:00
Wes Kocher
a3a5bda88d Merge inbound to m-c a=merge
--HG--
extra : commitid : LoYhgKpsXCV
2015-12-30 17:34:05 -08:00
Nick Fitzgerald
dc7807bb13 Bug 1235457 - Create ThreadSafeDevToolsUtils for the utilities that can be used in workers; r=jsantell
This commit adds the ThreadSafeDevToolsUtils module for utilities that are
guaranteed to work off the main thread. It also makes DevToolsUtils re-export
the thread-safe utilities. This is similar to ChromeUtils and
ThreadSafeChromeUtils webidl interfaces.
2015-12-30 09:37:01 -08:00
Jeff Walden
5be7be38a1 Bug 1235615 - Split JS::CompartmentOptions into JS::CompartmentCreationOptions that are immutable characteristics of a compartment, and JS::CompartmentBehaviors that may be changed after the compartment's been created. r=terrence
--HG--
extra : rebase_source : f08c380ae247d3308d4c36788ac765de1b75af50
2015-12-28 16:15:52 -06:00
J. Ryan Stinnett
8d7254f6ed Bug 1233865 - Remove deprecated dbg_assert. r=fitzgen
--HG--
extra : rebase_source : e1a92d1c5677a7c8b56adcfaa226d7cae41b30ae
2015-12-18 17:02:00 -06:00
J. Ryan Stinnett
b43d3bf817 Bug 1151413 - Set async caller in DevToolsUtils.executeSoon r=ejpbruel
--HG--
extra : rebase_source : 8869a2dba7d8154df602f2685c022cb44e679383
2015-12-18 14:53:25 -06:00
Nick Fitzgerald
fe06b65df8 Bug 1232390 - Use HeapSnapshot.describeNode to generate labels for nodes; r=jsantell 2015-12-18 12:05:14 -08:00
Nick Fitzgerald
6d19d48472 Bug 1231883 - Implement HeapSnapshot.describeNode; r=mrbkap
This commit implements the HeapSnapshot.describeNode method which allows chrome
JS code to request a description of a given node as specified by our existing
"breakdown" language. This description can be used to generate a human-readable
label for the node.
2015-12-18 12:05:14 -08:00
Carsten "Tomcat" Book
01b55eb7c7 Merge mozilla-central to mozilla-inbound 2015-12-17 12:03:41 +01:00
Nick Fitzgerald
ffd963dd3f Bug 1231763 - Extract breakdown parsing from JS::ubi::Census. r=jimb 2015-12-16 09:19:00 +01:00
Brian Grinstead
01b08ec430 Bug 1226810 - Modifications to pretty-fast after upgrade;r=fitzgen
--HG--
extra : commitid : 40BnQ4d0KUt
2015-12-16 10:15:23 -08:00
Brian Grinstead
d65e2c812e Bug 1226810 - Upgrade pretty-fast to latest version;r=fitzgen
--HG--
extra : commitid : IKq1OXD7H23
2015-12-16 10:15:23 -08:00
Brian Grinstead
46e91641a9 Bug 1226810 - Modifications to acorn after upgrade;r=fitzgen
--HG--
extra : commitid : F3GD9OjnL1X
2015-12-16 10:15:23 -08:00
Brian Grinstead
5105d5a9a8 Bug 1226810 - Upgrade acorn to 2.6.4;r=fitzgen
--HG--
extra : commitid : 8HaGYZ1fIpm
2015-12-16 10:15:23 -08:00
Jan Odvarko
0873070677 Bug 1230544 - JSON Viewer: support for .json URL extensions; r=jryans 2015-12-04 15:27:47 +01:00
Patrick Brosset
b9206ee742 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop
--HG--
extra : commitid : F4M9s89to3Y
extra : rebase_source : 768a99038b43f548d8e0f88248d1be1fe7e5c579
extra : histedit_source : 619e1e7f909a09a7f5731ad8cef9e9a714d76b5e%2Ca78d84e263764af29e9e9e42f419f8189b223d8c
2015-12-10 15:46:32 -05:00
Brian Grinstead
69db7d4a63 Bug 1207868 - Fix lexical scope autocomplete for global 'let' and 'const';r=past
--HG--
extra : commitid : 7UugPolKfrw
2015-12-03 11:35:33 -08:00
Nick Fitzgerald
886206e422 Bug 1229960 - Add support for computing and traversing dominator trees to HeapAnalysisWorker; r=jsantell
This commit defines `DominatorTreeNode`, a JS class representing a node in a
heap snapshot's dominator tree. Three heap analysis client/worker
request/responses request and create these `DominatorTreeNode`s. Unlike
censuses, dominator trees are too big to practically mirror in memory as JS
object structures. Instead, we have one request to get a partial/shallow
representation of the tree starting from the root, and another to get subsequent
children and siblings in the tree. This allows for incremental, lazy, and
bounded mirroring of the dominator tree as `DominatorTreeNode`s.
2015-12-03 09:15:13 -08:00
Alexandre Poirot
ff259744e3 Bug 1227474 - Promisify all client methods. r=jryans 2015-12-03 06:42:34 -08:00
Brian Grinstead
c35cd26b68 Bug 1218455 - Special case 'this' to include in console autocompletion;r=fitzgen
--HG--
extra : commitid : 5DSbxvVyd3w
2015-12-02 09:24:16 -08:00
Tom Tromey
8f69e173dd Bug 1225192 - remove leading whitespace before prettifying css; r=pbrosset 2015-12-02 08:27:26 -07:00
Tom Tromey
375dcc04c9 Bug 1225192 - fix eslint complaints about css-logic.js; r=pbrosset 2015-12-02 08:27:25 -07:00
James Long
e6eb3b4aa4 Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00
Tom Tromey
718d4cfd73 Bug 1216234 - add inIDOMUtils.getCSSPseudoElementNames; r=heycam,pbrosset 2015-12-01 09:52:09 -07:00
Nick Fitzgerald
1523a17aa1 Bug 1226440 - Expose a method to get a node's immediate dominator; r=bz,sfink
This commit adds the `getImmediateDominator` method to `DominatorTree` which
returns the id of the immediate dominator of the node associated with the given
id. This enables walking the dominator tree from leaves up parents all the way
to the root of the tree.
2015-11-30 17:38:06 -08:00
Nick Fitzgerald
aba02288a1 Bug 1226416 - Expose a method to get a node's set of immediately dominated nodes in the dominator tree; r=bz,sfink
This adds the `getImmediatelyDominated` method to `DominatorTree` which takes a
node id and returns the set of each node ids for every node that is immediately
dominated by the node with the given id. The results are sorted by greatest to
least retained size. In conjunction with the `root` attribute, this can be used
to traverse the whole dominator tree.
2015-11-30 17:38:06 -08:00
Eddy Bruel
87593f3827 Bug 1218817 - Implement RootActor.listServiceWorkerRegistrations;r=janx 2015-11-30 06:00:31 +01:00
Pablo
ea49230bd4 Bug 770156 - GCLI needs a command to return the number of matches for a specified CSS selector. r=miker 2015-11-14 15:15:00 +01:00
Phil Ringnalda
feae2f167e Back out 34c9087517ea (bug 1200798) for e10s bustage in browser_dbg_reload-same-script.js
CLOSED TREE
2015-11-25 21:39:05 -08:00
James Long
ffa084a90a Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-11-25 19:41:26 -05:00
Nick Fitzgerald
9a299527f1 Bug 1226217 - Use less verbose cycle collection macros for mozilla::devtools::HeapSnapshot; r=bz 2015-11-19 07:45:00 +01:00
J. Ryan Stinnett
5dfb0fb402 Bug 1226661 - DevTools client JSM global tweak for B2G. r=ochameau 2015-11-23 18:10:11 -06:00
Jan Varga
c1c950896a Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku 2015-11-22 10:43:34 +01:00
Wes Kocher
a02a3f64d5 Merge m-c to inbound, a=merge
--HG--
extra : commitid : 7agHgfFx0Vv
2015-11-20 14:44:04 -08:00
Brian Grinstead
9d2fdf29c7 Bug 1222617 - Filter out service worker messages that happened before a page load;r=bkelly
--HG--
extra : commitid : 6fc1elAGLbc
2015-11-20 06:52:32 -08:00
Carsten "Tomcat" Book
11753b81a2 Merge mozilla-central to fx-team 2015-11-20 14:35:13 +01:00
Wes Kocher
f81fa4f5dd Merge m-c to inbound, a=merge
--HG--
extra : commitid : J3K6n71ZaLB
2015-11-19 13:47:54 -08:00
Brian Grinstead
1a487eae09 Bug 1225828 - Avoid 'Object in compartment marked as invisible to Debugger' exceptions in the Browser Console / Browser Toolbox;r=fitzgen
--HG--
extra : commitid : FBCqMOHoPFs
2015-11-19 07:11:56 -08:00
Carsten "Tomcat" Book
3e3681faa3 Merge mozilla-central to fx-team 2015-11-19 15:24:02 +01:00
J. Ryan Stinnett
6b6e0fc45f Bug 1225906 - Correct GCLI staticRequire after repackaging. r=ochameau 2015-11-18 22:47:55 -06:00
J. Ryan Stinnett
41e1dc05a4 Bug 1210031 - Only subtract scrollbars for window screenshots. r=zer0 2015-11-18 22:47:55 -06:00
Nick Fitzgerald
caf9b0fa0e Bug 1226024 - Expose the root of the dominator tree to JavaScript; r=bz,sfink 2015-11-19 08:10:13 -08:00
Wes Kocher
19ea2da5f2 Backed out changeset e8c43ec095e3 (bug 1132501) for Gu permafail CLOSED TREEx
--HG--
extra : commitid : Jr7D2Af0chE
2015-11-18 14:34:38 -08:00
James Long
7e8a542cfc Bug 1132501 - attach a debugging thread automatically when the toolbox opens r=jryans 2015-11-18 16:25:32 -05:00