summaryrefslogtreecommitdiffstats
path: root/dom/promise/tests/test_bug883683.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /dom/promise/tests/test_bug883683.html
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/promise/tests/test_bug883683.html')
-rw-r--r--dom/promise/tests/test_bug883683.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/promise/tests/test_bug883683.html b/dom/promise/tests/test_bug883683.html
index 1b31e32330..b2f776fe53 100644
--- a/dom/promise/tests/test_bug883683.html
+++ b/dom/promise/tests/test_bug883683.html
@@ -23,10 +23,10 @@ function runTest() {
[{}, {}, {}, {}, {}].reduce(Promise.resolve.bind(Promise));
ok(true, "No leaks with resolve?");
- [{}, {}, {}, {}, {}].reduce(function(a, b, c, d) { return new Promise(function(r1, r2) { throw a; }); });
+ [{}, {}, {}, {}, {}].reduce(function(a) { return new Promise(function() { throw a; }); });
ok(true, "No leaks with exception?");
- [{}, {}, {}, {}, {}].reduce(function(a, b, c, d) { return new Promise(function(r1, r2) { }); });
+ [{}, {}, {}, {}, {}].reduce(function() { return new Promise(function() { }); });
ok(true, "No leaks with empty promise?");
SimpleTest.finish();