flutter_flutter/tests/custom-elements/lifecycle-created-createElement-recursion.html
2014-10-23 11:17:19 -07:00

11 lines
354 B
HTML

<html>
<link rel="import" href="../resources/dump-as-text.html" />
<body>
<script>
document.registerElement("x-foo", { prototype: Object.create(HTMLElement.prototype, { createdCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) });
document.createElement("x-foo");
console.log("PASS unless crash");
</script>
</body>
</html>