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

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

Issue 1218433007: Devtools Animations: Add buffer and effect selection to animation timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test Created 5 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/animation/animation-timeline.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var initialize_ElementTest = function() { 1 var initialize_ElementTest = function() {
2 2
3 InspectorTest.preloadPanel("elements"); 3 InspectorTest.preloadPanel("elements");
4 4
5 InspectorTest.inlineStyleSection = function() 5 InspectorTest.inlineStyleSection = function()
6 { 6 {
7 return WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks[0].se ctions[0]; 7 return WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks[0].se ctions[0];
8 } 8 }
9 9
10 InspectorTest.computedStyleWidget = function() 10 InspectorTest.computedStyleWidget = function()
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 998
999 function report(error, result) 999 function report(error, result)
1000 { 1000 {
1001 InspectorTest.addResult(idValue + JSON.stringify(result, null, 2)); 1001 InspectorTest.addResult(idValue + JSON.stringify(result, null, 2));
1002 callback(); 1002 callback();
1003 } 1003 }
1004 } 1004 }
1005 1005
1006 InspectorTest.waitForAnimationAdded = function(callback) 1006 InspectorTest.waitForAnimationAdded = function(callback)
1007 { 1007 {
1008 InspectorTest.addSniffer(WebInspector.AnimationTimeline.prototype, "_addAnim ation", callback); 1008 InspectorTest.addSniffer(WebInspector.AnimationTimeline.prototype, "_addAnim ationGroup", callback);
1009 } 1009 }
1010 1010
1011 InspectorTest.dumpAnimationTimeline = function(timeline) 1011 InspectorTest.dumpAnimationTimeline = function(timeline)
1012 { 1012 {
1013 for (var nodeUI of timeline._nodesMap.values()) { 1013 for (var nodeUI of timeline._nodesMap.values()) {
1014 for (nodeRow of nodeUI._rows) { 1014 for (nodeRow of nodeUI._rows) {
1015 for (var ui of nodeRow.animations) { 1015 for (var ui of nodeRow.animations) {
1016 InspectorTest.addResult(ui.animation().type()); 1016 InspectorTest.addResult(ui.animation().type());
1017 InspectorTest.addResult(ui._nameElement.outerHTML); 1017 InspectorTest.addResult(ui._nameElement.outerHTML);
1018 InspectorTest.addResult(ui._svg.outerHTML); 1018 InspectorTest.addResult(ui._svg.outerHTML);
1019 } 1019 }
1020 } 1020 }
1021 } 1021 }
1022 } 1022 }
1023 1023
1024 }; 1024 };
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/animation/animation-timeline.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698