Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-reload-on-pause.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html |
similarity index 58% |
copy from third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-reload-on-pause.html |
copy to third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html |
index 511553ec4fb00926a7707a4d58bc69df6ed6018d..eaf6f056cec8fd65b185a6b60c5bdb7b2d8fa663 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-reload-on-pause.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html |
@@ -2,15 +2,11 @@ |
<head> |
<script src="../../../http/tests/inspector/inspector-test.js"></script> |
<script src="../../../http/tests/inspector/debugger-test.js"></script> |
+<script src="resources/resolve-variable-names-compressed.js"></script> |
<script> |
- |
-function testFunction() |
-{ |
- debugger; |
-} |
- |
-var test = function() |
+function test() |
{ |
+ Runtime.experiments.enableForTest("resolveVariableNames"); |
InspectorTest.startDebuggerTest(step1); |
function step1() |
@@ -20,11 +16,13 @@ var test = function() |
function step2() |
{ |
- InspectorTest.reloadPage(step3); |
+ InspectorTest.expandScopeVariablesSidebarPane(step3); |
} |
function step3() |
{ |
+ InspectorTest.addResult(""); |
+ InspectorTest.dumpScopeVariablesSidebarPane(); |
InspectorTest.completeDebuggerTest(); |
} |
} |
@@ -34,8 +32,7 @@ var test = function() |
<body onload="runTest()"> |
<p> |
-Tests "reload" from within inspector window while on pause. |
+Tests resolving variable names via source maps. |
</p> |
- |
</body> |
</html> |