blob: a54f3629caf7ab7f55ecb60e46007f62a3d1b51a [file] [log] [blame]
<!DOCTYPE html>
<title>Test that icons member is supported (via CORS)</title>
<link rel="help" href="https://w3c.github.io/manifest#icons-member" />
<link rel="manifest" href="icons-member-cors.sub.webmanifest" />
<h1>Testing support for icons member (via CORS)</h1>
<script>
// Force the port of the origin to be ports[https][0] (likely :8443)
// we treat the port ports[https][1] (likely :8444) to be another origin that we fail against
if (window.location.origin !== "https://{{host}}:{{ports[https][0]}}") {
window.location = new URL(window.location.pathname, "https://{{host}}:{{ports[https][0]}}")
}
</script>
<p>
To pass, the icon must show a white check mark on a green background.
</p>