| 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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 | 428 |
| 429 InspectorTest.toggleMatchedStyleProperty = function(propertyName, checked) | 429 InspectorTest.toggleMatchedStyleProperty = function(propertyName, checked) |
| 430 { | 430 { |
| 431 var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(propertyName); | 431 var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(propertyName); |
| 432 treeItem._toggleEnabled({ target: { checked: checked }, consume: function()
{ } }); | 432 treeItem._toggleEnabled({ target: { checked: checked }, consume: function()
{ } }); |
| 433 } | 433 } |
| 434 | 434 |
| 435 InspectorTest.eventListenersWidget = function() | 435 InspectorTest.eventListenersWidget = function() |
| 436 { | 436 { |
| 437 var sidebarPane = WebInspector.panels.elements.sidebarPanes.eventListeners; | 437 var sidebarPane = WebInspector.panels.elements.sidebarPanes.eventListeners; |
| 438 sidebarPane.expand(); | 438 sidebarPane.expandPane(); |
| 439 return sidebarPane.children()[0]; | 439 return sidebarPane.children()[0]; |
| 440 } | 440 } |
| 441 | 441 |
| 442 InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback) | 442 InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback) |
| 443 { | 443 { |
| 444 InspectorTest.expandAndDumpEventListeners(InspectorTest.eventListenersWidget
()._eventListenersView, null, callback); | 444 InspectorTest.expandAndDumpEventListeners(InspectorTest.eventListenersWidget
()._eventListenersView, null, callback); |
| 445 } | 445 } |
| 446 | 446 |
| 447 InspectorTest.dumpObjectPropertySectionDeep = function(section) | 447 InspectorTest.dumpObjectPropertySectionDeep = function(section) |
| 448 { | 448 { |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 InspectorTest.dumpAnimationTimeline = function(timeline) | 971 InspectorTest.dumpAnimationTimeline = function(timeline) |
| 972 { | 972 { |
| 973 for (var ui of timeline._uiAnimations) { | 973 for (var ui of timeline._uiAnimations) { |
| 974 InspectorTest.addResult(ui.animation().type()); | 974 InspectorTest.addResult(ui.animation().type()); |
| 975 InspectorTest.addResult(ui._nameElement.innerHTML); | 975 InspectorTest.addResult(ui._nameElement.innerHTML); |
| 976 InspectorTest.addResult(ui._svg.innerHTML); | 976 InspectorTest.addResult(ui._svg.innerHTML); |
| 977 } | 977 } |
| 978 } | 978 } |
| 979 | 979 |
| 980 }; | 980 }; |
| OLD | NEW |