Backport WHATWG URL to 6.x
Includes all commits related to the WHATWG URL parser up until now. To ease backporting, many changes to url
documentation not directly related to the new parser are also included. For compatibility concerns, the new url.format(whatwgURLObj)
overload and WHATWG URL support in fs
and http
are not backported.
PRs #11464, #9246, #13362, which the current WHATWG URL implementation requires, are backported in separate commits as they are logically separate, even if the commits themselves were made after the WHATWG parser landed and contained changes to it.
Fixes: https://github.com/nodejs/Release/issues/208
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