"It's important to point out that it is designed to complement JavaScript not replace it and that in a browser context it has no direct access to the DOM, only via JavaScript."
That maybe true of current implementations but the design docs[0] appear to suggest that you will be able to import platform features in WebAssembly.
[0] https://github.com/WebAssembly/design/blob/master/Portabilit...