| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
|
| index 9c302a8703a6b397c5a7b3d2c173b7d7f4fb2f68..ffcbfb398e53c4fd91d991e8936de4b382b382ca 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
|
| @@ -47,19 +47,24 @@ function testFunction()
|
|
|
| function test()
|
| {
|
| - InspectorTest.startDebuggerTest(step1);
|
| + InspectorTest.startDebuggerTest(onTestStarted);
|
|
|
| - function step1()
|
| + function onTestStarted()
|
| {
|
| - InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
|
| + InspectorTest.runTestFunctionAndWaitUntilPaused(onDebuggerPaused);
|
| }
|
|
|
| - function step2()
|
| + function onDebuggerPaused()
|
| {
|
| - InspectorTest.expandScopeVariablesSidebarPane(step3);
|
| + InspectorTest.addSniffer(WebInspector.ScopeChainSidebarPane.prototype, "_sidebarPaneUpdatedForTest", onSidebarRendered, true);
|
| }
|
|
|
| - function step3()
|
| + function onSidebarRendered()
|
| + {
|
| + InspectorTest.expandScopeVariablesSidebarPane(onScopeVariablesExpanded);
|
| + }
|
| +
|
| + function onScopeVariablesExpanded()
|
| {
|
| InspectorTest.addResult("");
|
| InspectorTest.dumpScopeVariablesSidebarPane();
|
|
|