summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/dom/observable
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /testing/web-platform/meta/dom/observable
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.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-first.any.js.ini32
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-flatMap.any.js.ini44
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-from.any.js.ini80
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-last.any.js.ini32
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-switchMap.any.js.ini38
5 files changed, 226 insertions, 0 deletions
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-first.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-first.any.js.ini
new file mode 100644
index 0000000000..482e1b5a31
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-first.any.js.ini
@@ -0,0 +1,32 @@
+[observable-first.any.worker.html]
+ [first(): Promise resolves with the first value from the source Observable]
+ expected: FAIL
+
+ [first(): Promise rejects with the error emitted from the source Observable]
+ expected: FAIL
+
+ [first(): Promise rejects with RangeError when source Observable completes without emitting any values]
+ expected: FAIL
+
+ [first(): Aborting a signal rejects the Promise with an AbortError DOMException]
+ expected: FAIL
+
+ [first(): Lifecycle]
+ expected: FAIL
+
+
+[observable-first.any.html]
+ [first(): Promise resolves with the first value from the source Observable]
+ expected: FAIL
+
+ [first(): Promise rejects with the error emitted from the source Observable]
+ expected: FAIL
+
+ [first(): Promise rejects with RangeError when source Observable completes without emitting any values]
+ expected: FAIL
+
+ [first(): Aborting a signal rejects the Promise with an AbortError DOMException]
+ expected: FAIL
+
+ [first(): Lifecycle]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-flatMap.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-flatMap.any.js.ini
new file mode 100644
index 0000000000..cee60282b1
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-flatMap.any.js.ini
@@ -0,0 +1,44 @@
+[observable-flatMap.any.html]
+ [flatMap(): Flattens simple source Observable properly]
+ expected: FAIL
+
+ [flatMap(): Returned Observable passes through source Observable errors]
+ expected: FAIL
+
+ [flatMap(): Outer Subscription synchronously becomes inactive when an 'inner' Observable emits an error]
+ expected: FAIL
+
+ [flatMap(): Outer Subscription synchronously becomes inactive when an 'inner' Observable throws an error]
+ expected: FAIL
+
+ [flatMap(): result Observable does not complete until source and inner Observables all complete]
+ expected: FAIL
+
+ [flatMap(): result Observable does not complete after source Observable completes while there are still queued inner Observables to process Observables all complete]
+ expected: FAIL
+
+ [flatMap(): source and inner active Observables are both unsubscribed from once the outer subscription signal is aborted]
+ expected: FAIL
+
+
+[observable-flatMap.any.worker.html]
+ [flatMap(): Flattens simple source Observable properly]
+ expected: FAIL
+
+ [flatMap(): Returned Observable passes through source Observable errors]
+ expected: FAIL
+
+ [flatMap(): Outer Subscription synchronously becomes inactive when an 'inner' Observable emits an error]
+ expected: FAIL
+
+ [flatMap(): Outer Subscription synchronously becomes inactive when an 'inner' Observable throws an error]
+ expected: FAIL
+
+ [flatMap(): result Observable does not complete until source and inner Observables all complete]
+ expected: FAIL
+
+ [flatMap(): result Observable does not complete after source Observable completes while there are still queued inner Observables to process Observables all complete]
+ expected: FAIL
+
+ [flatMap(): source and inner active Observables are both unsubscribed from once the outer subscription signal is aborted]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-from.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-from.any.js.ini
new file mode 100644
index 0000000000..511526b2d2
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-from.any.js.ini
@@ -0,0 +1,80 @@
+[observable-from.any.html]
+ [from(): Observable.from() is a function]
+ expected: FAIL
+
+ [from(): Failed conversions]
+ expected: FAIL
+
+ [from(): Given an observable, it returns that exact observable]
+ expected: FAIL
+
+ [from(): Given an array]
+ expected: FAIL
+
+ [from(): Iterable converts to Observable]
+ expected: FAIL
+
+ [from(): [Symbol.iterator\] side-effects (one observable)]
+ expected: FAIL
+
+ [from(): [Symbol.iterator\] side-effects (many observables)]
+ expected: FAIL
+
+ [from(): [Symbol.iterator\] next() throws error]
+ expected: FAIL
+
+ [from(): Converts Promise to Observable]
+ expected: FAIL
+
+ [from(): Converts rejected Promise to Observable. No `unhandledrejection` event when error is handled by subscription]
+ expected: FAIL
+
+ [from(): Rejections not handled by subscription are reported to the global, and still not sent as an unhandledrejection event]
+ expected: FAIL
+
+ [from(): Observable that implements @@iterator protocol gets converted as an Observable, not iterator]
+ expected: FAIL
+
+ [from(): Promise that implements @@iterator protocol gets converted as an iterable, not Promise]
+ expected: FAIL
+
+
+[observable-from.any.worker.html]
+ [from(): Observable.from() is a function]
+ expected: FAIL
+
+ [from(): Failed conversions]
+ expected: FAIL
+
+ [from(): Given an observable, it returns that exact observable]
+ expected: FAIL
+
+ [from(): Given an array]
+ expected: FAIL
+
+ [from(): Iterable converts to Observable]
+ expected: FAIL
+
+ [from(): [Symbol.iterator\] side-effects (one observable)]
+ expected: FAIL
+
+ [from(): [Symbol.iterator\] side-effects (many observables)]
+ expected: FAIL
+
+ [from(): [Symbol.iterator\] next() throws error]
+ expected: FAIL
+
+ [from(): Converts Promise to Observable]
+ expected: FAIL
+
+ [from(): Converts rejected Promise to Observable. No `unhandledrejection` event when error is handled by subscription]
+ expected: FAIL
+
+ [from(): Rejections not handled by subscription are reported to the global, and still not sent as an unhandledrejection event]
+ expected: FAIL
+
+ [from(): Observable that implements @@iterator protocol gets converted as an Observable, not iterator]
+ expected: FAIL
+
+ [from(): Promise that implements @@iterator protocol gets converted as an iterable, not Promise]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-last.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-last.any.js.ini
new file mode 100644
index 0000000000..095d17b7f8
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-last.any.js.ini
@@ -0,0 +1,32 @@
+[observable-last.any.worker.html]
+ [last(): Promise resolves to last value]
+ expected: FAIL
+
+ [last(): Promise rejects with emitted error]
+ expected: FAIL
+
+ [last(): Promise rejects with RangeError when source Observable completes without emitting any values]
+ expected: FAIL
+
+ [last(): Aborting a signal rejects the Promise with an AbortError DOMException]
+ expected: FAIL
+
+ [last(): Lifecycle]
+ expected: FAIL
+
+
+[observable-last.any.html]
+ [last(): Promise resolves to last value]
+ expected: FAIL
+
+ [last(): Promise rejects with emitted error]
+ expected: FAIL
+
+ [last(): Promise rejects with RangeError when source Observable completes without emitting any values]
+ expected: FAIL
+
+ [last(): Aborting a signal rejects the Promise with an AbortError DOMException]
+ expected: FAIL
+
+ [last(): Lifecycle]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-switchMap.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-switchMap.any.js.ini
new file mode 100644
index 0000000000..64861df897
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-switchMap.any.js.ini
@@ -0,0 +1,38 @@
+[observable-switchMap.any.worker.html]
+ [switchMap(): result subscribes to one inner observable at a time, unsubscribing from the previous active one when a new one replaces it]
+ expected: FAIL
+
+ [switchMap(): result does not complete when the source observable completes, if the inner observable is still active]
+ expected: FAIL
+
+ [switchMap(): result emits an error if Mapper callback throws an error]
+ expected: FAIL
+
+ [switchMap(): result emits an error if the source observable emits an error]
+ expected: FAIL
+
+ [switchMap(): result emits an error if the inner observable emits an error]
+ expected: FAIL
+
+ [switchMap(): should unsubscribe in the correct order when user aborts the subscription]
+ expected: FAIL
+
+
+[observable-switchMap.any.html]
+ [switchMap(): result subscribes to one inner observable at a time, unsubscribing from the previous active one when a new one replaces it]
+ expected: FAIL
+
+ [switchMap(): result does not complete when the source observable completes, if the inner observable is still active]
+ expected: FAIL
+
+ [switchMap(): result emits an error if Mapper callback throws an error]
+ expected: FAIL
+
+ [switchMap(): result emits an error if the source observable emits an error]
+ expected: FAIL
+
+ [switchMap(): result emits an error if the inner observable emits an error]
+ expected: FAIL
+
+ [switchMap(): should unsubscribe in the correct order when user aborts the subscription]
+ expected: FAIL