diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /dom/bindings/test/test_observablearray.html | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-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/bindings/test/test_observablearray.html')
-rw-r--r-- | dom/bindings/test/test_observablearray.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dom/bindings/test/test_observablearray.html b/dom/bindings/test/test_observablearray.html index 313fb67622..56e35eeca5 100644 --- a/dom/bindings/test/test_observablearray.html +++ b/dom/bindings/test/test_observablearray.html @@ -21,7 +21,7 @@ add_task(function testObservableArray_length() { let deleteCallbackTests = null; let m = new TestInterfaceObservableArray({ - setBooleanCallback(value, index) { + setBooleanCallback() { setCallbackCount++; }, deleteBooleanCallback(value, index) { @@ -82,10 +82,10 @@ add_task(function testObservableArray_length_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"); @@ -268,7 +268,7 @@ add_task(function testObservableArray_setter_callback_throw() { throw new Error("setBooleanCallback"); } }, - deleteBooleanCallback(value, index) { + deleteBooleanCallback(value) { deleteCallbackCount++; if (value) { throw new Error("deleteBooleanCallback"); @@ -437,7 +437,7 @@ add_task(function testObservableArray_indexed_setter_callback_throw() { let deleteCallbackCount = 0; let m = new TestInterfaceObservableArray({ - setBooleanCallback(value, index) { + setBooleanCallback(value) { setCallbackCount++; if (value) { throw new Error("setBooleanCallback"); @@ -501,7 +501,7 @@ add_task(function testObservableArray_object() { is(index, callbackIndex++, "setCallbackTests: test index argument"); isDeeply(values[index], value, "setCallbackTests: test value argument"); }, - deleteObjectCallback(value, index) { + deleteObjectCallback() { deleteCallbackCount++; }, }); @@ -521,10 +521,10 @@ add_task(function testObservableArray_object() { add_task(function testObservableArray_xrays() { let m = new TestInterfaceObservableArray({ - setObjectCallback(value, index) { + setObjectCallback() { ok(false, "Shouldn't reach setObjectCallback"); }, - deleteObjectCallback(value, index) { + deleteObjectCallback() { ok(false, "Shouldn't reach deleteObjectCallback"); }, }); |