I have to handle kind of large data sets with plain text. I get these data via a cloud as several chunks and use a web worker to process and format the data. In the end, I want to download it to the user's local storage. Therefore, I'm using Blobs and saveAs() defined in FileSaver.js to grant cross-browser compability. I want to send a reference to the final data via URL.createObjectURL and pass the URL's DOMString back to my main thread. This works very well in Chrome or Edge, but IE11 makes some problem. If I console.log the retrieved URL, Chrome and Edge give me the following result:
blob:"reference to website"/"XXXX-XXXXX-XXXXX-XXXX"
But if I do the same in IE11, I get the following result:
blob:"XXXX-XXXXX-XXXXX-XXXX"
Here is an example code: https://jsfiddle.net/BoesingaGit/Lvx20uj8/6/ I don't use a web worker here, because the problem also exists without it. Sadly, the saveAs function doesn't work in JSFiddle, but it does at my regular code. In Chrome the download of the url would work, but it doesn't in IE. If you take a look at the console, you can see that the URL is different in Chrome and IE. I guess this results in the failed download in IE. Is there a reason, why in IE there is no reference to my website?
Thanks.