Skip to content

lib: add the Navigator object

Add the Navigator object with the Device Memory API.

Fixes: https://github.com/nodejs/node/issues/39540 Refs: https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object Refs: https://w3c.github.io/device-memory

I couldn't add the WPT for Navigator, because they all failed (mainly because they depend a lot on the browser environment and the implementation is not complete). By the way, I would like to know if the tests are sufficient.

Merge request reports

Loading