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; |