summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/appmanifest/icons-member/resources
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/appmanifest/icons-member/resources')
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/fail.pngbin0 -> 5957 bytes
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.sub.webmanifest10
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.sub.webmanifest10
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest10
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.sub.webmanifest10
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest14
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-manual.js4
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest13
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest10
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/pass.pngbin0 -> 5684 bytes
-rw-r--r--testing/web-platform/tests/appmanifest/icons-member/resources/pass.png.sub.headers1
18 files changed, 89 insertions, 0 deletions
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/fail.png b/testing/web-platform/tests/appmanifest/icons-member/resources/fail.png
new file mode 100644
index 0000000000..1d596c6ba6
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/fail.png
Binary files differ
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.sub.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.sub.webmanifest
new file mode 100644
index 0000000000..24e2214365
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.sub.webmanifest
@@ -0,0 +1,10 @@
+{
+ "name": "Icons member (CORS violation) WPT",
+ "icons": [{
+ "src": "https://{{host}}:{{ports[https][1]}}/appmanifest/icons-member/resources/fail.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }],
+ "start_url": "../icons-member-cors-fail-manual.sub.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors-fail.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.sub.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.sub.webmanifest
new file mode 100644
index 0000000000..33cb12654b
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.sub.webmanifest
@@ -0,0 +1,10 @@
+{
+ "name": "Icons member (via CORS) WPT",
+ "icons": [{
+ "src": "https://{{host}}:{{ports[https][1]}}/appmanifest/icons-member/resources/pass.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }],
+ "start_url": "../icons-member-cors-manual.sub.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-cors.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest
new file mode 100644
index 0000000000..2b614ebb01
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest
@@ -0,0 +1,10 @@
+{
+ "name": "Icons member (CSP violation) WPT",
+ "icons": [{
+ "src": "fail.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }],
+ "start_url": "../icons-member-csp-fail-manual.sub.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp-fail.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.sub.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.sub.webmanifest
new file mode 100644
index 0000000000..f1089bba3c
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.sub.webmanifest
@@ -0,0 +1,10 @@
+{
+ "name": "Icons member (CSP check) WPT",
+ "icons": [{
+ "src": "https://{{host}}:{{ports[https][1]}}/appmanifest/icons-member/resources/pass.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }],
+ "start_url": "../icons-member-csp-manual.sub.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-csp.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest
new file mode 100644
index 0000000000..04ac33112d
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest
@@ -0,0 +1,14 @@
+{
+ "name": "Icons member WPT",
+ "icons": [{
+ "src": "fail.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }, {
+ "src": "pass.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }],
+ "start_url": "../icons-member-last-matching-manual.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-last-matching.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-manual.js b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-manual.js
new file mode 100644
index 0000000000..cf149792a3
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-manual.js
@@ -0,0 +1,4 @@
+if ('serviceWorker' in navigator) {
+ navigator.serviceWorker.register(
+ 'icons-member-service-worker.js');
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest
new file mode 100644
index 0000000000..e65169b06a
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest
@@ -0,0 +1,13 @@
+{
+ "name": "Icons member WPT",
+ "icons": [{
+ "src": "pass.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }, {
+ "src": "../icons-member-manual.html",
+ "sizes": "256x256"
+ }],
+ "start_url": "../icons-member-next-appropriate-manual.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member-next-appropriate.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest
new file mode 100644
index 0000000000..8e7a2c3426
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest
@@ -0,0 +1,10 @@
+{
+ "name": "Icons member WPT",
+ "icons": [{
+ "src": "pass.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }],
+ "start_url": "../icons-member-manual.html",
+ "display": "fullscreen"
+}
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest.headers
new file mode 100644
index 0000000000..2bab061d43
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/icons-member.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/pass.png b/testing/web-platform/tests/appmanifest/icons-member/resources/pass.png
new file mode 100644
index 0000000000..be7433a3e2
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/pass.png
Binary files differ
diff --git a/testing/web-platform/tests/appmanifest/icons-member/resources/pass.png.sub.headers b/testing/web-platform/tests/appmanifest/icons-member/resources/pass.png.sub.headers
new file mode 100644
index 0000000000..adf190aa8e
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/icons-member/resources/pass.png.sub.headers
@@ -0,0 +1 @@
+Access-Control-Allow-Origin: https://{{host}}:{{ports[https][0]}}