Commit 7fbd12f
url: make WHATWG URL properties spec compliant
* Set exposed attributes of the interface enumerable
and configurable, as required by the spec.
See: https://heycam.github.io/webidl/#es-attributes
* Make sure `URL#searchParams` returns `[[SameObject]]`
* Add the missing `URL#href` setter
* Reorder the properties to match
https://url.spec.whatwg.org/#api
* Add tests for the ECMAScript property attributes
PR-URL: #10408
Fixes: #10376
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 0b2bc5e commit 7fbd12f
File tree
2 files changed
+513
-330
lines changed- lib/internal
- test/parallel
2 files changed
+513
-330
lines changed
0 commit comments