mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
11 lines
354 B
HTML
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>
|