Index: LayoutTests/http/tests/inspector/debugger-test.js |
diff --git a/LayoutTests/http/tests/inspector/debugger-test.js b/LayoutTests/http/tests/inspector/debugger-test.js |
index 0dde59f0a3e2a6e9fe65ad9212e138c63bb686ee..6134cbb51494dc3d68888fc8b495b26912a823a5 100644 |
--- a/LayoutTests/http/tests/inspector/debugger-test.js |
+++ b/LayoutTests/http/tests/inspector/debugger-test.js |
@@ -311,6 +311,8 @@ InspectorTest.waitForScriptSource = function(scriptName, callback) |
var panel = WebInspector.panels.sources; |
var uiSourceCodes = panel._workspace.uiSourceCodes(); |
for (var i = 0; i < uiSourceCodes.length; ++i) { |
+ if (uiSourceCodes[i].project().type() === WebInspector.projectTypes.Service) |
+ continue; |
if (uiSourceCodes[i].name() === scriptName) { |
callback(uiSourceCodes[i]); |
return; |