| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
|
| index 7dc82c5b4d77f5642e6957d7ca6c45eed67be459..b2864310d4550c16066c2369436bb0fea01a8c4b 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/watch-expressions-panel-switch.html
|
| @@ -24,13 +24,13 @@ var test = function()
|
| function step1()
|
| {
|
| watchExpressionsPane = WebInspector.panels.sources.sidebarPanes.watchExpressions;
|
| - watchExpressionsPane.revealWidget();
|
| - watchExpressionsPane.addExpression("window.document");
|
| - watchExpressionsPane.addExpression("windowa.document");
|
| -
|
| - var testName = InspectorTest.mainTarget.inspectedURL();
|
| - testName = testName.substring(testName.lastIndexOf('/') + 1);
|
| - InspectorTest.showScriptSource(testName, didShowScriptSource);
|
| + watchExpressionsPane.revealView().then(() => {
|
| + watchExpressionsPane.addExpression("window.document");
|
| + watchExpressionsPane.addExpression("windowa.document");
|
| + var testName = InspectorTest.mainTarget.inspectedURL();
|
| + testName = testName.substring(testName.lastIndexOf('/') + 1);
|
| + InspectorTest.showScriptSource(testName, didShowScriptSource);
|
| + });
|
| }
|
|
|
| function didShowScriptSource(sourceFrame)
|
|
|