summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/appmanifest/orientation-member/resources
diff options
context:
space:
mode:
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