diff options
Diffstat (limited to 'testing/web-platform/tests/appmanifest/start_url-member/resources')
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 Binary files differnew file mode 100644 index 0000000000..b8845ac098 --- /dev/null +++ b/testing/web-platform/tests/appmanifest/start_url-member/resources/icon.png 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 |