Bug 956376 - Part 3: Use Debugger.findSources in PromisesActor#attach. r=ochameau

This commit is contained in:
Tooru Fujisawa 2018-08-23 09:27:31 +09:00
parent a64277c15d
commit 9e5866ba73

View File

@ -65,8 +65,8 @@ var PromisesActor = protocol.ActorClassWithSpec(promisesSpec, {
this._newPromises = [];
this._promisesSettled = [];
this.dbg.findScripts().forEach(s => {
this.parentActor.sources.createSourceActors(s.source);
this.dbg.findSources().forEach(source => {
this.parentActor.sources.createSourceActors(source);
});
this.dbg.onNewScript = s => {