v86
v86 copied to clipboard
Add TLS support to fetch based networking.
I don't think I want to take on the large mitm.mjs dependency in the default build of v86. I'd accept the following:
- comment out the test (remove mitm.mjs from the makefile)
- fetch_network.js searches for window.TLS or similar and uses that if present
- document how a user of v86's api could enable tls support for fetch-based networking by importing mitm.js (and adding it to window if mitm.js doesn't already do that)
- alternatively pass tls as an object to V86 (instead of going through window)
- add documentation on how to use this