Commit Graph
232 Commits
Author SHA1 Message Date
Nick Fitzgerald ecb4b4a599 Bug 1220336 - Give HeapSnapshot.creationTime tests more slack for WinXP. r=jdescottes
These two tests have been intermittently failing on WinXP because the
`Date.now()` timers only have a granularity of +/- 15 milliseconds on that
platform. This commit ensures that we have a range of at least 30 milliseconds
before and after taking the snapshot to ensure that the snapshot's timestamp
will fit within the range.
2016-01-19 13:51:00 +01:00
Julian Descottes 5622f85112 Bug 1215955 - Add deleteSnapshot to HeapAnalysisWorker. r=fitzgen 2016-01-12 10:41:17 +01:00
Luke Wagner c9adf369ac Bug 1239601 - improve the UniquePtr situation (r=jorendorff) 2016-01-15 18:26:06 -06:00
Wes Kocher deead778cb Backed out changeset c457397a08bb (bug 1215955) for being a possible cause of frequent devtools failures in browser_profiler_tree-abstract-02.js a=backout 2016-01-15 10:43:01 -08:00
Julian Descottes d40259b5e4 Bug 1215955 - Add deleteSnapshot to HeapAnalysisWorker. r=fitzgen 2016-01-12 10:41:17 +01:00
Alexandre Poirot 33bb7367a8 bug 1158264 - Flag requests coming from service workers. r=vporof 2016-01-14 05:53:00 -08:00
Carsten "Tomcat" Book 85ee13241e Merge mozilla-central to fx-team 2016-01-14 11:59:00 +01:00
Carsten "Tomcat" Book 58efb17a3e merge mozilla-inbound to mozilla-central a=merge 2016-01-14 11:50:34 +01:00
Julian Descottes 24b865446e Bug 1238639 - HeapAnalysesWorker getCreationTime throws when given non-existant path;r=fitzgen 2016-01-12 11:13:54 +01:00
Nick Fitzgerald d144ff2205 Bug 1239154 - Add default bug component to memory tool related directories; r=jsantell 2016-01-13 12:27:30 -08:00
Christoph Kerschbaumer ae5ac6d6ea Bug 1232786 - Convert JS tests to use open2 within devtools/ (r=sicking) 2016-01-13 19:35:41 -08:00
Hugo Arregui 3f723da2d2 Bug 964709 - Updates Parser regex and tests to support self-closing script tags, r=vporof 2015-11-13 10:04:33 -03:00
Lin Clark b63d95436e Bug 1064458 - Remove 'Log request and response bodies' preference. r=bgrins 2016-01-11 19:08:00 +01:00
Gabriel Luong c63ff3b56b Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 09:52:12 -08:00
Wes Kocher 9329572311 Backed out changeset 29f184e43309 (bug 1237441) for eventual build bustage 2016-01-12 09:20:43 -08:00
Gabriel Luong b5d2cb9306 Bug 1237441 - Move styleinspector directory into the shared inspector directory r=pbro 2016-01-12 08:55:46 -08:00
Tom Tromey f2a9d1e347 Bug 1230491 - rewrite CssLogic.isContentStylesheet; r=bgrins 2016-01-12 09:50:43 -07:00
Alexandre Poirot f22eb64841 Bug 1227978 - Convert all DebuggerClient request methods to return promises. r=jlongster 2016-01-12 01:14:00 -08:00
Jan Odvarko 58bafb9641 Bug 1232615 - Properly parse server logs without a label. r=jryans 2016-01-06 08:47:56 +01:00
J. Ryan Stinnett a06f3b6e80 Bug 1234600 - executeSoon async stacks only when DEBUG_JS_MODULES enabled. r=fitzgen 2016-01-07 18:37:12 -06:00
Alex Jordan 63bb47ade1 Bug 1106353 - [gcli] Extend addon to handle click-to-play. r=mratcliffe 2016-01-02 17:40:18 -08:00
Lin Clark a98309cc9e Bug 1236052 - Fix comment in DebuggerClient.prototype.connect. r=odvarko 2015-12-31 09:26:00 -05:00
Nick Fitzgerald cfd8b71c65 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 57884de0f1 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 a72194673b 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 eebff0f582 Bug 1233887 - Convert to Promise.jsm in EventEmitter. r=ejpbruel 2016-01-06 10:41:32 -06:00
Jan Odvarko 0ded7de82f Bug 1235118 - JSON Viewer: remove support for .json URL extensions; r=jryans 2016-01-04 17:31:01 +01:00
Ehsan Akhgari 940aa33681 Bug 579517 follow-up: Remove NSPR types that crept in 2015-12-30 22:52:50 -05:00
Wes Kocher 406a4f0956 Merge inbound to m-c a=merge 2015-12-30 17:34:05 -08:00
Nick Fitzgerald 3c27e3ee73 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 4f31020ada 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 2015-12-28 16:15:52 -06:00
J. Ryan Stinnett bed55bdeac Bug 1233865 - Remove deprecated dbg_assert. r=fitzgen 2015-12-18 17:02:00 -06:00
J. Ryan Stinnett ae2db88834 Bug 1151413 - Set async caller in DevToolsUtils.executeSoon r=ejpbruel 2015-12-18 14:53:25 -06:00
Nick Fitzgerald 0a68f9ead3 Bug 1232390 - Use HeapSnapshot.describeNode to generate labels for nodes; r=jsantell 2015-12-18 12:05:14 -08:00
Nick Fitzgerald deecaa1ebf 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 fefac67a82 Merge mozilla-central to mozilla-inbound 2015-12-17 12:03:41 +01:00
Nick Fitzgerald f27c858435 Bug 1231763 - Extract breakdown parsing from JS::ubi::Census. r=jimb 2015-12-16 09:19:00 +01:00
Brian Grinstead 31af7de0f8 Bug 1226810 - Modifications to pretty-fast after upgrade;r=fitzgen 2015-12-16 10:15:23 -08:00
Brian Grinstead 1f19adce18 Bug 1226810 - Upgrade pretty-fast to latest version;r=fitzgen 2015-12-16 10:15:23 -08:00
Brian Grinstead fcf5a2c035 Bug 1226810 - Modifications to acorn after upgrade;r=fitzgen 2015-12-16 10:15:23 -08:00
Brian Grinstead fa858db7bf Bug 1226810 - Upgrade acorn to 2.6.4;r=fitzgen 2015-12-16 10:15:23 -08:00
Jan Odvarko 5678b594c7 Bug 1230544 - JSON Viewer: support for .json URL extensions; r=jryans 2015-12-04 15:27:47 +01:00
Patrick Brosset a55c60aca1 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 2015-12-10 15:46:32 -05:00
Brian Grinstead 026f3b0504 Bug 1207868 - Fix lexical scope autocomplete for global 'let' and 'const';r=past 2015-12-03 11:35:33 -08:00
Nick Fitzgerald 41f4dd8d45 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 549ddd131e Bug 1227474 - Promisify all client methods. r=jryans 2015-12-03 06:42:34 -08:00
Brian Grinstead 2e5b12676f Bug 1218455 - Special case 'this' to include in console autocompletion;r=fitzgen 2015-12-02 09:24:16 -08:00
Tom Tromey c865973b62 Bug 1225192 - remove leading whitespace before prettifying css; r=pbrosset 2015-12-02 08:27:26 -07:00
Tom Tromey e555a4286b Bug 1225192 - fix eslint complaints about css-logic.js; r=pbrosset 2015-12-02 08:27:25 -07:00
James Long d94fbef9bd Bug 1200798 - refactor sources and breakpoints in debugger to use redux r=ejpbruel 2015-12-01 16:59:00 -05:00