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

Unified Diff: LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html

Issue 1212263002: DevTools: [CSS] migrate setStyleSheetText to promises (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: log error from first stylesheet Created 5 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
diff --git a/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html b/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
index 8f65813672959beaa58ca80d1e1f6e004f8e9908..e844d855ebcd394d983b35f57ad95545ad80f3d7 100644
--- a/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
+++ b/LayoutTests/inspector/elements/styles-2/get-set-stylesheet-text.html
@@ -61,7 +61,7 @@ function test()
InspectorTest.addResult("=== Original stylesheet text: ===");
InspectorTest.addResult(foundStyleSheetText);
InspectorTest.cssModel.addEventListener(WebInspector.CSSStyleModel.Events.StyleSheetChanged, next, this);
- InspectorTest.cssModel.setStyleSheetText(foundStyleSheetHeader.id, "h1 { COLOR: Red; }", true, callback);
+ InspectorTest.cssModel.setStyleSheetText(foundStyleSheetHeader.id, "h1 { COLOR: Red; }", true).then(callback);
}
function testNewElementStyles()
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698