| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html
|
| index f68dd9755a5bb13a49b85d725a23b3f225449ff9..17c9d357eb926a8ef0affe987f06ab83af6c7466 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html
|
| @@ -7,11 +7,15 @@
|
| function test()
|
| {
|
| Runtime.experiments.enableForTest("resolveVariableNames");
|
| - InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWaitUntilPaused());
|
| + InspectorTest.waitForScriptSource("resolve-variable-names-origin.js", onSourceMapLoaded);
|
|
|
| - var resolvedScopes = 0;
|
| - InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeResolvedForTest", onScopeResolved, true);
|
| + function onSourceMapLoaded()
|
| + {
|
| + InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWaitUntilPaused());
|
| + InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeResolvedForTest", onScopeResolved, true);
|
| + }
|
|
|
| + var resolvedScopes = 0;
|
| function onScopeResolved()
|
| {
|
| if (++resolvedScopes === 2)
|
|
|