You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to use the ES6 Promise through BabelJS with Webpack in Internet Explorer 9, but the moment I include a Promise IE9 errors.
It gives me the following error: 'SCRIPTXXX: Invalid calling object'.
Debugging the error points to the following line in the code:
// Modern browsers, skip implementation for WebWorkers// IE8 has postMessage, but it's sync & typeof its postMessage is object}elseif(addEventListener&&isFunction(postMessage)&&!global.importScripts){defer=function(id){postMessage(id,'*');};addEventListener('message',listner,false);// WebWorkers
It gives me the error at the addEventListener('message', listner, false); statement.
I hope I have time to debug the error further the coming weekend, but for now I'm using the es6-promise polyfill which works fine.
The text was updated successfully, but these errors were encountered:
I've tried to use the ES6 Promise through BabelJS with Webpack in Internet Explorer 9, but the moment I include a Promise IE9 errors.
It gives me the following error: 'SCRIPTXXX: Invalid calling object'.
Debugging the error points to the following line in the code:
It gives me the error at the
addEventListener('message', listner, false);
statement.I hope I have time to debug the error further the coming weekend, but for now I'm using the es6-promise polyfill which works fine.
The text was updated successfully, but these errors were encountered: