Commit Graph
971 Commits
Author SHA1 Message Date
Patrick Brosset 2bb00fba97 Bug 1213651 - Avoid server round-trips when displaying animated dom nodes; r=tromey
The main change here is that nodeFronts that have already been displayed
in the timeline are stored in a WeakMap so they can be retrieved from it
next time they're displayed and avoid a server-side round trip which, in
turn, causes the UI to flicker.

The other change is that now, it is possible to tell the animations actor
what is the current walker actor, which allows animation player actors to
directly send the NodeActor ID as part of their forms. Which, in most cases,
completely eliminates the server round-trip, because the corresponding
NodeFronts are already known on the client, so we get them from there.

The last change done here is that AnimationTargetNode now becomes a thin
wrapper on top of the new DomNodePreview component that was extracted so
it can be reused in other places.
2016-01-21 13:19:58 +01:00
Carsten "Tomcat" Book a5052219e7 Merge mozilla-central to fx-team 2016-01-21 12:30:07 +01:00
Carsten "Tomcat" Book 1f68039608 Backed out changeset 22d80ccb4626 (bug 1003860) for test failures in browser_storage_dynamic_windows.js 2016-01-21 12:25:44 +01:00
Carsten "Tomcat" Book 2182f5028a Backed out changeset 8d93e84979b5 (bug 1003860) 2016-01-21 12:25:21 +01:00
Carsten "Tomcat" Book 0bcc7e0e04 Backed out changeset 8737105685f1 (bug 1003860) 2016-01-21 12:25:20 +01:00
Carsten "Tomcat" Book 9f0329a534 Backed out changeset 91ba81f7207e (bug 1030318) for making browser_profiler_tree-abstract-02.js failing permanent on e10s 2016-01-21 12:15:27 +01:00
Carsten "Tomcat" Book 99d68bf255 merge mozilla-inbound to mozilla-central a=merge 2016-01-21 11:49:16 +01:00
Nick Fitzgerald ec3afae27f Bug 1241221 - Part 1: Fix incorrect reporting of "moreChildrenAvailable". r=jdescottes
The condition checked when reporting whether there were `moreChildrenAvailable`
when constructing the initial DominatorTreeNode tree from a DominatorTree was
backwards. This commit fixes the condition and adds a test that fails without
the condition fix.
2016-01-20 23:29:46 -05:00
Nick Fitzgerald 719d5d3ea6 Bug 1241221 - Part 0: Test retained size of nodes in dominmator trees. r=sfink
This adds a new test for dominator trees computed from heap snapshots, to make
sure that a node's retained size matches the following:

    retainedSize(node) = shallowSize(node) + sum(retainedSize(c) for c in children(node))

