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