Hi any one have idea about how to open an blob object in IE new Tab
var blob = base64toBlob(blobresponse);
if (blob) {
if (window.navigator &&
window.navigator.msSaveOrOpenBlob) {
var a = document.createElement("a");
document.body.appendChild(a);
a.href = window.URL.createObjectURL(blob);
a.target = "_blank"
a.download = "test.pdf";
a.click();
} else {
var objectUrl = URL
.createObjectURL(blob);
window
.open(objectUrl);
}
}
As far I know, IE has a problem with opening blob URL in new tab. But you can force it to download.
But if you want to view PDF in IE, you can try to use pdf.js (link)
you can do it using iframe