summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/appmanifest/name-member/resources
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/appmanifest/name-member/resources')
-rw-r--r--testing/web-platform/tests/appmanifest/name-member/resources/icon.pngbin0 -> 9836 bytes
-rw-r--r--testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest11
-rw-r--r--testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest.headers1
-rw-r--r--testing/web-platform/tests/appmanifest/name-member/resources/name-member-manual.js4
-rw-r--r--testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest11
-rw-r--r--testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest.headers1
6 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/appmanifest/name-member/resources/icon.png b/testing/web-platform/tests/appmanifest/name-member/resources/icon.png
new file mode 100644
index 0000000000..6a06550023
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/name-member/resources/icon.png
Binary files differ
diff --git a/testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest b/testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest
new file mode 100644
index 0000000000..e1b2979207
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest
@@ -0,0 +1,11 @@
+{
+ "name": "fail",
+ "icons": [
+ {
+ "src": "icon.png",
+ "sizes": "192x192"
+ }
+ ],
+ "start_url": "../name-member-manual.html",
+ "display": "fullscreen"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest.headers b/testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.webmanifest.headers
new file mode 100644
index 0000000000..23f36ea27c
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/name-member/resources/name-member-fail.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/name-member/resources/name-member-manual.js b/testing/web-platform/tests/appmanifest/name-member/resources/name-member-manual.js
new file mode 100644
index 0000000000..042b94f85b
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/name-member/resources/name-member-manual.js
@@ -0,0 +1,4 @@
+if ('serviceWorker' in navigator) {
+ navigator.serviceWorker.register(
+ 'name-member-service-worker.js');
+}
diff --git a/testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest b/testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest
new file mode 100644
index 0000000000..366044f09e
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest
@@ -0,0 +1,11 @@
+{
+ "name": "pass",
+ "icons": [
+ {
+ "src": "icon.png",
+ "sizes": "192x192"
+ }
+ ],
+ "start_url": "../name-member-manual.html",
+ "display": "fullscreen"
+} \ No newline at end of file
diff --git a/testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest.headers b/testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest.headers
new file mode 100644
index 0000000000..23f36ea27c
--- /dev/null
+++ b/testing/web-platform/tests/appmanifest/name-member/resources/name-member.webmanifest.headers
@@ -0,0 +1 @@
+Content-Type: application/manifest+json; charset=utf-8 \ No newline at end of file