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
After updating to 3.2.0/3.2.2 of axe-core, I noticed a lot of our QUnit test suite failed in interesting ways, where Promise resolution was involved.
After debugging, it turned out when loading axe-core, a promise polyfill was loaded that overrides the native promise behavior. Not only that, it overrides our own polyfill implementation when we use one ourselves.
Can the polyfill only be used if window.Promise doesn't exist? Right now, it overwrites what is in place.
The text was updated successfully, but these errors were encountered:
cscrosati
changed the title
Axe-Core 3.2.0 added an ES6 Promise polyfills that overwrites native promise behavior
Axe-Core 3.2.0 added an ES6 Promise polyfill that overwrites native promise behavior
Apr 2, 2019
After updating to 3.2.0/3.2.2 of axe-core, I noticed a lot of our QUnit test suite failed in interesting ways, where Promise resolution was involved.
After debugging, it turned out when loading axe-core, a promise polyfill was loaded that overrides the native promise behavior. Not only that, it overrides our own polyfill implementation when we use one ourselves.
Can the polyfill only be used if window.Promise doesn't exist? Right now, it overwrites what is in place.
The text was updated successfully, but these errors were encountered: