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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html

Issue 2887413003: [DevTools] fix name for module scope in scopes sidebar pane (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
index 30caa01a59cc139a045171d8eaa4a1f678502463..8582e4ee7158510687cccfc5125e8dc423d88e71 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.html
@@ -2,13 +2,13 @@
<head>
<script src="../../../http/tests/inspector/inspector-test.js"></script>
<script src="../../../http/tests/inspector/debugger-test.js"></script>
-<script>
+<script type="module">
"use strict";
let globalLet = 41;
const globalConst = 42;
-function makeClosure(n)
+window.makeClosure = function(n)
{
let makeClosureBlockVar = "block." + n;
var makeClosureLocalVar = "local." + n;
@@ -38,13 +38,18 @@ function makeClosure(n)
}
}
}
+</script>
+<script>
+let globalScriptLet = 41;
+const globalScriptConst = 42;
function testFunction()
{
var f = makeClosure("TextParam");
f(2014);
}
-
+</script>
+<script>
function test()
{
InspectorTest.startDebuggerTest(onTestStarted);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698