src: integrate URL::href() and use in inspector
To have the same logic of URL serialization in different modules, I implemented SerializeURL
to generate node::url::URL::href()
which is mentioned in inspector_agent.cc
as ToDo. Migrating lib's side href into C++ would be the next step if there is no blocker.
Refs: https://github.com/nodejs/node/issues/22610
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines