| Index: third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
|
| index 7768b34857061ec68b95bfe68797c7d8affba6e2..43ea5445abe3b8cf023e430d89d0c2fe6b3333ab 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/css/css-getLayoutTreeNodes.html
|
| @@ -12,8 +12,12 @@
|
| function test()
|
| {
|
| InspectorTest.sendCommand("DOM.enable", {});
|
| - var whitelist = ["transform", "transform-origin", "height", "width", "display", "outline-color"];
|
| - InspectorTest.sendCommandOrDie("CSS.getLayoutTreeAndStyles", {"computedStyleWhitelist": whitelist}, onLayoutTreeNodes);
|
| + InspectorTest.sendCommandOrDie("DOM.getDocument", {"depth": -1}, onDocument);
|
| +
|
| + function onDocument(response) {
|
| + var whitelist = ["transform", "transform-origin", "height", "width", "display", "outline-color"];
|
| + InspectorTest.sendCommandOrDie("CSS.getLayoutTreeAndStyles", {"computedStyleWhitelist": whitelist}, onLayoutTreeNodes);
|
| + }
|
|
|
| function onLayoutTreeNodes(response)
|
| {
|
|
|