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

Unified Diff: LayoutTests/inspector/elements/styles-1/edit-value-inside-property.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
Index: LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html
diff --git a/LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html b/LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html
index 1064c0aa362c8964922618e3bd73cc97a48a482e..f5233ed6ff33f4fe19f1c37d4a79c3150807fbb3 100644
--- a/LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html
+++ b/LayoutTests/inspector/elements/styles-1/edit-value-inside-property.html
@@ -34,14 +34,14 @@ function test()
InspectorTest.cssModel.getInlineStylesAsync(node.id, onInlineStyle);
}
- function onInlineStyle(inlineStyle)
+ function onInlineStyle(inlineStyleResult)
{
- if (!inlineStyle) {
+ if (!inlineStyleResult || !inlineStyleResult.inlineStyle) {
InspectorTest.addResult("Failed to get inline styles.").
InspectorTest.completeTest();
return;
}
- InspectorTest.addResult("font-size: " + inlineStyle.getPropertyValue("font-size"));
+ InspectorTest.addResult("font-size: " + inlineStyleResult.inlineStyle.getPropertyValue("font-size"));
InspectorTest.completeTest();
}
}
« no previous file with comments | « LayoutTests/inspector/elements/styles-1/add-new-rule-inline-style-csp.html ('k') | Source/core/inspector/InspectorCSSAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698