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

Unified Diff: LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html

Issue 458213002: DevTools: add test to verify simple selector behavior. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebInspector.BlankStylePropertiesSection.makeNormal is private Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html
diff --git a/LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html b/LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html
index c5fb8b560f3da053c954c96f7f69c2f457d7e8f2..027091cbbebaa4b76974dca2b146e24c1dabe2b7 100644
--- a/LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html
+++ b/LayoutTests/inspector/elements/styles/add-new-rule-inline-style-csp.html
@@ -27,9 +27,9 @@ function test()
InspectorTest.addNewRule("#inspected", successCallback);
}
- function successCallback(styleRule)
+ function successCallback(section)
{
- rule = styleRule.rule;
+ rule = section.styleRule.rule;
InspectorTest.addResult("=== Rule added ===");
InspectorTest.addResult(rule.selectorText + " {" + rule.style.cssText + "}");
InspectorTest.addResult("Selectors matching the (#inspected) node: " + InspectorTest.matchingSelectors(rule));
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/inspector/elements/styles/simple-selector.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698