aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/dom
diff options
context:
space:
mode:
authorServo WPT Sync <32481905+servo-wpt-sync@users.noreply.github.com>2024-03-17 06:51:07 -0400
committerGitHub <noreply@github.com>2024-03-17 10:51:07 +0000
commit52c2b1e3a8f57af9885bbc52037fc1cad42f7dae (patch)
tree2c81f20da30ec5ad10f0a9fb3fc57bc4a70f6e6e /tests/wpt/meta/dom
parentd2dcb20beac29eabce02ea59b4944585d5b48a7c (diff)
downloadservo-52c2b1e3a8f57af9885bbc52037fc1cad42f7dae.tar.gz
servo-52c2b1e3a8f57af9885bbc52037fc1cad42f7dae.zip
Sync WPT with upstream (17-03-2024) (#31715)
* Update raw lags path for WPT import I forgot to do this in #31616 * Update web-platform-tests to revision b'298d1599dbf6255aea63506daaa1702ff0c4fdc5' --------- Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com>
Diffstat (limited to 'tests/wpt/meta/dom')
-rw-r--r--tests/wpt/meta/dom/nodes/insertion-removing-steps/script-does-not-run-on-child-removal.window.js.ini3
-rw-r--r--tests/wpt/meta/dom/observable/tentative/observable-from.any.js.ini80
-rw-r--r--tests/wpt/meta/dom/ranges/Range-in-shadow-after-the-shadow-removed.html.ini14
3 files changed, 97 insertions, 0 deletions
diff --git a/tests/wpt/meta/dom/nodes/insertion-removing-steps/script-does-not-run-on-child-removal.window.js.ini b/tests/wpt/meta/dom/nodes/insertion-removing-steps/script-does-not-run-on-child-removal.window.js.ini
new file mode 100644
index 00000000000..eb3e0818641
--- /dev/null
+++ b/tests/wpt/meta/dom/nodes/insertion-removing-steps/script-does-not-run-on-child-removal.window.js.ini
@@ -0,0 +1,3 @@
+[script-does-not-run-on-child-removal.window.html]
+ [Script execution is never triggered on child removals]
+ expected: FAIL
diff --git a/tests/wpt/meta/dom/observable/tentative/observable-from.any.js.ini b/tests/wpt/meta/dom/observable/tentative/observable-from.any.js.ini
new file mode 100644
index 00000000000..87b4f25d234
--- /dev/null
+++ b/tests/wpt/meta/dom/observable/tentative/observable-from.any.js.ini
@@ -0,0 +1,80 @@
+[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
+
+
+[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
diff --git a/tests/wpt/meta/dom/ranges/Range-in-shadow-after-the-shadow-removed.html.ini b/tests/wpt/meta/dom/ranges/Range-in-shadow-after-the-shadow-removed.html.ini
new file mode 100644
index 00000000000..b2003b5c788
--- /dev/null
+++ b/tests/wpt/meta/dom/ranges/Range-in-shadow-after-the-shadow-removed.html.ini
@@ -0,0 +1,14 @@
+[Range-in-shadow-after-the-shadow-removed.html?mode=closed]
+ [Range in shadow should stay in the shadow after the host is removed]
+ expected: FAIL
+
+ [Range in shadow should stay in the shadow after the host parent is removed]
+ expected: FAIL
+
+
+[Range-in-shadow-after-the-shadow-removed.html?mode=open]
+ [Range in shadow should stay in the shadow after the host is removed]
+ expected: FAIL
+
+ [Range in shadow should stay in the shadow after the host parent is removed]
+ expected: FAIL