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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html

Issue 2371133003: [Devtools] Lazily build reverse mappings (Closed)
Patch Set: Make all parsing lazy. Created 4 years, 3 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/http/tests/inspector/compiler-script-mapping.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
index 528c6afab6237c784a507e471d1dfd01e07c66a8..c7c3122ad6107928f9177b9b1b4b9e15349e73f3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/compiler-script-mapping.html
@@ -150,7 +150,7 @@ function test()
}
]};
var mapping = new WebInspector.TextSourceMap("compiled.js", "source-map.json", mappingPayload);
- InspectorTest.assertEquals(2, mapping.sourceURLs().length);
+ InspectorTest.assertEquals(2, Array.from(mapping.sourceURLs()).length);
checkMapping(0, 0, "source1.js", 0, 0, mapping);
checkMapping(0, 1, "source1.js", 2, 1, mapping);
checkMapping(2, 10, "source2.js", 0, 0, mapping);

Powered by Google App Engine
This is Rietveld 408576698