Index: Source/devtools/front_end/Tests.js |
diff --git a/Source/devtools/front_end/Tests.js b/Source/devtools/front_end/Tests.js |
index 11711016fc1f2c8aa96ad9da341bebace5a4ed0b..deb90064935e6ec645c64beff204323b5c935b07 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, "_addUISourceCode", waitForAllScripts); |
+ test.addSniffer(WebInspector.panels.sources.sourcesEditor(), "_addUISourceCode", waitForAllScripts); |
} |
waitForAllScripts(); |