summaryrefslogtreecommitdiffstats
path: root/devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js')
-rw-r--r--devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js b/devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js
index e08c2380fb..1e847f8012 100644
--- a/devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js
+++ b/devtools/shared/transport/tests/xpcshell/test_dbgsocket_connection_drop.js
@@ -66,7 +66,7 @@ var test_helper = async function (payload) {
});
return new Promise(resolve => {
transport.hooks = {
- onPacket(packet) {
+ onPacket() {
this.onPacket = function () {
do_throw(new Error("This connection should be dropped."));
transport.close();
@@ -76,7 +76,7 @@ var test_helper = async function (payload) {
transport._outgoing.push(new RawPacket(transport, payload));
transport._flushOutgoing();
},
- onTransportClosed(status) {
+ onTransportClosed() {
Assert.ok(true);
resolve();
},