[v10.x backport] url: handle quasi-WHATWG URLs in urlToOptions()
requested to merge github/fork/freewil/backport-26226-url-options-whatwg-fix-to-v10.x into v10.x-staging
Original PR: https://github.com/nodejs/node/pull/26226 Backport-PR-URL: https://github.com/nodejs/node/pull/32446
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines