console, util: add dirxml method
This is an absolute first draft. This method was previously exposed by V8 (since Node v8.0.0) and not implemented in Node directly. Tests coming soon.
Refs: https://github.com/nodejs/node/issues/17128
Please don't hesitate to leave me an advice. Tests are coming, and doc, but I first want to be sure I'm doing it right, or not bad at least.
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)
console, util