Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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>
- Loading branch information
Showing
with
513 additions
and 330 deletions.
- +386 −330 lib/internal/url.js
- +127 −0 test/parallel/test-whatwg-url-properties.js
Oops, something went wrong.