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

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

Issue 2795193003: DevTools: carefully cleanup script UISourceCodes (Closed)
Patch Set: address comments Created 3 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
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 f611d11542ffb0dc1d3ea65c181917109f6688b1..a874845f7ba23382ed6d53c1f559c1276b4644e3 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
@@ -36,7 +36,7 @@ function test()
{
InspectorTest.addResult("compiled.js UISourceCode arrived");
originalUISourceCode = uiSourceCode;
- for (var s of Object.values(debuggerModel.scripts)) {
+ for (var s of debuggerModel.scripts()) {
if (s.sourceURL.endsWith("compiled.js")) {
InspectorTest.addResult("compiled.js script found");
script = s;
@@ -107,7 +107,7 @@ function test()
function compiledUISourceCodeAdded(uiSourceCode)
{
InspectorTest.addResult("compiled.js UISourceCode arrived");
- for (var s of Object.values(debuggerModel.scripts)) {
+ for (var s of debuggerModel.scripts()) {
if (s.sourceMapURL && s.sourceMapURL.startsWith("data:application")) {
InspectorTest.addResult("compiled.js script found");
script = s;

Powered by Google App Engine
This is Rietveld 408576698