Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html |
index 4bf2d5d890607c2b7891b3b0b13c63664ad05b04..cef7eddce143c43bfe914212ba0869f835b784c9 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html |
@@ -7,9 +7,13 @@ |
function test() |
{ |
Runtime.experiments.enableForTest("resolveVariableNames"); |
- InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWaitUntilPaused()); |
+ InspectorTest.waitForScriptSource("resolve-identifiers.ts", onSourceMapLoaded); |
- InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeResolvedForTest", onAllScopesResolved, true); |
+ function onSourceMapLoaded() |
+ { |
+ InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWaitUntilPaused()); |
+ InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeResolvedForTest", onAllScopesResolved, true); |
+ } |
function onAllScopesResolved() |
{ |