blob: 313fb2b96b4fb5fabd130831226134cfc554e572 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<title>
Manifest attached to document without a browsing context
</title>
<link rel="help" href="https://html.spec.whatwg.org/#link-type-manifest" />
<script>
// Create an orphan document, and make sure it doesn't get used
const doc = document.implementation.createHTMLDocument("Orphan document");
const link = doc.createElement("link");
link.rel = "manifest";
link.href = "/appmanifest/name-member/name-member-fail.webmanifest";
doc.head.append(link);
</script>
<h1>Manifest attached to document that does not have a browsing context</h1>
<p>
To pass, the user agent must not use the manifest in the unattached document.
</p>
|