summaryrefslogtreecommitdiffstats
path: root/toolkit/components/mediasniffer
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/mediasniffer')
-rw-r--r--toolkit/components/mediasniffer/test/unit/test_mediasniffer.js4
-rw-r--r--toolkit/components/mediasniffer/test/unit/test_mediasniffer_ext.js4
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/mediasniffer/test/unit/test_mediasniffer.js b/toolkit/components/mediasniffer/test/unit/test_mediasniffer.js
index 12aa56a855..dc92c90a45 100644
--- a/toolkit/components/mediasniffer/test/unit/test_mediasniffer.js
+++ b/toolkit/components/mediasniffer/test/unit/test_mediasniffer.js
@@ -71,7 +71,7 @@ var listener = {
);
},
- onDataAvailable(request, stream, offset, count) {
+ onDataAvailable(request, stream) {
try {
var bis = Cc["@mozilla.org/binaryinputstream;1"].createInstance(
Ci.nsIBinaryInputStream
@@ -83,7 +83,7 @@ var listener = {
}
},
- onStopRequest(request, status) {
+ onStopRequest() {
testRan++;
runNext();
},
diff --git a/toolkit/components/mediasniffer/test/unit/test_mediasniffer_ext.js b/toolkit/components/mediasniffer/test/unit/test_mediasniffer_ext.js
index f48ffbb75a..5b6b400ed1 100644
--- a/toolkit/components/mediasniffer/test/unit/test_mediasniffer_ext.js
+++ b/toolkit/components/mediasniffer/test/unit/test_mediasniffer_ext.js
@@ -61,7 +61,7 @@ var listener = {
);
},
- onDataAvailable(request, stream, offset, count) {
+ onDataAvailable(request, stream) {
try {
var bis = Cc["@mozilla.org/binaryinputstream;1"].createInstance(
Ci.nsIBinaryInputStream
@@ -73,7 +73,7 @@ var listener = {
}
},
- onStopRequest(request, status) {
+ onStopRequest() {
testRan++;
runNext();
},