https://developer.mozilla.org/en-US/docs/Web/API/File_System...
What's next, mmap() for javascript?
https://developer.mozilla.org/en-US/docs/Web/API/File_System...
What's next, mmap() for javascript?
For example, it should be possible to build websites for downloading YouTube videos that does not use server side code execution or bandwidth. These were popular at some point but disappeared after Java applets stopped being supported by most browsers.
WebSockets are already a problem because many web devs don't know that other origins can connect to them and potentially fetch data they're not supposed to (even ignoring the fact you can construct these without a browser), unleashing raw sockets to the web platform would be hell.
WebRTC and WebSockets provide more than enough already. If you need even more, your browser just isn't the place for this type of code IMO.