| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 if (!window.internals) | 6 if (!window.internals) |
| 7 debug("windows.internals not found!"); | 7 debug("windows.internals not found!"); |
| 8 else if (!window.internals.hasContentElement) | 8 else if (!window.internals.hasContentElement) |
| 9 debug("windows.internals.hasContentElement not found!"); | 9 debug("windows.internals.hasContentElement not found!"); |
| 10 </script> | 10 </script> |
| 11 </head> | 11 </head> |
| 12 <body> | 12 <body> |
| 13 | 13 |
| 14 <p>Test for Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=100921">100921<
/a> and <a href="https://bugs.webkit.org/show_bug.cgi?id=104346">104346</a>: HTM
LContentElement should be registered correctly.</p> | 14 <p>Test for Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=100921">100921<
/a> and <a href="https://bugs.webkit.org/show_bug.cgi?id=104346">104346</a>: HTM
LContentElement should be registered correctly.</p> |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 shouldBeTrue('internals.hasContentElement(shadowRoot)'); | 100 shouldBeTrue('internals.hasContentElement(shadowRoot)'); |
| 101 shadowRoot.removeChild(div1); | 101 shadowRoot.removeChild(div1); |
| 102 shouldBeFalse('internals.hasContentElement(shadowRoot)'); | 102 shouldBeFalse('internals.hasContentElement(shadowRoot)'); |
| 103 div1.removeChild(content); | 103 div1.removeChild(content); |
| 104 | 104 |
| 105 wrapper.innerHTML = ''; | 105 wrapper.innerHTML = ''; |
| 106 </script> | 106 </script> |
| 107 </body> | 107 </body> |
| 108 </html> | 108 </html> |
| 109 | 109 |
| OLD | NEW |