This test did not find the bug described in bug 1241221, but seems like a
valuable test to have anyways.
2016-01-20 13:08:00 -05:00
Nick Fitzgerald bd012db6e4 Bug 1233551 - Do not mark the allocations profiling as experimental. r=jsantell
This commit unmarks the allocation stack sampling as experimental, allowing it
to be visible by default, and no longer restricted to Nightly only.
2016-01-20 15:41:00 -05:00
James Long 84e8191ea6 Bug 1238881 - force the devtools version of React to always generate HTML elements r=Honza 2016-01-20 13:00:30 -05:00
J. Ryan Stinnett 17a845582e Bug 1224751 - Use the window's console in BrowserLoader. r=jlongster 2016-01-20 12:34:44 -06:00
Julian Descottes 6cabc1c470 Bug 1198326 - Prevent event propagation on click events of the inplace editor;r=bgrins 2016-01-20 01:49:50 +01:00
Patrick Brosset abaaf212e6 Bug 1240813 - Fixed the unhandled promise rejections in browser_rules_colorpicker-* tests; r=ochameau 2016-01-20 15:58:24 +01:00
Carsten "Tomcat" Book 300fb95445 Merge mozilla-central to fx-team 2016-01-20 15:37:48 +01:00
Carsten "Tomcat" Book c765b529cf merge mozilla-inbound to mozilla-central a=merge 2016-01-20 15:34:34 +01:00
Victor Porof 988109de83 Bug 1169035 - AbstractCanvasGraph.prototype._getRelativeEventCoordinates causes very costly layouts, r=jsantell 2016-01-20 14:16:27 +01:00
Victor Porof ac9c272de5 Bug 1226245 - Make CallWatcher generic, r=jsantell 2016-01-20 14:11:14 +01:00
Julian Descottes 15657e23e2 Bug 1214177 - Restore pointer-events:normal in layout editor inputs. r=pbro 2016-01-20 01:31:52 +01:00
Brian Grinstead d820e101f9 Bug 1240860 - Escape attribute name before passing into querySelector;r=tromey 2016-01-19 15:30:46 -08:00
Matt Brubeck 4440e13215 Bug 1240876 - Don't wait for load to enable "Copy as cURL" command [r=vporof] 2016-01-19 15:12:47 -08:00
Patrick Brosset 5781119d46 Bug 1181837 - 8 - Include inspector's head.js in markup view to remove duplication; r=bgrins 2016-01-20 09:42:16 +01:00
Patrick Brosset 9554adfc97 Bug 1181837 - 7 - Include inspector's head.js in font inspector to remove duplication; r=bgrins 2016-01-14 16:10:40 +01:00
Patrick Brosset f37d42828b Bug 1181837 - 6 - Include inspector's head.js in rule and computed view tests to remove duplication; r=bgrins 2016-01-20 09:17:11 +01:00
James Long 9f8c93c713 Bug 1224765 - add production version of React for devtools and use it in release modes r=fitzgen 2016-01-19 16:55:06 -05:00
Tom Tromey 864637f4e8 Bug 1240063 - remove balanced-listener rule from devtools .eslintrc; r=pbro 2016-01-19 10:43:08 -07:00
Nick Fitzgerald 09893aecf6 Bug 1239495 - Label the GC roots in the dominator tree. r=jdescottes
Before this patch, we used the underlying root list's C++ type as the label of
the GC roots node in the dominator tree. This patch changes that label to "GC
Roots", which does not require knowing our implementation of heap snapshots to
understand.
2016-01-19 16:29:00 +01:00
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 44e7390ced Bug 1215955 - Add clear snapshots button to devtools memory tool. r=fitzgen 2016-01-12 19:14:15 +01:00
Julian Descottes 5622f85112 Bug 1215955 - Add deleteSnapshot to HeapAnalysisWorker. r=fitzgen 2016-01-12 10:41:17 +01:00
Tim Nguyen 66d03dc8a5 Bug 1171903 - Optimise storage inspector CSS and disable animations for tests. r=miker 2016-01-17 10:14:00 +01:00
Tim Nguyen 7ad6252002 Bug 1171903 - Test for storage inspector endless scrolling. r=miker 2016-01-07 13:19:00 +01:00
Tim Nguyen 6eda5c2532 Bug 1171903 - Add endless scrolling to storage inspector to view more items. r=miker 2016-01-07 14:15:00 +01:00
Patrick Brosset 4e7070445f Bug 1240778 - Fixed the unhandled promise rejection in browser_rules_add-property_01.js; r=ochameau 2016-01-19 16:58:00 +01:00
Carsten "Tomcat" Book 49f8a0f733 Merge mozilla-central to mozilla-inbound 2016-01-20 15:36:47 +01:00
Lars T Hansen def36599ea Bug 1239666 - part 3, devtools test case changes. r=sphink 2016-01-18 09:49:17 +01:00
Julian Descottes 34cbf7df68 Bug 1224201 - memory table : change paddings, colwidths and font. r=vporof 2016-01-15 00:17:46 +01:00
Jan Odvarko f989f366c5 Bug 1237253 - Support define in BrowserLoader; r=jlongster r=jryans 2016-01-15 14:15:28 +01:00
Julian Descottes d9a54be51a Bug 1239730 - memory table formatNumber/Percent : add space every 3 digits. r=jsantell 2016-01-18 16:24:36 +01:00
Julian Descottes 2862f6d34b Bug 1240368 - skip intermittent performance test on linux e10s. r=vporof 2016-01-18 22:37:37 +01:00
Gabriel Luong 8290f369a2 Bug 1235172 - Part 4: Extract RuleEditor and TextPropertyEditor to a view module r=pbro 2016-01-18 12:06:08 -05:00
Carsten "Tomcat" Book 9c012cd470 Backed out changeset e78d14bd29b7 (bug 950936) 2016-01-18 16:34:16 +01:00
Alexandre Poirot 58c559268a Bug 950936 - Add disable autohide button in browser toolbox to help debug panel/popups. r=bgrins 2016-01-18 03:10:42 -08:00
Ryan VanderMeulen 2e3eadd91f Merge m-c to fx-team. a=merge 2016-01-17 15:11:03 -05:00
Ryan VanderMeulen 7d95c9a073 Merge fx-team to m-c. a=merge 2016-01-17 15:05:20 -05:00
Ori Avtalion c5ae4592cc Bug 1208772 - Always use a full URL for links in the console even when the text is shortened. r=bgrins 2016-01-15 19:13:32 +02:00
Julian Descottes 1d7187b248 Bug 1238941 - Remove caching in devtools tree widget (react). r=fitzgen 2016-01-14 20:33:09 +01:00
Julian Descottes 2ec341964d Bug 1239670 - Memory table: Use min-width:0 on flex items to prevent overflow. r=fitzgen 2016-01-14 19:52:26 +01:00
Gabriel Luong 08b54fa153 Bug 1238133 - Part 2: Rename locale keys to avoid parsing conflict r=bgrins 2016-01-16 12:00:43 -08:00
Wes Kocher a79134c3b9 Merge fx-team to m-c a=merge 2016-01-15 14:52:34 -08:00