summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/xpcshell/testactors.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/tests/xpcshell/testactors.js')
-rw-r--r--devtools/server/tests/xpcshell/testactors.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/server/tests/xpcshell/testactors.js b/devtools/server/tests/xpcshell/testactors.js
index af208fe93e..bbcd8abe6e 100644
--- a/devtools/server/tests/xpcshell/testactors.js
+++ b/devtools/server/tests/xpcshell/testactors.js
@@ -166,7 +166,7 @@ class TestTargetActor extends protocol.Actor {
this._extraActors.threadActor = this.threadActor;
this.makeDebugger = makeDebugger.bind(null, {
findDebuggees: () => [this._global],
- shouldAddNewGlobalAsDebuggee: g => gAllowNewThreadGlobals,
+ shouldAddNewGlobalAsDebuggee: () => gAllowNewThreadGlobals,
});
this.dbg = this.makeDebugger();
this.notifyResources = this.notifyResources.bind(this);
@@ -216,12 +216,12 @@ class TestTargetActor extends protocol.Actor {
return { ...response, ...actors };
}
- detach(request) {
+ detach() {
this.threadActor.destroy();
return { type: "detached" };
}
- reload(request) {
+ reload() {
this.sourcesManager.reset();
this.threadActor.clearDebuggees();
this.threadActor.dbg.addDebuggees();