OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="../../js/resources/js-test-pre.js"></script> | |
3 | |
4 <details id="d"><div id="e"></div></details> | |
5 | |
6 <script> | |
7 description('Tests that webkitInsertionParent does not leak nodes in user agent shadow DOM'); | |
8 | |
9 jsTestIsAsync = true; | |
10 | |
11 function test() { | |
12 // Look through UA shadow root => no insertion point | |
13 e = document.querySelector('#e'); | |
14 shouldBeNull('e.webkitInsertionParent'); | |
15 | |
16 e.parentNode.remove(); | |
17 | |
18 finishJSTest(); | |
19 } | |
20 window.onload = test; | |
21 | |
22 successfullyParsed = true; | |
23 </script> | |
24 <script src="../../js/resources/js-test-post.js"></script> | |
OLD | NEW |