mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
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 :^)
This commit is contained in:
committed by
Andreas Kling
parent
fb2b78620d
commit
e9dd05b2b5
Notes:
github-actions[bot]
2024-10-05 08:48:01 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/e9dd05b2b52 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1636
10
Tests/LibWeb/Text/input/URL/URL-operations-properties.html
Normal file
10
Tests/LibWeb/Text/input/URL/URL-operations-properties.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user