Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / custom / lifecycle-created-createElement-recursion.html
blob5f9d983bb50f92bdc0507bc42f5f0dbd07ed85e9
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) });
9 if (window.testRunner)
10 testRunner.dumpAsText();
11 document.createElement("x-foo");
12 debug("PASS unless crash");
13 </script>
14 </body>
15 </html>