summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_suspend_channel_on_examine.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_suspend_channel_on_examine.js')
-rw-r--r--netwerk/test/unit/test_suspend_channel_on_examine.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/test/unit/test_suspend_channel_on_examine.js b/netwerk/test/unit/test_suspend_channel_on_examine.js
index 7667026a56..0dd36be28f 100644
--- a/netwerk/test/unit/test_suspend_channel_on_examine.js
+++ b/netwerk/test/unit/test_suspend_channel_on_examine.js
@@ -19,7 +19,7 @@ function responseHandler(metadata, response) {
function onExamineListener(callback) {
obs.addObserver(
{
- observe(subject, topic, data) {
+ observe(subject) {
obs.removeObserver(this, "http-on-examine-response");
callback(subject.QueryInterface(Ci.nsIHttpChannel));
},
@@ -48,7 +48,7 @@ add_test(function testAsyncCancel() {
chan.resume();
});
});
- startChannelRequest(baseUrl, CL_EXPECT_FAILURE, (request, data, context) => {
+ startChannelRequest(baseUrl, CL_EXPECT_FAILURE, (request, data) => {
Assert.ok(!data, "no response");
Assert.equal(