Bug 739995 - Intermittent test failures in browser_dbg_bug723069_editor-breakpoints.js and others | Found the expected number of scripts. - Got 3, expected 2, followed by other errors; r=rcampbell

This commit is contained in:
Panos Astithas 2012-03-30 11:26:08 +03:00
parent 9436803818
commit e0c0fd9637

View File

@ -498,7 +498,9 @@ ThreadActor.prototype = {
onScripts: function TA_onScripts(aRequest) {
// Get the script list from the debugger.
for (let s of this.dbg.findScripts()) {
this._addScript(s);
if (s.url.indexOf("chrome://") != 0) {
this._addScript(s);
}
}
// Build the cache.
let scripts = [];