summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/appmanifest/orientation-member/resources
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/tests/appmanifest/orientation-member/resources
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.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/tests/appmanifest/orientation-member/resources')
-rw-r--r--testing/web-platform/tests/appmanifest/orientation-member/resources/icon.pngbin0 -> 9871 bytes
-rw-r--r--testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest12
-rw-r--r--testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-manual.js4
-rw-r--r--testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest12
-rw-r--r--testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest.headers1
6 files changed, 30 insertions, 0 deletions
diff --git a/testing/web-platform/tests/appmanifest/orientation-member/resources/icon.png b/testing/web-platform/tests/appmanifest/orientation-member/resources/icon.png
new file mode 100644
index 0000000000..fecb1d2da4
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/orientation-member/resources/icon.png
Binary files differ
diff --git a/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest
new file mode 100644
index 0000000000..c930d292e5
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest
@@ -0,0 +1,12 @@
+{
+ "name": "Orientation member with landscape value WPT",
+ "icons": [
+ {
+ "src": "icon.png",
+ "sizes": "192x192"
+ }
+ ],
+ "start_url": "../orientation-member-landscape-manual.html",
+ "display": "standalone",
+ "orientation": "landscape"
+}
diff --git a/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest.headers b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-landscape.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-manual.js b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-manual.js
new file mode 100644
index 0000000000..6929c997a4
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-manual.js
@@ -0,0 +1,4 @@
+if ('serviceWorker' in navigator) {
+ navigator.serviceWorker.register(
+ 'orientation-member-service-worker.js');
+}
diff --git a/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest
new file mode 100644
index 0000000000..7ddf0851ac
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest
@@ -0,0 +1,12 @@
+{
+ "name": "Orientation member with portrait value WPT",
+ "icons": [
+ {
+ "src": "icon.png",
+ "sizes": "192x192"
+ }
+ ],
+ "start_url": "../orientation-member-portrait-manual.html",
+ "display": "standalone",
+ "orientation": "portrait"
+}
diff --git a/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest.headers b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/orientation-member/resources/orientation-member-portrait.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8