| OLD | NEW |
| 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 Loading... |
| 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 }; |
| OLD | NEW |