summaryrefslogtreecommitdiffstats
path: root/dom/bindings/test/test_observablearray_helper.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/bindings/test/test_observablearray_helper.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/bindings/test/test_observablearray_helper.html')
-rw-r--r--dom/bindings/test/test_observablearray_helper.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/dom/bindings/test/test_observablearray_helper.html b/dom/bindings/test/test_observablearray_helper.html
index d2b4897cac..e2f3e42c45 100644
--- a/dom/bindings/test/test_observablearray_helper.html
+++ b/dom/bindings/test/test_observablearray_helper.html
@@ -110,7 +110,7 @@ add_task(function testObservableArray_helper_replaceElementAt_callback_throw() {
let deleteCallbackCount = 0;
let m = new TestInterfaceObservableArray({
- setBooleanCallback(value, index) {
+ setBooleanCallback(value) {
setCallbackCount++;
if (value) {
throw new Error("setBooleanCallback");
@@ -170,7 +170,7 @@ add_task(function testObservableArray_helper_appendElement() {
setCallbackTests(value, index);
}
},
- deleteBooleanCallback(value, index) {
+ deleteBooleanCallback() {
deleteCallbackCount++;
},
});
@@ -211,13 +211,13 @@ add_task(function testObservableArray_helper_appendElement_callback_throw() {
let deleteCallbackCount = 0;
let m = new TestInterfaceObservableArray({
- setBooleanCallback(value, index) {
+ setBooleanCallback(value) {
setCallbackCount++;
if (value) {
throw new Error("setBooleanCallback");
}
},
- deleteBooleanCallback(value, index) {
+ deleteBooleanCallback() {
deleteCallbackCount++;
},
});
@@ -257,7 +257,7 @@ add_task(function testObservableArray_helper_removeLastElement() {
let deleteCallbackTests = null;
let m = new TestInterfaceObservableArray({
- setBooleanCallback(value, index) {
+ setBooleanCallback() {
setCallbackCount++;
},
deleteBooleanCallback(value, index) {
@@ -316,10 +316,10 @@ add_task(function testObservableArray_helper_removeLastElement_callback_throw()
let deleteCallbackCount = 0;
let m = new TestInterfaceObservableArray({
- setBooleanCallback(value, index) {
+ setBooleanCallback() {
setCallbackCount++;
},
- deleteBooleanCallback(value, index) {
+ deleteBooleanCallback(value) {
deleteCallbackCount++;
if (value) {
throw new Error("deleteBooleanCallback");