diff options
Diffstat (limited to 'devtools/server/tests/xpcshell/test_breakpoint-12.js')
-rw-r--r-- | devtools/server/tests/xpcshell/test_breakpoint-12.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/server/tests/xpcshell/test_breakpoint-12.js b/devtools/server/tests/xpcshell/test_breakpoint-12.js index 44b524f1cf..05de46bb6f 100644 --- a/devtools/server/tests/xpcshell/test_breakpoint-12.js +++ b/devtools/server/tests/xpcshell/test_breakpoint-12.js @@ -23,7 +23,7 @@ add_task( ); const location = { line: debuggee.line0 + 3 }; - source.setBreakpoint(location).then(function ([response, bpClient]) { + source.setBreakpoint(location).then(function ([response]) { // Check that the breakpoint has properly skipped forward one line. Assert.equal(response.actualLocation.source.actor, source.actor); Assert.equal(response.actualLocation.line, location.line + 1); @@ -75,7 +75,7 @@ add_task( Assert.equal(debuggee.a, 1); Assert.equal(debuggee.b, undefined); - threadFront.once("paused", function (packet) { + threadFront.once("paused", function () { // We don't expect any more pauses after the breakpoint was hit once. Assert.ok(false); }); |