| 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);
|
| + }
|
| + }
|
| + }
|
| +}
|
| +
|
| };
|
|
|