summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-index
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/meta/content-index
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/content-index')
-rw-r--r--testing/web-platform/meta/content-index/__dir__.ini1
-rw-r--r--testing/web-platform/meta/content-index/content-index.https.window.js.ini39
-rw-r--r--testing/web-platform/meta/content-index/idlharness.https.any.js.ini226
3 files changed, 266 insertions, 0 deletions
diff --git a/testing/web-platform/meta/content-index/__dir__.ini b/testing/web-platform/meta/content-index/__dir__.ini
new file mode 100644
index 0000000000..4652b4d3fe
--- /dev/null
+++ b/testing/web-platform/meta/content-index/__dir__.ini
@@ -0,0 +1 @@
+lsan-allowed: [NS_NewRunnableFunction, detail::ProxyRelease, mozilla::SupportsThreadSafeWeakPtr, mozilla::ipc::BackgroundChildImpl::AllocPRemoteWorkerChild]
diff --git a/testing/web-platform/meta/content-index/content-index.https.window.js.ini b/testing/web-platform/meta/content-index/content-index.https.window.js.ini
new file mode 100644
index 0000000000..e714921741
--- /dev/null
+++ b/testing/web-platform/meta/content-index/content-index.https.window.js.ini
@@ -0,0 +1,39 @@
+[content-index.https.window.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
+ [The Content Index API is exposed]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT]
+ FAIL
+
+ [index.delete removes entry.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ FAIL
+
+ [index.getAll returns the same objects provided.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ FAIL
+
+ [index.add with same ID overwrites existing entry.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ FAIL
+
+ [index.add parameters are validated.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ FAIL
+
+ [index.delete works on invalid ID.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ FAIL
diff --git a/testing/web-platform/meta/content-index/idlharness.https.any.js.ini b/testing/web-platform/meta/content-index/idlharness.https.any.js.ini
new file mode 100644
index 0000000000..6b44ac7ce7
--- /dev/null
+++ b/testing/web-platform/meta/content-index/idlharness.https.any.js.ini
@@ -0,0 +1,226 @@
+[idlharness.https.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ContentIndex interface: operation getAll()]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute index]
+ expected: FAIL
+
+ [ContentIndex interface: operation delete(DOMString)]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface object]
+ expected: FAIL
+
+ [ContentIndex interface object name]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [ContentIndex interface: operation add(ContentDescription)]
+ expected: FAIL
+
+ [ContentIndex interface object length]
+ expected: FAIL
+
+
+[idlharness.https.any.sharedworker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ContentIndex interface: operation getAll()]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute index]
+ expected: FAIL
+
+ [ContentIndex interface: operation delete(DOMString)]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface object]
+ expected: FAIL
+
+ [ContentIndex interface object name]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [ContentIndex interface: operation add(ContentDescription)]
+ expected: FAIL
+
+ [ContentIndex interface object length]
+ expected: FAIL
+
+
+[idlharness.https.any.serviceworker.html]
+ expected:
+ if (os == "win") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [ContentIndexEvent interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: registration must inherit property "index" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface: operation delete(DOMString)]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute index]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [ContentIndex interface: registration.index must inherit property "getAll()" with the proper type]
+ expected: FAIL
+
+ [ContentIndexEvent interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [ContentIndex interface: registration.index must inherit property "delete(DOMString)" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface object]
+ expected: FAIL
+
+ [ContentIndex interface object name]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ServiceWorkerGlobalScope interface: attribute oncontentdelete]
+ expected: FAIL
+
+ [ContentIndexEvent interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ContentIndexEvent interface object length]
+ expected: FAIL
+
+ [ServiceWorkerGlobalScope interface: self must inherit property "oncontentdelete" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface: operation getAll()]
+ expected: FAIL
+
+ [ContentIndexEvent must be primary interface of new ContentIndexEvent("type", {id: "foo"})]
+ expected: FAIL
+
+ [Stringification of new ContentIndexEvent("type", {id: "foo"})]
+ expected: FAIL
+
+ [ContentIndex interface: calling add(ContentDescription) on registration.index with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [ContentIndex interface: operation add(ContentDescription)]
+ expected: FAIL
+
+ [ContentIndex interface: calling delete(DOMString) on registration.index with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Stringification of registration.index]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [ContentIndex interface: registration.index must inherit property "add(ContentDescription)" with the proper type]
+ expected: FAIL
+
+ [ContentIndex must be primary interface of registration.index]
+ expected: FAIL
+
+ [ContentIndexEvent interface: existence and properties of interface object]
+ expected: FAIL
+
+ [ContentIndexEvent interface: attribute id]
+ expected: FAIL
+
+ [ContentIndexEvent interface object name]
+ expected: FAIL
+
+ [ContentIndexEvent interface: new ContentIndexEvent("type", {id: "foo"}) must inherit property "id" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface object length]
+ expected: FAIL
+
+
+[idlharness.https.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ if (os == "win") and not debug: [OK, TIMEOUT]
+ if (os == "win") and debug and swgl: [OK, TIMEOUT]
+ [ServiceWorkerRegistration interface: registration must inherit property "index" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface: operation delete(DOMString)]
+ expected: FAIL
+
+ [ServiceWorkerRegistration interface: attribute index]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [ContentIndex interface: registration.index must inherit property "getAll()" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface: registration.index must inherit property "delete(DOMString)" with the proper type]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface object]
+ expected: FAIL
+
+ [ContentIndex interface object name]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [ContentIndex interface: operation getAll()]
+ expected: FAIL
+
+ [ContentIndex interface: calling add(ContentDescription) on registration.index with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [ContentIndex interface: operation add(ContentDescription)]
+ expected: FAIL
+
+ [ContentIndex interface: calling delete(DOMString) on registration.index with too few arguments must throw TypeError]
+ expected: FAIL
+
+ [Stringification of registration.index]
+ expected: FAIL
+
+ [ContentIndex interface: existence and properties of interface prototype object's @@unscopables property]
+ expected: FAIL
+
+ [ContentIndex interface: registration.index must inherit property "add(ContentDescription)" with the proper type]
+ expected: FAIL
+
+ [ContentIndex must be primary interface of registration.index]
+ expected: FAIL
+
+ [ContentIndex interface object length]
+ expected: FAIL
+
+ [idl_test setup]
+ expected:
+ if (os == "win") and not debug: [PASS, TIMEOUT]
+ if (os == "win") and debug and swgl: [PASS, TIMEOUT]