Bug 903801 - testcompatactors.js triggers an error by adding a debuggee to a thread actor in a detached state; r=past

This commit is contained in:
Nick Fitzgerald 2013-08-13 16:53:49 -07:00
parent e3c63e070e
commit b1813995f5

View File

@ -10,9 +10,7 @@ function createRootActor()
this._tabActors = [];
for each (let g in gTestGlobals) {
let actor = new BrowserTabActor(this.conn);
actor.thread = new ThreadActor({});
actor.thread.addDebuggee(g);
actor.thread.global = g;
actor.thread = new ThreadActor({}, g);
actor.json = function() {
return { actor: actor.actorID,