summaryrefslogtreecommitdiffstats
path: root/toolkit/components/captivedetect/test/unit/test_abort.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/captivedetect/test/unit/test_abort.js')
-rw-r--r--toolkit/components/captivedetect/test/unit/test_abort.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/components/captivedetect/test/unit/test_abort.js b/toolkit/components/captivedetect/test/unit/test_abort.js
index 0e0a944f9b..5cb649b4c0 100644
--- a/toolkit/components/captivedetect/test/unit/test_abort.js
+++ b/toolkit/components/captivedetect/test/unit/test_abort.js
@@ -21,7 +21,7 @@ function xhr_handler(metadata, response) {
}
function fakeUIResponse() {
- Services.obs.addObserver(function observe(subject, topic, data) {
+ Services.obs.addObserver(function observe(subject, topic) {
if (topic === "captive-portal-login") {
do_throw("should not receive captive-portal-login event");
}
@@ -37,7 +37,7 @@ function test_abort() {
Assert.equal(++step, 1);
gCaptivePortalDetector.finishPreparation(kInterfaceName);
},
- complete: function complete(success) {
+ complete: function complete() {
do_throw("should not execute |complete| callback");
},
};