title: IE: navigator.msSaveBlob not working on IE 11
body: <p>I am trying to export CSV file it works fine on Edge, Chrome, Firefox but on IE 11 it fails.</p>
  
  <pre><code>        var objectUrl =someURL;
          if (navigator.appVersion.toString().indexOf('.NET') &gt; 0) {
              var csvData = new Blob([data], { type: 'text/csv;charset=utf-8;' });
              var fileName = 'fileName.csv';
              window.navigator.msSaveBlob(csvData, fileName);
          }
          else {
              var a = document.createElement("a");
              a.style.display = "none";
              a.href = objectUrl;
              a.download = 'fileName.csv';
              document.body.appendChild(a);
              a.click();
          }
  </code></pre>
  
  <p>On IE 11 file gets downloaded but when I try to open it gives below error:</p>
  
  <p><a href="https://i.stack.imgur.com/EgUQB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EgUQB.png" alt="enter image description here"></a></p>