flutter_flutter/tests/custom-elements/lifecycle-created-createElement-recursion.sky
2014-11-03 12:34:57 -08:00

11 lines
341 B
Plaintext

<html>
<import src="../resources/dump-as-text.sky" />
<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>