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