summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/content-index
diff options
context:
space:
mode:
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..75177410b3
--- /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"): [OK, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ [The Content Index API is exposed]
+ expected:
+ 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_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 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_64"): [FAIL, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86"): [FAIL, TIMEOUT]
+ FAIL
+
+ [index.add parameters are validated.]
+ expected:
+ 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..2f66055a50
--- /dev/null
+++ b/testing/web-platform/meta/content-index/idlharness.https.any.js.ini
@@ -0,0 +1,224 @@
+[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]
+ [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]