| Index: LayoutTests/inspector/elements/styles/styles-update-links.html
|
| diff --git a/LayoutTests/inspector/elements/styles/styles-update-links.html b/LayoutTests/inspector/elements/styles/styles-update-links.html
|
| index 9582b4a2e51135219a273085b75fd52fb38b83e1..6dd72829b2f380d04672e143fb82ad7603178566 100644
|
| --- a/LayoutTests/inspector/elements/styles/styles-update-links.html
|
| +++ b/LayoutTests/inspector/elements/styles/styles-update-links.html
|
| @@ -119,10 +119,9 @@ function test()
|
| function getMatchedRules()
|
| {
|
| var rules = [];
|
| - for (var pseudoId in WebInspector.panels.elements.sidebarPanes.styles.sections) {
|
| - var matchedStyleSections = WebInspector.panels.elements.sidebarPanes.styles.sections[pseudoId];
|
| - for (var i = 0; i < matchedStyleSections.length; ++i) {
|
| - var rule = matchedStyleSections[i].rule();
|
| + for (var block of WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks) {
|
| + for (var section of block.sections) {
|
| + var rule = section.rule();
|
| if (rule)
|
| rules.push(rule);
|
| }
|
| @@ -155,7 +154,7 @@ function test()
|
|
|
| function testEditSelector(next)
|
| {
|
| - var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][3];
|
| + var section = WebInspector.panels.elements.sidebarPanes.styles._sectionBlocks[0].sections[3];
|
| section.startEditingSelector();
|
| section._selectorElement.textContent = ".should-change, .INSERTED-OTHER-SELECTOR";
|
| InspectorTest.waitForSelectorCommitted(onSelectorEdited);
|
|
|