blob: 4ae9611c0a32986923eb280528d1471cdd439681 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
document.register = document.register || document.webkitRegister;
document.register("x-foo", { prototype: Object.create(HTMLElement.prototype, { readyCallback: { value: function () { this.innerHTML = "<x-foo>Hello</x-foo>"; } } }) });
if (window.testRunner)
testRunner.dumpAsText();
document.createElement("x-foo");
debug("PASS unless crash");
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>