summaryrefslogtreecommitdiffstats
path: root/netwerk/test/unit/test_content_sniffer.js
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/test/unit/test_content_sniffer.js')
-rw-r--r--netwerk/test/unit/test_content_sniffer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/test/unit/test_content_sniffer.js b/netwerk/test/unit/test_content_sniffer.js
index 26fb55cece..7b109019cd 100644
--- a/netwerk/test/unit/test_content_sniffer.js
+++ b/netwerk/test/unit/test_content_sniffer.js
@@ -27,7 +27,7 @@ var sniffer = {
return this.QueryInterface(iid);
},
- getMIMETypeFromContent(request, data, length) {
+ getMIMETypeFromContent() {
return sniffedType;
},
};
@@ -72,7 +72,7 @@ var listener = {
throw Components.Exception("", Cr.NS_ERROR_UNEXPECTED);
},
- onStopRequest: function test_onStopR(request, status) {
+ onStopRequest: function test_onStopR() {
run_test_iteration(this._iteration);
do_test_finished();
},