Index: Source/devtools/front_end/Tests.js |
diff --git a/Source/devtools/front_end/Tests.js b/Source/devtools/front_end/Tests.js |
index deb90064935e6ec645c64beff204323b5c935b07..0d87046bea9aca0cfc84e1db39e4a64e19c6ab03 100644 |
--- a/Source/devtools/front_end/Tests.js |
+++ b/Source/devtools/front_end/Tests.js |
@@ -898,7 +898,7 @@ TestSuite.prototype._waitUntilScriptsAreParsed = function(expectedScripts, callb |
if (test._scriptsAreParsed(expectedScripts)) |
callback(); |
else |
- test.addSniffer(WebInspector.panels.sources.sourcesEditor(), "_addUISourceCode", waitForAllScripts); |
+ test.addSniffer(WebInspector.panels.sources.sourcesView(), "_addUISourceCode", waitForAllScripts); |
} |
waitForAllScripts(); |