summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_synthesized_response.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_synthesized_response.js')
-rw-r--r--netwerk/test/unit/test_synthesized_response.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/netwerk/test/unit/test_synthesized_response.js b/netwerk/test/unit/test_synthesized_response.js
index a598e649c4..e5a82405f2 100644
--- a/netwerk/test/unit/test_synthesized_response.js
+++ b/netwerk/test/unit/test_synthesized_response.js
@@ -45,10 +45,10 @@ function make_channel(url, body, cb) {
getInterface(iid) {
return this.QueryInterface(iid);
},
- onProgress(request, progress, progressMax) {
+ onProgress() {
gotOnProgress = true;
},
- onStatus(request, status, statusArg) {
+ onStatus() {
gotOnStatus = true;
},
shouldPrepareForIntercept() {
@@ -277,7 +277,7 @@ add_test(function () {
// In this case we should automatically ResetInterception() and complete the
// network request.
add_test(function () {
- var chan = make_channel(URL + "/body", null, function (channel) {
+ var chan = make_channel(URL + "/body", null, function () {
throw new Error("boom");
});
chan.asyncOpen(new ChannelListener(handle_remote_response, null));