Bug 1641452 [wpt PR 23816] - First pass WPT for Web App Manifest, a=testonly draft
authorAaron Gustafson <aaron@easy-designs.net>
Mon, 08 Jun 2020 20:05:49 +0000
changeset 2968275 7fa5dc6696d7dc24701ebb09fe1259c6132ad84d
parent 2966800 ce2095089a2a8eda9b4afc1594c06b7c72994c41
child 2968276 52b70182c7c50d5866ae685abf8ec717bb00c22c
push id550671
push userreviewbot
push dateMon, 08 Jun 2020 20:06:41 +0000
treeherdertry@000ed010e51c [default view] [failures only]
reviewerstestonly
bugs1641452, 23816
milestone79.0a1
Bug 1641452 [wpt PR 23816] - First pass WPT for Web App Manifest, a=testonly Automatic update from web-platform-tests test if link rel manifest is supported (#23816) -- wpt-commits: fd60ba25a0726dfea59024d8143240b355c46a55 wpt-pr: 23816 Differential Diff: PHID-DIFF-4v4waewdl7wwlfpttw54
testing/web-platform/tests/manifest/META.yml
testing/web-platform/tests/manifest/link-rel-manifest.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/manifest/META.yml
@@ -0,0 +1,5 @@
+spec: https://w3c.github.io/manifest/
+suggested_reviewers:
+  - marcoscaceres
+  - mgiuca
+  - kenchris
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/manifest/link-rel-manifest.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<title>Test that "manifest" is a supported value for the `rel` of a `link`</title>
+<link rel="help" href="https://w3c.github.io/manifest">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script>
+test(() => {
+    const result = document.createElement("link").relList.supports("manifest")
+    assert_true(result, "Expected true if manifest is supported as a link relationship");
+}, 'link element supports a rel value of "manifest".');
+</script>