Download Blob from webworker in IE11

白昼怎懂夜的黑 提交于 2019-12-13 02:34:45

问题


I m trying to download a large blob from a web worker.

With Firefox and Chrome it's quite simple:

url = URL.createObjectURL(oMyBlob);
//Then i return the url to the main thread and go to it

But according to this thread IE doesn't allow that, and we must use this:

navigator.msSaveBlob(blob, defaultName);

But navigator seems to not have access to msSaveBlob within a webworker...

What's the best way then to download a Blob (~100MB) within an IE11 worker?

来源:https://stackoverflow.com/questions/26928992/download-blob-from-webworker-in-ie11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!