| Index: third_party/WebKit/LayoutTests/inspector/elements/elements-inspect-iframe-from-different-domain.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/elements/elements-inspect-iframe-from-different-domain.html b/third_party/WebKit/LayoutTests/inspector/elements/elements-inspect-iframe-from-different-domain.html
|
| index 707154824992b84f65bfa1b7224e91b6ab2e9396..3a9ef5ae99e680ac15685a72a50b5a2d1d70f07f 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/elements/elements-inspect-iframe-from-different-domain.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/elements/elements-inspect-iframe-from-different-domain.html
|
| @@ -52,7 +52,8 @@ function test()
|
| InspectorTest.addResult("PASS: selected node with id '" + id + "'");
|
| else
|
| InspectorTest.addResult("FAIL: unexpected selection " + id);
|
| - InspectorTest.evaluateInConsole("inspect(el2)", step4);
|
| + // Frame was changed to the iframe. Moving back to the top frame.
|
| + InspectorTest.evaluateInConsole("inspect(window.frameElement.parentElement)", step4);
|
| }
|
|
|
| function step4()
|
| @@ -62,6 +63,16 @@ function test()
|
|
|
| function step5()
|
| {
|
| + InspectorTest.evaluateInConsole("inspect(el2)", step6);
|
| + }
|
| +
|
| + function step6()
|
| + {
|
| + InspectorTest.runAfterPendingDispatches(step7);
|
| + }
|
| +
|
| + function step7()
|
| + {
|
| var id = selectedNodeId();
|
| if (id === "iframe-div")
|
| InspectorTest.addResult("PASS: selected node with id '" + id + "'");
|
|
|