summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/appmanifest/start_url-member/resources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/appmanifest/start_url-member/resources
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/appmanifest/start_url-member/resources')
-rw-r--r--testing/web-platform/tests/appmanifest/start_url-member/resources/icon.pngbin0 -> 8364 bytes
-rw-r--r--testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest11
-rw-r--r--testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-manual.js4
-rw-r--r--testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest11
-rw-r--r--testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest.headers1
6 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/appmanifest/start_url-member/resources/icon.png b/testing/web-platform/tests/appmanifest/start_url-member/resources/icon.png
new file mode 100644
index 0000000000..b8845ac098
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/icon.png
Binary files differ
diff --git a/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest
new file mode 100644
index 0000000000..9cfb0b815b
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest
@@ -0,0 +1,11 @@
+{
+ "name": "start_url member WPT",
+ "icons": [
+ {
+ "src": "icon.png",
+ "sizes": "192x192"
+ }
+ ],
+ "start_url": "https://{{host}}:{{ports[https][1]}}/appmanifest/start_url-member/fail.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest.headers b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.webmanifest.headers
new file mode 100644
index 0000000000..23f36ea27c
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-fail.sub.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/appmanifest/start_url-member/resources/start_url-member-manual.js b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-manual.js
new file mode 100644
index 0000000000..302ce45aeb
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member-manual.js
@@ -0,0 +1,4 @@
+if ('serviceWorker' in navigator) {
+ navigator.serviceWorker.register(
+ 'start_url-member-service-worker.js');
+}
diff --git a/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest
new file mode 100644
index 0000000000..2afae97566
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest
@@ -0,0 +1,11 @@
+{
+ "name": "start_url member WPT",
+ "icons": [
+ {
+ "src": "icon.png",
+ "sizes": "192x192"
+ }
+ ],
+ "start_url": "../pass.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest.headers b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest.headers
new file mode 100644
index 0000000000..23f36ea27c
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/start_url-member.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8 \ No newline at end of file