jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
4k stars 415 forks source link

Set iframe as credentialless to support COEP environments #329

Open goncalomb opened 1 year ago

goncalomb commented 1 year ago

Hi. A small contribution that adds support for loading the mitm.html from GitHub pages (that does not use COEP), from COEP environments by setting the iframe as credentialless.

Fixes #313 (to be closed). Relates to #318 #213.

https://developer.chrome.com/blog/iframe-credentialless/

https://developer.mozilla.org/en-US/docs/Web/Security/IFrame_credentialless