From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../manifest/document-not-attached-manual.html | 17 +++++++++++++++++ .../link-relationship/link-rel-manifest.html | 16 ++++++++++++++++ .../link-relationship/link-tree-order-manual.html | 13 +++++++++++++ .../manifest/mime-type-application-json-manual.html | 9 +++++++++ .../manifest/mime-type-application-json.webmanifest | 3 +++ .../mime-type-application-json.webmanifest.headers | 1 + .../mime-type-application-manifest+json-manual.html | 10 ++++++++++ .../mime-type-application-manifest+json.webmanifest | 3 +++ ...pe-application-manifest+json.webmanifest.headers | 1 + .../links/manifest/mime-type-invalid-manual.html | 9 +++++++++ .../links/manifest/mime-type-invalid.webmanifest | 3 +++ .../manifest/mime-type-invalid.webmanifest.headers | 1 + .../html/links/manifest/mime-type-none-manual.html | 9 +++++++++ .../html/links/manifest/mime-type-none.webmanifest | 3 +++ .../manifest/mime-type-none.webmanifest.headers | 0 .../links/manifest/mime-type-text-json-manual.html | 9 +++++++++ .../links/manifest/mime-type-text-json.webmanifest | 3 +++ .../mime-type-text-json.webmanifest.headers | 1 + .../manifest/no-manifest-from-iframe-manual.html | 21 +++++++++++++++++++++ .../manifest/wrong-mime-type-text-plain-manual.html | 9 +++++++++ .../manifest/wrong-mime-type-text-plain.webmanifest | 3 +++ .../wrong-mime-type-text-plain.webmanifest.headers | 1 + 22 files changed, 145 insertions(+) create mode 100644 testing/web-platform/tests/html/links/manifest/document-not-attached-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/link-relationship/link-rel-manifest.html create mode 100644 testing/web-platform/tests/html/links/manifest/link-relationship/link-tree-order-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-application-json-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest.headers create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest.headers create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-invalid-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest.headers create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-none-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest.headers create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-text-json-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest create mode 100644 testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest.headers create mode 100644 testing/web-platform/tests/html/links/manifest/no-manifest-from-iframe-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain-manual.html create mode 100644 testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest create mode 100644 testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest.headers (limited to 'testing/web-platform/tests/html/links/manifest') diff --git a/testing/web-platform/tests/html/links/manifest/document-not-attached-manual.html b/testing/web-platform/tests/html/links/manifest/document-not-attached-manual.html new file mode 100644 index 0000000000..313fb2b96b --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/document-not-attached-manual.html @@ -0,0 +1,17 @@ + + + Manifest attached to document without a browsing context + + + +

Manifest attached to document that does not have a browsing context

+

+ To pass, the user agent must not use the manifest in the unattached document. +

diff --git a/testing/web-platform/tests/html/links/manifest/link-relationship/link-rel-manifest.html b/testing/web-platform/tests/html/links/manifest/link-relationship/link-rel-manifest.html new file mode 100644 index 0000000000..2d9fd78948 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/link-relationship/link-rel-manifest.html @@ -0,0 +1,16 @@ + + + Test that "manifest" is a supported value for the `rel` of a `link` + + + + + diff --git a/testing/web-platform/tests/html/links/manifest/link-relationship/link-tree-order-manual.html b/testing/web-platform/tests/html/links/manifest/link-relationship/link-tree-order-manual.html new file mode 100644 index 0000000000..aa9ec9c12d --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/link-relationship/link-tree-order-manual.html @@ -0,0 +1,13 @@ + +Test that name member is supported + + + + + +

+ If when installing the name is "pass" then the test has passed. +

diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-application-json-manual.html b/testing/web-platform/tests/html/links/manifest/mime-type-application-json-manual.html new file mode 100644 index 0000000000..5d1a498704 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-application-json-manual.html @@ -0,0 +1,9 @@ + +Test JSON MIME Type support (application/json) + + +

Test JSON MIME Type support for web manifest

+

+ To pass, the use agent must treat the manifest valid (name is "pass"). The + response's Content-Type metadata is a JSON MIME type "application/json". +

diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest b/testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest new file mode 100644 index 0000000000..c51d155a24 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest @@ -0,0 +1,3 @@ +{ + "name": "pass" +} \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest.headers b/testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest.headers new file mode 100644 index 0000000000..75f8856556 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-application-json.webmanifest.headers @@ -0,0 +1 @@ +Content-Type: application/json; charset=utf-8 \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json-manual.html b/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json-manual.html new file mode 100644 index 0000000000..f41c4fdab0 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json-manual.html @@ -0,0 +1,10 @@ + +Test JSON MIME Type support (application/manifest+json) + + +

