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

Unified Diff: LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.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
Index: LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
diff --git a/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html b/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
index 703c7d5b701ea7bb2da05c8c2828c3d2edb0684a..9d3266c8d00218f557448fc784a1548a5c67be38 100644
--- a/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
+++ b/LayoutTests/inspector/elements/styles-2/import-pseudoclass-crash.html
@@ -20,12 +20,12 @@ function test()
{
styleSheetId = styles.matchedCSSRules[1].styleSheetId;
InspectorTest.CSSAgent.setStyleSheetText(styleSheetId,
- "@import url(\"import-pseudoclass-crash-empty.css\");\n\n:last-child { color: #000001; }\n", modifiedCallback);
+ "@import url(\"import-pseudoclass-crash-empty.css\");\n\n:last-child { color: #000001; }\n").then(modifiedCallback);
}
function modifiedCallback()
{
- InspectorTest.CSSAgent.setStyleSheetText(styleSheetId, "@import url(\"import-pseudoclass-crash-empty.css\");\n\n:last-child { color: #002001; }\n", modifiedCallback2);
+ InspectorTest.CSSAgent.setStyleSheetText(styleSheetId, "@import url(\"import-pseudoclass-crash-empty.css\");\n\n:last-child { color: #002001; }\n").then(modifiedCallback2);
}
function modifiedCallback2()

Powered by Google App Engine
This is Rietveld 408576698