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
Run polyfill in environment that natively supports unhandledrejection event (tested in Chrome 65).
Sample code
window.addEventListener('unhandledrejection',(e)=>{if(einstanceofPromiseRejectionEvent){console.log('native unhandledrejection',e.reason)}else{console.log('polyfilled unhandledrejection',e.reason)}});polyfill();// force polyfill
Steps to reproduce
Run polyfill in environment that natively supports
unhandledrejection
event (tested in Chrome 65).Sample code
Expected results
Both native and polyfill events fire consistently.
Actual results
Native
unhandledrejection
fires in all three cases.Polyfilled
unhandledrejection
fires in cases A and B, but not C.The text was updated successfully, but these errors were encountered: