summaryrefslogtreecommitdiffstats
path: root/dom/xhr/tests/temporaryFileBlob.sjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/xhr/tests/temporaryFileBlob.sjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-upstream/125.0.1.tar.xz
firefox-upstream/125.0.1.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/xhr/tests/temporaryFileBlob.sjs')
-rw-r--r--dom/xhr/tests/temporaryFileBlob.sjs4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/xhr/tests/temporaryFileBlob.sjs b/dom/xhr/tests/temporaryFileBlob.sjs
index d952b325ce..151c05a231 100644
--- a/dom/xhr/tests/temporaryFileBlob.sjs
+++ b/dom/xhr/tests/temporaryFileBlob.sjs
@@ -28,7 +28,7 @@ function handleRequest(request, response) {
bos.writeByteArray(part);
response.timer1 = new Timer(
- function (timer) {
+ function () {
bos.writeByteArray(bodyBytes);
},
1000,
@@ -36,7 +36,7 @@ function handleRequest(request, response) {
);
response.timer2 = new Timer(
- function (timer) {
+ function () {
response.finish();
},
2000,