summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-index
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/content-index
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
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.ini36
-rw-r--r--testing/web-platform/meta/content-index/idlharness.https.any.js.ini224
3 files changed, 261 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..63ec6564ee
--- /dev/null
+++ b/testing/web-platform/meta/content-index/content-index.https.window.js.ini
@@ -0,0 +1,36 @@
+[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: [FAIL, TIMEOUT]
+ FAIL
+
+ [index.delete removes entry.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, NOTRUN]
+ FAIL
+
+ [index.getAll returns the same objects provided.]
+ expected:
+ if (os == "win") and not debug: [FAIL, NOTRUN]
+ FAIL
+
+ [index.add with same ID overwrites existing entry.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, TIMEOUT, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT, NOTRUN]
+ FAIL
+
+ [index.add parameters are validated.]
+ expected:
+ if (os == "win") and not debug: [FAIL, NOTRUN]
+ FAIL
+
+ [index.delete works on invalid ID.]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86"): [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..f61b2aa463
--- /dev/null
+++ b/testing/web-platform/meta/content-index/idlharness.https.any.js.ini
@@ -0,0 +1,224 @@
+[idlharness.https.any.worker.html]
+ [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
+
+ [idl_test setup]
+ expected:
+ if (processor == "x86") and (os == "linux"): [PASS, FAIL]
+
+
+[idlharness.https.any.sharedworker.html]
+ [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]
+ [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 == "win") and debug and swgl: [OK, TIMEOUT]
+ if (os == "win") and not debug: [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 debug and swgl: [PASS, TIMEOUT]
+ if (os == "win") and not debug: [PASS, TIMEOUT]