| Index: LayoutTests/inspector-protocol/css/css-set-property-text-inline.html
|
| diff --git a/LayoutTests/inspector-protocol/css/css-set-property-text-inline.html b/LayoutTests/inspector-protocol/css/css-set-property-text-inline.html
|
| index 1f4a61c4ae1b548f24e946c13b9106b5d4b6d1d0..f10444bbc643f04652a585f54ab1e253b414bcd8 100644
|
| --- a/LayoutTests/inspector-protocol/css/css-set-property-text-inline.html
|
| +++ b/LayoutTests/inspector-protocol/css/css-set-property-text-inline.html
|
| @@ -8,12 +8,19 @@ function test()
|
| var setPropertyText;
|
| var verifyProtocolError;
|
| var dumpStyleSheet;
|
| + var documentNodeId;
|
|
|
| - InspectorTest.sendCommandOrDie("CSS.enable", {}, onCSSEnabled);
|
| + InspectorTest.requestDocumentNodeId(onDocumentNodeReceived);
|
| +
|
| + function onDocumentNodeReceived(nodeId)
|
| + {
|
| + documentNodeId = nodeId;
|
| + InspectorTest.sendCommandOrDie("CSS.enable", {}, onCSSEnabled);
|
| + }
|
|
|
| function onCSSEnabled()
|
| {
|
| - InspectorTest.requestNodeId("#reddiv", onNodeRecieved);
|
| + InspectorTest.requestNodeId(documentNodeId, "#reddiv", onNodeRecieved);
|
| }
|
|
|
| function onNodeRecieved(nodeId)
|
|
|