v86 icon indicating copy to clipboard operation
v86 copied to clipboard

Add TLS support to fetch based networking.

Open basicer opened this issue 5 months ago • 1 comments

basicer avatar Jul 03 '25 22:07 basicer

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

copy avatar Jul 22 '25 13:07 copy