The issue I'm encountering is specific to my application, regardless of the browser (IE & Chrome). If I execute window.URL.createObjectURL(blob)
in the console of any other page on both browsers, it works perfectly. However, within the tab where my application is open, window.URL.createObjectURL(blob)
returns undefined.
I am uncertain about which library might be removing the "createObjectURL" method.
Below are the scripts included:
<script src="src/js/libs/jquery/dist/jquery.js"></script>
<script src="src/js/libs/toastr/toastr.js"></script>
<script src="src/js/libs/moment/moment.js"></script>
<script src="src/js/libs/bootstrap/dist/js/bootstrap.js"></script>
<script src="src/js/libs/angular/angular.js"></script>
<script src="src/js/libs/angular-route/angular-route.js"></script>
<script src="src/js/libs/angular-sanitize/angular-sanitize.js></script>
<script src="src/js/libs/angular-animate/angular-animate.js"></script>
<script src="src/js/libs/angular-mocks/angular-mocks.js"></script>
<script src="src/js/libs/angular-bootstrap/ui-bootstrap-tpls.js"></script>
I'm struggling to find out how to access window.URL.createObjectURL
Here is the error message from IE console:
Error: [IGL] Object doesn't support property or method 'createObjectURL' TypeError: Object doesn't support property or method 'createObjectURL'
And here is the error from Chrome:
Error: [IGL] window.URL.createObjectURL is not a function TypeError: window.URL.createObjectURL is not a function
Thank you in advance for any assistance.