From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- toolkit/components/mediasniffer/test/unit/test_mediasniffer.js | 4 ++-- toolkit/components/mediasniffer/test/unit/test_mediasniffer_ext.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'toolkit/components/mediasniffer/test') 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(); }, -- cgit v1.2.3