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

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

Issue 1210893002: DevTools: [CSS] introduce strong types (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-1/edit-value-inside-property.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html
diff --git a/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html b/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html
index 9ae897950ae5117947b0525e22fb595304c56e6a..f339bd4428213f0bd3ee690b564ad2fc47a9c6ac 100644
--- a/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html
+++ b/LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html
@@ -73,13 +73,13 @@ function test()
{
InspectorTest.cssModel.getInlineStylesAsync(nodeId, stylesCallback);
- function stylesCallback(inlineStyle)
+ function stylesCallback(inlineStyleResult)
{
- if (!inlineStyle) {
+ if (!inlineStyleResult || !inlineStyleResult.inlineStyle) {
InspectorTest.completeTest();
return;
}
- inlineStyle.appendProperty("font-size", "14px", appendCallback);
+ inlineStyleResult.inlineStyle.appendProperty("font-size", "14px", appendCallback);
}
function appendCallback(newStyle)
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698