mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-14 15:13:07 +00:00
18 lines
508 B
HTML
18 lines
508 B
HTML
<script src="include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const properties = Object.getOwnPropertyNames(window);
|
|
const constructors = properties.filter(prop => {
|
|
try {
|
|
const value = window[prop];
|
|
return typeof value === 'function' && !!value.prototype;
|
|
} catch (e) {
|
|
return false;
|
|
}
|
|
});
|
|
constructors.sort();
|
|
|
|
for (const c of constructors)
|
|
println(c);
|
|
});
|
|
</script>
|