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-resolve-identifiers.html

Issue 1887913002: DevTools: improve identifier extraction in SourceMapNamesResolver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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-scope-resolve-identifiers-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-scope-resolve-identifiers.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html
similarity index 75%
copy from third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html
copy to third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html
index f68dd9755a5bb13a49b85d725a23b3f225449ff9..4bf2d5d890607c2b7891b3b0b13c63664ad05b04 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html
@@ -2,21 +2,14 @@
<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 src="resources/resolve-identifiers.js"></script>
<script>
function test()
{
Runtime.experiments.enableForTest("resolveVariableNames");
InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWaitUntilPaused());
- var resolvedScopes = 0;
- InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeResolvedForTest", onScopeResolved, true);
-
- function onScopeResolved()
- {
- if (++resolvedScopes === 2)
- onAllScopesResolved();
- }
+ InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeResolvedForTest", onAllScopesResolved, true);
function onAllScopesResolved()
{
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698