| Index: third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| index d36a55e937c51ac735ea41dcf12574174acabc61..e3f5b2e29365a29084d9942e6d9a810a5081d899 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js
|
| @@ -574,13 +574,8 @@ InspectorTest.setQuiet = function(quiet)
|
|
|
| InspectorTest.queryScripts = function(filter)
|
| {
|
| - var scripts = [];
|
| - for (var scriptId in InspectorTest.debuggerModel._scripts) {
|
| - var script = InspectorTest.debuggerModel._scripts[scriptId];
|
| - if (!filter || filter(script))
|
| - scripts.push(script);
|
| - }
|
| - return scripts;
|
| + var scripts = InspectorTest.debuggerModel.scripts();
|
| + return filter ? scripts.filter(filter) : scripts;
|
| };
|
|
|
| InspectorTest.createScriptMock = function(url, startLine, startColumn, isContentScript, source, target, preRegisterCallback)
|
|
|