Bug 823436 - Response errors when trying to load a source's text prevent global searches from displaying any results, r=past

This commit is contained in:
Victor Porof 2012-12-20 19:20:51 +02:00
parent 615ad5ef7c
commit 9837830335

View File

@ -1189,7 +1189,8 @@ SourceScripts.prototype = {
// Get the source text from the active thread.
this.activeThread.source(aSource.source).source(function(aResponse) {
if (aResponse.error) {
Cu.reportError("Error loading " + aUrl);
Cu.reportError("Error loading " + aSource.url + "\n" + aResponse.error);
aCallback(aSource.url, "");
return;
}
aSource.loaded = true;