Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html

Issue 1653053002: Devtools: parse variables scopes and sourcemap them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698