Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: LayoutTests/http/tests/inspector/elements-test.js

Issue 967213002: Devtools Animations: Represent delay and end-delay on the animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/inspector/elements-test.js
diff --git a/LayoutTests/http/tests/inspector/elements-test.js b/LayoutTests/http/tests/inspector/elements-test.js
index 213a5dbd3540a7d5ce7c4719d2f9e81b698c3459..2307312941683917d4020340461555f51112c8c8 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -876,4 +876,23 @@ InspectorTest.dumpInspectorHighlightJSON = function(idValue, callback)
}
}
+InspectorTest.dumpAnimationTimeline = function(callback)
+{
+ var sidebarPane = WebInspector.panels.elements.sidebarPanes.animations;
+ sidebarPane.expand();
+ var timeline = sidebarPane._timeline;
+
+ // Dump timeline
+ for (var nodeUI of timeline._nodesMap.values()) {
+ InspectorTest.addResult("Node: " + nodeUI._description.lastChild.shadowRoot.lastChild.textContent);
+ for (nodeRow of nodeUI._rows) {
+ for (var ui of nodeRow.animations) {
+ InspectorTest.addResult(ui._svg.innerHTML);
+ }
+ }
+ }
+
+ callback();
+}
+
};

Powered by Google App Engine
This is Rietveld 408576698