OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../../../resources/testharness.js"></script> | |
3 <script src="../../../resources/testharnessreport.js"></script> | |
4 <div id="host"> | |
5 <iframe id="iframe"></iframe> | |
6 </div> | |
7 <script> | |
8 test(() => { | |
9 host.attachShadow({mode:"open"}).innerHTML = "<style></style>"; | |
10 iframe.contentDocument.documentElement.appendChild(host); | |
11 }, "Inserting a shadow host with an iframe child into that iframes document should not crash or assert."); | |
12 </script> | |
OLD | NEW |