ladybird/Tests/LibWeb/Text/input/SVG/svg-element-proto.html
Jelle Raaijmakers 614b93beca Meta: Set constructor prototype in IDLGenerators
Without this, retrieving `__proto__` from any interface will always
yield an instance of `FunctionPrototype`.
2024-11-26 12:44:05 +00:00

10 lines
382 B
HTML

<script src="../include.js"></script>
<script>
test(() => {
println(SVGElement.toString());
println(SVGElement.__proto__.toString());
println(SVGElement.__proto__.__proto__.toString());
println(SVGElement.__proto__.__proto__.__proto__.toString());
println(SVGElement.__proto__.__proto__.__proto__.__proto__.toString());
});
</script>