summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_bug282432.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_bug282432.js')
-rw-r--r--netwerk/test/unit/test_bug282432.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/test/unit/test_bug282432.js b/netwerk/test/unit/test_bug282432.js
index 5e6e7a19b6..1dc8d890fa 100644
--- a/netwerk/test/unit/test_bug282432.js
+++ b/netwerk/test/unit/test_bug282432.js
@@ -11,7 +11,7 @@ function run_test() {
"nsIRequestObserver",
]),
- onStartRequest(aRequest) {},
+ onStartRequest() {},
onStopRequest(aRequest, aStatusCode) {
// Make sure we can catch the error NS_ERROR_FILE_NOT_FOUND here.
@@ -19,7 +19,7 @@ function run_test() {
do_test_finished();
},
- onDataAvailable(aRequest, aStream, aOffset, aCount) {
+ onDataAvailable() {
do_throw("The channel must not call onDataAvailable().");
},
};