Chromium Code Reviews| 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 54% |
| 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..6194afcf7b3e55599e1322293eb5d04b77f58bd2 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(); |
| } |
| } |
| @@ -33,9 +31,9 @@ var test = function() |
| </head> |
| <body onload="runTest()"> |
| +<input type='button' onclick='testFunction()' value='Test'/> |
|
dgozman
2016/02/22 17:24:56
Remove this?
sergeyv
2016/02/22 21:42:54
Done.
|
| <p> |
| -Tests "reload" from within inspector window while on pause. |
| +Tests resolving variable names via source maps. |
| </p> |
| - |
| </body> |
| </html> |