Permalink
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...
joyeecheung authored and jasnell committed Dec 22, 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
Oops, something went wrong.

0 comments on commit 508d976

Please sign in to comment.