diff --git a/toolkit/devtools/debugger/server/dbg-script-actors.js b/toolkit/devtools/debugger/server/dbg-script-actors.js index 135cedfd0f8..0a96956e573 100644 --- a/toolkit/devtools/debugger/server/dbg-script-actors.js +++ b/toolkit/devtools/debugger/server/dbg-script-actors.js @@ -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 = [];