ladybird/Tests/LibWeb/Text/input/URL/URL-operations-properties.html
Shannon Booth e9dd05b2b5 LibWeb: Correct attributes on IDL interface 'operations'
This fixes four tests for the IDL harness for URL under:

https://wpt.live/url/idlharness.any.html
and https://wpt.live/url/idlharness.any.worker.html

But probably some tests in other places too :^)
2024-10-05 10:46:30 +02:00

10 lines
399 B
HTML

<script src="../include.js"></script>
<script>
test(() => {
const descriptor = Object.getOwnPropertyDescriptor(URL, "canParse");
println(`writable: ${descriptor.writable}`);
println(`configurable: ${descriptor.configurable}`);
println(`enumerable: ${descriptor.enumerable}`);
println(`value (the function itself): ${descriptor.value}`);
});
</script>