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

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: Round values Created 5 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/animation-timeline.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..73b436c52a1375130e6183e05ee0fdd920637365 100644
--- a/LayoutTests/http/tests/inspector/elements-test.js
+++ b/LayoutTests/http/tests/inspector/elements-test.js
@@ -876,4 +876,22 @@ InspectorTest.dumpInspectorHighlightJSON = function(idValue, callback)
}
}
+InspectorTest.waitForAnimationAdded = function(callback)
+{
+ InspectorTest.addSniffer(WebInspector.AnimationTimeline.prototype, "addAnimation", callback);
+}
+
+InspectorTest.dumpAnimationTimeline = function()
+{
+ var timeline = WebInspector.panels.elements.sidebarPanes.animations._timeline;
+ // Dump timeline
+ for (var nodeUI of timeline._nodesMap.values()) {
+ for (nodeRow of nodeUI._rows) {
+ for (var ui of nodeRow.animations) {
+ InspectorTest.addResult(ui._svg.innerHTML);
+ }
+ }
+ }
+}
+
};
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/animation-timeline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698