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

Unified Diff: LayoutTests/inspector/elements/styles/styles-new-API.html

Issue 441873010: DevTools: [SSP] Implement adding new rule in user stylesheet (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix compilation error 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/styles-new-API.html
diff --git a/LayoutTests/inspector/elements/styles/styles-new-API.html b/LayoutTests/inspector/elements/styles/styles-new-API.html
index 119b5015a43c7f5f7b2d8ec977a57eabc24b88be..4c5ea44b2d249cf17f87d109699583a8a5416f34 100644
--- a/LayoutTests/inspector/elements/styles/styles-new-API.html
+++ b/LayoutTests/inspector/elements/styles/styles-new-API.html
@@ -319,7 +319,13 @@ function test()
InspectorTest.completeTest();
return;
}
- CSSAgent.addRule(styleSheetId, "body", ruleAdded);
+ var range = {
+ startLine: 0,
+ startColumn: 0,
+ endLine: 0,
+ endColumn: 0
+ };
+ CSSAgent.addRule(styleSheetId, "body {}", range, ruleAdded);
}
var frameId = WebInspector.resourceTreeModel.mainFrame.id;

Powered by Google App Engine
This is Rietveld 408576698