mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 18:37:37 +02:00
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 :^) (cherry picked from commit e9dd05b2b52aa6363b5c5e2e90099b8e1c28e868)
11 lines
399 B
HTML
11 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>
|