| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-url-comment.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-url-comment.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-url-comment.html
|
| index 259533df15f90d16fb32c7bdf845d5e1008ca907..75e32f35b852fd3d5009f31de935fcafa3a4bb21 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-url-comment.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-url-comment.html
|
| @@ -54,10 +54,9 @@ function test()
|
| {
|
| function forEachScriptMatchingURL(url, handler)
|
| {
|
| - var scripts = InspectorTest.debuggerModel._scripts;
|
| - for (var id in scripts) {
|
| - if (scripts[id].sourceURL.indexOf(url) !== -1)
|
| - handler(scripts[id]);
|
| + for (var script of InspectorTest.debuggerModel.scripts()) {
|
| + if (script.sourceURL.indexOf(url) !== -1)
|
| + handler(script);
|
| }
|
| }
|
|
|
|
|