jimmywarting / StreamSaver.js

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

Ignore messages other than from iframe parent #249

Open lukaw3d opened 2 years ago

lukaw3d commented 2 years ago

Malformed messages from extensions throw errors (though download still works). This filters out messages, except those coming from iframe parent.

To reproduce errors:

AmilKey commented 6 months ago

@jimmywarting do you have plans to merge? this PR also works for other extensions

RndUsername commented 2 weeks ago

+1 this fixed my issues when self hosting the mitm script