Test JSON MIME Type support for web manifest

+

+ To pass, the use agent must treat the manifest valid (name is "pass"). The + response's Content-Type metadata is a JSON MIME type + "application/manifest+json". +

diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest b/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest new file mode 100644 index 0000000000..c51d155a24 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest @@ -0,0 +1,3 @@ +{ + "name": "pass" +} \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest.headers b/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest.headers new file mode 100644 index 0000000000..23f36ea27c --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-application-manifest+json.webmanifest.headers @@ -0,0 +1 @@ +Content-Type: application/manifest+json; charset=utf-8 \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-invalid-manual.html b/testing/web-platform/tests/html/links/manifest/mime-type-invalid-manual.html new file mode 100644 index 0000000000..45c2000a45 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-invalid-manual.html @@ -0,0 +1,9 @@ + +Test JSON MIME Type support (application/json) + + +

Test JSON MIME Type support for web manifest

+

+ To pass, the use agent must treat the manifest as invalid. The + response's Content-Type metadata is an invalid mime type. +

diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest b/testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest new file mode 100644 index 0000000000..66051f078a --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest @@ -0,0 +1,3 @@ +{ + "name": "fail - invalid MIME type" +} \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest.headers b/testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest.headers new file mode 100644 index 0000000000..ac90386634 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-invalid.webmanifest.headers @@ -0,0 +1 @@ +Content-Type: ׺°”˜`”°º× INVALID MIME TYPE ׺°”˜`”°º× \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-none-manual.html b/testing/web-platform/tests/html/links/manifest/mime-type-none-manual.html new file mode 100644 index 0000000000..8f934155e1 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-none-manual.html @@ -0,0 +1,9 @@ + +Test JSON MIME Type support (application/json) + + +

Test JSON MIME Type support for web manifest

+

+ To pass, the use agent must treat the manifest as invalid. The + response's does not contain any Content-Type HTTP header. +

diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest b/testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest new file mode 100644 index 0000000000..cae1d82a32 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest @@ -0,0 +1,3 @@ +{ + "name": "fail - no Content-Type HTTP header" +} \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest.headers b/testing/web-platform/tests/html/links/manifest/mime-type-none.webmanifest.headers new file mode 100644 index 0000000000..e69de29bb2 diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-text-json-manual.html b/testing/web-platform/tests/html/links/manifest/mime-type-text-json-manual.html new file mode 100644 index 0000000000..4597d6ddbd --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-text-json-manual.html @@ -0,0 +1,9 @@ + +Test JSON MIME Type support (text/json) + + +

Test JSON MIME Type support for web manifest

+

+ To pass, the use agent must treat the manifest valid (name is "pass"). The + response's Content-Type metadata is a JSON MIME type "text/json". +

diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest b/testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest new file mode 100644 index 0000000000..c51d155a24 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest @@ -0,0 +1,3 @@ +{ + "name": "pass" +} \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest.headers b/testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest.headers new file mode 100644 index 0000000000..3f4f83f922 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/mime-type-text-json.webmanifest.headers @@ -0,0 +1 @@ +Content-Type: text/json; charset=utf-8 \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/no-manifest-from-iframe-manual.html b/testing/web-platform/tests/html/links/manifest/no-manifest-from-iframe-manual.html new file mode 100644 index 0000000000..7b52e48731 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/no-manifest-from-iframe-manual.html @@ -0,0 +1,21 @@ + + + Don't install manifests that are not top-level from browsing contexts + + +

Don't install manifests that are not top-level from browsing contexts

+

+ To pass, the user agent must not use the manifest in iframe. The user agent + must behave as if there is no manifest present. +

+ diff --git a/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain-manual.html b/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain-manual.html new file mode 100644 index 0000000000..fdf5abf099 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain-manual.html @@ -0,0 +1,9 @@ + +Test JSON MIME Type support (text/plain) + + +

Test JSON MIME Type support for web manifest

+

+ To pass, the use agent must treat the manifest as not present. The response's + Content-Type metadata "text/plain" is NOT a JSON MIME type. +

diff --git a/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest b/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest new file mode 100644 index 0000000000..eac6871328 --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest @@ -0,0 +1,3 @@ +{ + "name": "fail - MIME type is text/plain" +} \ No newline at end of file diff --git a/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest.headers b/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest.headers new file mode 100644 index 0000000000..80fbe8db6c --- /dev/null +++ b/testing/web-platform/tests/html/links/manifest/wrong-mime-type-text-plain.webmanifest.headers @@ -0,0 +1 @@ +Content-Type: text/plain; charset=utf-8 \ No newline at end of file -- cgit v1.2.3