summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/dom/observable
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/dom/observable')
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/idlharness.html.ini102
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-constructor.any.js.ini218
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-constructor.window.js.ini12
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-event-target.any.js.ini20
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-event-target.window.js.ini6
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-forEach.any.js.ini38
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-forEach.window.js.ini6
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.any.js.ini68
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.window.js.ini6
-rw-r--r--testing/web-platform/meta/dom/observable/tentative/observable-toArray.any.js.ini38
10 files changed, 514 insertions, 0 deletions
diff --git a/testing/web-platform/meta/dom/observable/tentative/idlharness.html.ini b/testing/web-platform/meta/dom/observable/tentative/idlharness.html.ini
new file mode 100644
index 0000000000..7963a3aae9
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/idlharness.html.ini
@@ -0,0 +1,102 @@
+[idlharness.html]
+ [Subscriber interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Subscriber interface object length]
+ expected: FAIL
+
+ [Subscriber interface object name]
+ expected: FAIL
+
+ [Subscriber interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Subscriber interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [Subscriber interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [Subscriber interface: operation next(any)]
+ expected: FAIL
+
+ [Subscriber interface: operation error(any)]
+ expected: FAIL
+
+ [Subscriber interface: operation complete()]
+ expected: FAIL
+
+ [Subscriber interface: operation addTeardown(VoidFunction)]
+ expected: FAIL
+
+ [Subscriber interface: attribute active]
+ expected: FAIL
+
+ [Subscriber interface: attribute signal]
+ expected: FAIL
+
+ [Subscriber must be primary interface of (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })()]
+ expected: FAIL
+
+ [Stringification of (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })()]
+ expected: FAIL
+
+ [Subscriber interface: (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() must inherit property "next(any)" with the proper type]
+ expected: FAIL
+
+ [Subscriber interface: calling next(any) on (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Subscriber interface: (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() must inherit property "error(any)" with the proper type]
+ expected: FAIL
+
+ [Subscriber interface: calling error(any) on (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Subscriber interface: (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() must inherit property "complete()" with the proper type]
+ expected: FAIL
+
+ [Subscriber interface: (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() must inherit property "addTeardown(VoidFunction)" with the proper type]
+ expected: FAIL
+
+ [Subscriber interface: calling addTeardown(VoidFunction) on (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Subscriber interface: (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() must inherit property "active" with the proper type]
+ expected: FAIL
+
+ [Subscriber interface: (() => { let s = null; new Observable(_s => s = _s).subscribe({}); return s })() must inherit property "signal" with the proper type]
+ expected: FAIL
+
+ [Observable interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Observable interface object length]
+ expected: FAIL
+
+ [Observable interface object name]
+ expected: FAIL
+
+ [Observable interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [Observable interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [Observable interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [Observable interface: operation subscribe(optional ObserverUnion, optional SubscribeOptions)]
+ expected: FAIL
+
+ [Observable must be primary interface of new Observable(() => {})]
+ expected: FAIL
+
+ [Stringification of new Observable(() => {})]
+ expected: FAIL
+
+ [Observable interface: new Observable(() => {}) must inherit property "subscribe(optional ObserverUnion, optional SubscribeOptions)" with the proper type]
+ expected: FAIL
+
+ [Observable interface: calling subscribe(optional ObserverUnion, optional SubscribeOptions) on new Observable(() => {}) with too few arguments must throw TypeError]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-constructor.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-constructor.any.js.ini
new file mode 100644
index 0000000000..555528faf4
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-constructor.any.js.ini
@@ -0,0 +1,218 @@
+[observable-constructor.any.worker.html]
+ [Observable constructor]
+ expected: FAIL
+
+ [Subscriber interface is not constructible]
+ expected: FAIL
+
+ [subscribe() can be called with no arguments]
+ expected: FAIL
+
+ [Observable constructor calls initializer on subscribe]
+ expected: FAIL
+
+ [Observable error path called synchronously]
+ expected: FAIL
+
+ [Observable should error if initializer throws]
+ expected: FAIL
+
+ [Subscription does not emit values after completion]
+ expected: FAIL
+
+ [Subscription does not emit values after error]
+ expected: FAIL
+
+ [Completing or nexting a subscriber after an error does nothing]
+ expected: FAIL
+
+ [Errors pushed to the subscriber that are not handled by the subscription are reported to the global]
+ expected: FAIL
+
+ [Errors thrown in the initializer that are not handled by the subscription are reported to the global]
+ expected: FAIL
+
+ [Subscription reports errors that are pushed after subscriber is closed by completion]
+ expected: FAIL
+
+ [Errors thrown by initializer function after subscriber is closed by completion are reported]
+ expected: FAIL
+
+ [Subscription is inactive after complete()]
+ expected: FAIL
+
+ [Subscription is inactive after error()]
+ expected: FAIL
+
+ [Subscription is inactive when aborted signal is passed in]
+ expected: FAIL
+
+ [Subscriber#signal is not the same AbortSignal as the one passed into `subscribe()`]
+ expected: FAIL
+
+ [Errors thrown by initializer function after subscriber is closed by error are reported]
+ expected: FAIL
+
+ [Errors pushed by initializer function after subscriber is closed by error are reported]
+ expected: FAIL
+
+ [Subscriber#complete() cannot re-entrantly invoke itself]
+ expected: FAIL
+
+ [Subscriber#error() cannot re-entrantly invoke itself]
+ expected: FAIL
+
+ [Unsubscription lifecycle]
+ expected: FAIL
+
+ [Aborting a subscription should stop emitting values]
+ expected: FAIL
+
+ [Calling subscribe should never throw an error synchronously, initializer throws error]
+ expected: FAIL
+
+ [Calling subscribe should never throw an error synchronously, subscriber pushes error]
+ expected: FAIL
+
+ [Teardown should be called when subscription is aborted]
+ expected: FAIL
+
+ [Teardowns should be called when subscription is closed by completion]
+ expected: FAIL
+
+ [Teardowns should be called when subscription is closed by subscriber pushing an error]
+ expected: FAIL
+
+ [Teardowns should be called when subscription is closed by subscriber throwing error]
+ expected: FAIL
+
+ [Teardowns should be called synchronously during addTeardown() if the subscription is inactive]
+ expected: FAIL
+
+ [Subscribe with just a function as the next handler]
+ expected: FAIL
+
+ [Subscriber must have receiver]
+ expected: FAIL
+
+ [Subscriber next & error must recieve argument]
+ expected: FAIL
+
+ [Subscriber complete() will set active to false, and abort signal]
+ expected: FAIL
+
+ [Subscriber active is readonly]
+ expected: FAIL
+
+ [Subscriber signal is readonly]
+ expected: FAIL
+
+
+[observable-constructor.any.html]
+ [Observable constructor]
+ expected: FAIL
+
+ [Subscriber interface is not constructible]
+ expected: FAIL
+
+ [subscribe() can be called with no arguments]
+ expected: FAIL
+
+ [Observable constructor calls initializer on subscribe]
+ expected: FAIL
+
+ [Observable error path called synchronously]
+ expected: FAIL
+
+ [Observable should error if initializer throws]
+ expected: FAIL
+
+ [Subscription does not emit values after completion]
+ expected: FAIL
+
+ [Subscription does not emit values after error]
+ expected: FAIL
+
+ [Completing or nexting a subscriber after an error does nothing]
+ expected: FAIL
+
+ [Errors pushed to the subscriber that are not handled by the subscription are reported to the global]
+ expected: FAIL
+
+ [Errors thrown in the initializer that are not handled by the subscription are reported to the global]
+ expected: FAIL
+
+ [Subscription reports errors that are pushed after subscriber is closed by completion]
+ expected: FAIL
+
+ [Errors thrown by initializer function after subscriber is closed by completion are reported]
+ expected: FAIL
+
+ [Subscription is inactive after complete()]
+ expected: FAIL
+
+ [Subscription is inactive after error()]
+ expected: FAIL
+
+ [Subscription is inactive when aborted signal is passed in]
+ expected: FAIL
+
+ [Subscriber#signal is not the same AbortSignal as the one passed into `subscribe()`]
+ expected: FAIL
+
+ [Errors thrown by initializer function after subscriber is closed by error are reported]
+ expected: FAIL
+
+ [Errors pushed by initializer function after subscriber is closed by error are reported]
+ expected: FAIL
+
+ [Subscriber#complete() cannot re-entrantly invoke itself]
+ expected: FAIL
+
+ [Subscriber#error() cannot re-entrantly invoke itself]
+ expected: FAIL
+
+ [Unsubscription lifecycle]
+ expected: FAIL
+
+ [Aborting a subscription should stop emitting values]
+ expected: FAIL
+
+ [Calling subscribe should never throw an error synchronously, initializer throws error]
+ expected: FAIL
+
+ [Calling subscribe should never throw an error synchronously, subscriber pushes error]
+ expected: FAIL
+
+ [Teardown should be called when subscription is aborted]
+ expected: FAIL
+
+ [Teardowns should be called when subscription is closed by completion]
+ expected: FAIL
+
+ [Teardowns should be called when subscription is closed by subscriber pushing an error]
+ expected: FAIL
+
+ [Teardowns should be called when subscription is closed by subscriber throwing error]
+ expected: FAIL
+
+ [Teardowns should be called synchronously during addTeardown() if the subscription is inactive]
+ expected: FAIL
+
+ [Subscribe with just a function as the next handler]
+ expected: FAIL
+
+ [Subscriber must have receiver]
+ expected: FAIL
+
+ [Subscriber next & error must recieve argument]
+ expected: FAIL
+
+ [Subscriber complete() will set active to false, and abort signal]
+ expected: FAIL
+
+ [Subscriber active is readonly]
+ expected: FAIL
+
+ [Subscriber signal is readonly]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-constructor.window.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-constructor.window.js.ini
new file mode 100644
index 0000000000..182e784b96
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-constructor.window.js.ini
@@ -0,0 +1,12 @@
+[observable-constructor.window.html]
+ [No observer handlers can be invoked in detached document]
+ expected: FAIL
+
+ [Subscriber.error() does not "report the exception" even when an `error()` handler is not present, when it is invoked in a detached document]
+ expected: FAIL
+
+ [Cannot subscribe to an Observable in a detached document]
+ expected: FAIL
+
+ [Observable from EventTarget does not get notified for events in detached documents]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-event-target.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-event-target.any.js.ini
new file mode 100644
index 0000000000..94327ea5e4
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-event-target.any.js.ini
@@ -0,0 +1,20 @@
+[observable-event-target.any.worker.html]
+ [EventTarget.on() returns an Observable]
+ expected: FAIL
+
+ [Aborting the subscription should stop the emission of events]
+ expected: FAIL
+
+ [EventTarget Observables can multicast subscriptions for event handling]
+ expected: FAIL
+
+
+[observable-event-target.any.html]
+ [EventTarget.on() returns an Observable]
+ expected: FAIL
+
+ [Aborting the subscription should stop the emission of events]
+ expected: FAIL
+
+ [EventTarget Observables can multicast subscriptions for event handling]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-event-target.window.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-event-target.window.js.ini
new file mode 100644
index 0000000000..64cfdcd7e5
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-event-target.window.js.ini
@@ -0,0 +1,6 @@
+[observable-event-target.window.html]
+ [EventTarget Observables can listen for events in the capturing or bubbling phase]
+ expected: FAIL
+
+ [EventTarget Observables can be 'passive']
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-forEach.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-forEach.any.js.ini
new file mode 100644
index 0000000000..933ec34765
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-forEach.any.js.ini
@@ -0,0 +1,38 @@
+[observable-forEach.any.html]
+ [forEach(): Visitor callback called synchronously for each value]
+ expected: FAIL
+
+ [Errors thrown by Observable reject the returned promise]
+ expected: FAIL
+
+ [Errors pushed by Observable reject the returned promise]
+ expected: FAIL
+
+ [Errors thrown in the visitor callback reject the promise and unsubscribe from the source]
+ expected: FAIL
+
+ [forEach visitor callback rejection microtask ordering]
+ expected: FAIL
+
+ [forEach() promise resolves with undefined]
+ expected: FAIL
+
+
+[observable-forEach.any.worker.html]
+ [forEach(): Visitor callback called synchronously for each value]
+ expected: FAIL
+
+ [Errors thrown by Observable reject the returned promise]
+ expected: FAIL
+
+ [Errors pushed by Observable reject the returned promise]
+ expected: FAIL
+
+ [Errors thrown in the visitor callback reject the promise and unsubscribe from the source]
+ expected: FAIL
+
+ [forEach visitor callback rejection microtask ordering]
+ expected: FAIL
+
+ [forEach() promise resolves with undefined]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-forEach.window.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-forEach.window.js.ini
new file mode 100644
index 0000000000..7c894bf399
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-forEach.window.js.ini
@@ -0,0 +1,6 @@
+[observable-forEach.window.html]
+ [forEach()'s internal observer's next steps do not crash in a detached document]
+ expected: FAIL
+
+ [forEach()'s internal observer's next steps do not crash when visitor callback detaches the document]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.any.js.ini
new file mode 100644
index 0000000000..e799d7864a
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.any.js.ini
@@ -0,0 +1,68 @@
+[observable-takeUntil.any.html]
+ [takeUntil subscribes to source Observable and mirrors it uninterrupted]
+ expected: FAIL
+
+ [takeUntil subscribes to notifier]
+ expected: FAIL
+
+ [takeUntil: notifier next() unsubscribes to notifier]
+ expected: FAIL
+
+ [takeUntil: notifier error() unsubscribes to notifier]
+ expected: FAIL
+
+ [takeUntil: notifier next() unsubscribes from notifier & source observable]
+ expected: FAIL
+
+ [takeUntil()'s AbortSignal unsubscribes from notifier & source observable]
+ expected: FAIL
+
+ [takeUntil: source never subscribed to when notifier synchronously emits a value]
+ expected: FAIL
+
+ [takeUntil: source never subscribed to when notifier synchronously emits error]
+ expected: FAIL
+
+ [takeUntil: source is uninterrupted when notifier completes, even synchronously]
+ expected: FAIL
+
+ [takeUntil() mirrors the source Observable until its first next() value]
+ expected: FAIL
+
+ [takeUntil: notifier calls `Subscriber#error()` twice; second goes to global error handler]
+ expected: FAIL
+
+
+[observable-takeUntil.any.worker.html]
+ [takeUntil subscribes to source Observable and mirrors it uninterrupted]
+ expected: FAIL
+
+ [takeUntil subscribes to notifier]
+ expected: FAIL
+
+ [takeUntil: notifier next() unsubscribes to notifier]
+ expected: FAIL
+
+ [takeUntil: notifier error() unsubscribes to notifier]
+ expected: FAIL
+
+ [takeUntil: notifier next() unsubscribes from notifier & source observable]
+ expected: FAIL
+
+ [takeUntil()'s AbortSignal unsubscribes from notifier & source observable]
+ expected: FAIL
+
+ [takeUntil: source never subscribed to when notifier synchronously emits a value]
+ expected: FAIL
+
+ [takeUntil: source never subscribed to when notifier synchronously emits error]
+ expected: FAIL
+
+ [takeUntil: source is uninterrupted when notifier completes, even synchronously]
+ expected: FAIL
+
+ [takeUntil() mirrors the source Observable until its first next() value]
+ expected: FAIL
+
+ [takeUntil: notifier calls `Subscriber#error()` twice; second goes to global error handler]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.window.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.window.js.ini
new file mode 100644
index 0000000000..99e9edce98
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-takeUntil.window.js.ini
@@ -0,0 +1,6 @@
+[observable-takeUntil.window.html]
+ [takeUntil(): notifier Observable detaches document before source Observable would be subscribed to]
+ expected: FAIL
+
+ [takeUntil(): Source and notifier internal observers do not crash in a detached document]
+ expected: FAIL
diff --git a/testing/web-platform/meta/dom/observable/tentative/observable-toArray.any.js.ini b/testing/web-platform/meta/dom/observable/tentative/observable-toArray.any.js.ini
new file mode 100644
index 0000000000..bcc4966322
--- /dev/null
+++ b/testing/web-platform/meta/dom/observable/tentative/observable-toArray.any.js.ini
@@ -0,0 +1,38 @@
+[observable-toArray.any.worker.html]
+ [toArray(): basic next/complete]
+ expected: FAIL
+
+ [toArray(): first error() rejects promise; subsequent error()s report the exceptions]
+ expected: FAIL
+
+ [toArray(): complete() resolves promise; subsequent error()s report the exceptions]
+ expected: FAIL
+
+ [toArray(): Subscribing with an aborted signal returns an immediately rejected promise]
+ expected: FAIL
+
+ [toArray(): Aborting the passed-in signal rejects the returned promise]
+ expected: FAIL
+
+ [Operator Promise abort ordering]
+ expected: FAIL
+
+
+[observable-toArray.any.html]
+ [toArray(): basic next/complete]
+ expected: FAIL
+
+ [toArray(): first error() rejects promise; subsequent error()s report the exceptions]
+ expected: FAIL
+
+ [toArray(): complete() resolves promise; subsequent error()s report the exceptions]
+ expected: FAIL
+
+ [toArray(): Subscribing with an aborted signal returns an immediately rejected promise]
+ expected: FAIL
+
+ [toArray(): Aborting the passed-in signal rejects the returned promise]
+ expected: FAIL
+
+ [Operator Promise abort ordering]
+ expected: FAIL