| Index: LayoutTests/inspector/elements/styles-4/styles-new-API.html
|
| diff --git a/LayoutTests/inspector/elements/styles-4/styles-new-API.html b/LayoutTests/inspector/elements/styles-4/styles-new-API.html
|
| index 2e333620a7fb9263030e4e6208551ac7d3f395d1..390d09b64007f454bb979cabae908f7dcab48653 100644
|
| --- a/LayoutTests/inspector/elements/styles-4/styles-new-API.html
|
| +++ b/LayoutTests/inspector/elements/styles-4/styles-new-API.html
|
| @@ -141,7 +141,7 @@ function test()
|
| {
|
| InspectorTest.addResult("");
|
| InspectorTest.addResult("=== Stylesheet-for-inline-style modification result ===");
|
| - InspectorTest.addResult(error);
|
| + InspectorTest.addResult(error || null);
|
| next();
|
| }
|
|
|
| @@ -150,7 +150,7 @@ function test()
|
| InspectorTest.addResult("");
|
| InspectorTest.addResult("=== Stylesheet-for-inline-style text ===");
|
| InspectorTest.addResult(result);
|
| - InspectorTest.CSSAgent.setStyleSheetText(inlineStyle.styleSheetId, "", setTextCallback);
|
| + InspectorTest.CSSAgent.setStyleSheetText(inlineStyle.styleSheetId, "").then(setTextCallback);
|
| }
|
|
|
| function callback(error, inlineStyle, attributesStyle)
|
|
|