summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/dom/observable
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /testing/web-platform/meta/dom/observable
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/dom/observable')
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-every.any.js.ini62
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-filter.any.js.ini6
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-find.any.js.ini38
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-inspect.any.js.ini80
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-some.any.js.ini44
5 files changed, 230 insertions, 0 deletions
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-every.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-every.any.js.ini
new file mode 100644
index 0000000000..bcf426a807
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-every.any.js.ini
@@ -0,0 +1,62 @@
+[observable-every.any.html]
+ [every(): Promise resolves to true if all values pass the predicate]
+ expected: FAIL
+
+ [every(): Promise resolves to false if any value fails the predicate]
+ expected: FAIL
+
+ [every(): Abort the subscription to the source if the predicate does not pass]
+ expected: FAIL
+
+ [every(): Lifecycle checks when all values pass the predicate]
+ expected: FAIL
+
+ [every(): Lifecycle checks when any value fails the predicate]
+ expected: FAIL
+
+ [every(): Resolves with true if the observable completes without emitting a value]
+ expected: FAIL
+
+ [every(): Rejects with any error emitted from the source observable]
+ expected: FAIL
+
+ [every(): Rejects with any error thrown from the predicate]
+ expected: FAIL
+
+ [every(): Index is passed into the predicate]
+ expected: FAIL
+
+ [every(): Rejects with a DOMException if the source Observable is aborted]
+ expected: FAIL
+
+
+[observable-every.any.worker.html]
+ [every(): Promise resolves to true if all values pass the predicate]
+ expected: FAIL
+
+ [every(): Promise resolves to false if any value fails the predicate]
+ expected: FAIL
+
+ [every(): Abort the subscription to the source if the predicate does not pass]
+ expected: FAIL
+
+ [every(): Lifecycle checks when all values pass the predicate]
+ expected: FAIL
+
+ [every(): Lifecycle checks when any value fails the predicate]
+ expected: FAIL
+
+ [every(): Resolves with true if the observable completes without emitting a value]
+ expected: FAIL
+
+ [every(): Rejects with any error emitted from the source observable]
+ expected: FAIL
+
+ [every(): Rejects with any error thrown from the predicate]
+ expected: FAIL
+
+ [every(): Index is passed into the predicate]
+ expected: FAIL
+
+ [every(): Rejects with a DOMException if the source Observable is aborted]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-filter.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-filter.any.js.ini
index 996a85a908..e813df1744 100644
--- a/testing/web-platform/meta/dom/observable/tentative/observable-filter.any.js.ini
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-filter.any.js.ini
@@ -14,6 +14,9 @@
[filter(): Upon source completion, source Observable teardown sequence happens after downstream filter complete() is called]
expected: FAIL
+ [filter(): Index is passed correctly to predicate]
+ expected: FAIL
+
[observable-filter.any.html]
[filter(): Returned Observable filters out results based on predicate]
@@ -30,3 +33,6 @@
[filter(): Upon source completion, source Observable teardown sequence happens after downstream filter complete() is called]
expected: FAIL
+
+ [filter(): Index is passed correctly to predicate]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-find.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-find.any.js.ini
new file mode 100644
index 0000000000..719eaa35c4
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-find.any.js.ini
@@ -0,0 +1,38 @@
+[observable-find.any.worker.html]
+ [find(): Promise resolves with the first value that passes the predicate]
+ expected: FAIL
+
+ [find(): Promise resolves with undefined if no value passes the predicate]
+ expected: FAIL
+
+ [find(): Promise rejects with the error emitted from the source Observable]
+ expected: FAIL
+
+ [find(): Promise rejects with any error thrown from the predicate]
+ expected: FAIL
+
+ [find(): Passes the index of the value to the predicate]
+ expected: FAIL
+
+ [find(): Rejects with AbortError when the signal is aborted]
+ expected: FAIL
+
+
+[observable-find.any.html]
+ [find(): Promise resolves with the first value that passes the predicate]
+ expected: FAIL
+
+ [find(): Promise resolves with undefined if no value passes the predicate]
+ expected: FAIL
+
+ [find(): Promise rejects with the error emitted from the source Observable]
+ expected: FAIL
+
+ [find(): Promise rejects with any error thrown from the predicate]
+ expected: FAIL
+
+ [find(): Passes the index of the value to the predicate]
+ expected: FAIL
+
+ [find(): Rejects with AbortError when the signal is aborted]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-inspect.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-inspect.any.js.ini
new file mode 100644
index 0000000000..467445ed86
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-inspect.any.js.ini
@@ -0,0 +1,80 @@
+[observable-inspect.any.worker.html]
+ [inspect(): Provides a pre-subscription subscribe callback]
+ expected: FAIL
+
+ [inspect(): Provides a way to tap into the values and completions of the source observable using an observer]
+ expected: FAIL
+
+ [inspect(): Error handler does not stop error from being reported to the global, when subscriber does not pass error handler]
+ expected: FAIL
+
+ [inspect(): Provides a way to tap into the values and errors of the source observable using an observer. Errors are passed through]
+ expected: FAIL
+
+ [inspect(): ObserverCallback passed in]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the observer next handler is caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the observer error handler in inspect() is caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the observer complete handler is caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the next handler function in do should be caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Errors thrown in subscribe() Inspector handler subscribe handler are caught and sent to error callback]
+ expected: FAIL
+
+ [inspect(): Provides a way to tap into the moment a source observable is unsubscribed from]
+ expected: FAIL
+
+ [inspect(): Inspector abort() handler is not called if the source completes before the result is unsubscribed from]
+ expected: FAIL
+
+ [inspect(): Errors thrown from inspect()'s abort() handler are caught and reported to the global, because the subscription is already closed by the time the handler runs]
+ expected: FAIL
+
+
+[observable-inspect.any.html]
+ [inspect(): Provides a pre-subscription subscribe callback]
+ expected: FAIL
+
+ [inspect(): Provides a way to tap into the values and completions of the source observable using an observer]
+ expected: FAIL
+
+ [inspect(): Error handler does not stop error from being reported to the global, when subscriber does not pass error handler]
+ expected: FAIL
+
+ [inspect(): Provides a way to tap into the values and errors of the source observable using an observer. Errors are passed through]
+ expected: FAIL
+
+ [inspect(): ObserverCallback passed in]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the observer next handler is caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the observer error handler in inspect() is caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the observer complete handler is caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Throwing an error in the next handler function in do should be caught and sent to the error callback of the result observable]
+ expected: FAIL
+
+ [inspect(): Errors thrown in subscribe() Inspector handler subscribe handler are caught and sent to error callback]
+ expected: FAIL
+
+ [inspect(): Provides a way to tap into the moment a source observable is unsubscribed from]
+ expected: FAIL
+
+ [inspect(): Inspector abort() handler is not called if the source completes before the result is unsubscribed from]
+ expected: FAIL
+
+ [inspect(): Errors thrown from inspect()'s abort() handler are caught and reported to the global, because the subscription is already closed by the time the handler runs]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-some.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-some.any.js.ini
new file mode 100644
index 0000000000..12776e6465
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-some.any.js.ini
@@ -0,0 +1,44 @@
+[observable-some.any.html]
+ [some(): subscriber is inactive after the first value that passes the predicate, because the source was unsubscribed from]
+ expected: FAIL
+
+ [observable-some]
+ expected: FAIL
+
+ [observable-some 1]
+ expected: FAIL
+
+ [some(): The returned promise rejects with an error if the predicate errors]
+ expected: FAIL
+
+ [some(): The returned promise rejects with an error if the source observable errors]
+ expected: FAIL
+
+ [some(): The returned promise resolves as false if the source observable completes without emitting a value]
+ expected: FAIL
+
+ [some(): The return promise rejects with a DOMException if the signal is aborted]
+ expected: FAIL
+
+
+[observable-some.any.worker.html]
+ [some(): subscriber is inactive after the first value that passes the predicate, because the source was unsubscribed from]
+ expected: FAIL
+
+ [observable-some]
+ expected: FAIL
+
+ [observable-some 1]
+ expected: FAIL
+
+ [some(): The returned promise rejects with an error if the predicate errors]
+ expected: FAIL
+
+ [some(): The returned promise rejects with an error if the source observable errors]
+ expected: FAIL
+
+ [some(): The returned promise resolves as false if the source observable completes without emitting a value]
+ expected: FAIL
+
+ [some(): The return promise rejects with a DOMException if the signal is aborted]
+ expected: FAIL