Chromium Code Reviews

Unified Diff: LayoutTests/http/tests/inspector/debugger-test.js

Issue 11876015: Merge 139416 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | LayoutTests/inspector/debugger/debugger-scripts-reload.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/debugger-test.js
===================================================================
--- LayoutTests/http/tests/inspector/debugger-test.js (revision 139598)
+++ LayoutTests/http/tests/inspector/debugger-test.js (working copy)
@@ -284,7 +284,7 @@
var scripts = [];
for (var scriptId in WebInspector.debuggerModel._scripts) {
var script = WebInspector.debuggerModel._scripts[scriptId];
- if (filter(script))
+ if (!filter || filter(script))
scripts.push(script);
}
return scripts;
« no previous file with comments | « no previous file | LayoutTests/inspector/debugger/debugger-scripts-reload.html » ('j') | no next file with comments »

Powered by Google App Engine