Index: third_party/WebKit/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html |
index 3d449cdc505126c004ae7a41d4950d4130090be3..0fe96fcc4d926c885f446f724d0c86df7428395d 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html |
+++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html |
@@ -28,7 +28,7 @@ function test() |
function successCallback(section) |
{ |
- rule = section.styleRule.rule(); |
+ rule = section._style.parentRule; |
dgozman
2015/11/07 03:00:53
style()
lushnikov
2015/11/07 03:09:24
Done.
|
InspectorTest.addResult("=== Rule added ==="); |
InspectorTest.addResult(rule.selectorText() + " {" + rule.style.cssText + "}"); |
InspectorTest.addResult("Selectors matching the (#inspected) node: " + InspectorTest.matchingSelectors(rule)); |