url: expose the WHATWG URL API globally
Install URL
and URLSearchParams
on the global object, like they can be
found in browser environments.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
url
/cc @nodejs/tsc @nodejs/url @jasnell
Quick CI: https://ci.nodejs.org/job/node-test-pull-request-lite/106/
Quick CI: https://ci.nodejs.org/job/node-test-pull-request-lite/107/