Skip to content
Browse files

url: make WHATWG URL properties spec compliant

* Set exposed attributes of the interface enumerable
  and configurable, as required by the spec.
* Make sure `URL#searchParams` returns `[[SameObject]]`
* Add the missing `URL#href` setter
* Reorder the properties to match
* Add tests for the ECMAScript property attributes

PR-URL: #10408
Fixes: #10376
Reviewed-By: James M Snell <>
  • Loading branch information
joyeecheung authored and jasnell committed Dec 29, 2016
1 parent b7fadf0 commit 508d97628b7922123a4159fb54e546580b84b42f
Showing with 513 additions and 330 deletions.
  1. +386 −330 lib/internal/url.js
  2. +127 −0 test/parallel/test-whatwg-url-properties.js

0 comments on commit 508d976

Please sign in to comment.