Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline promise polyfill fallback. #992

Merged
merged 1 commit into from
Feb 17, 2021
Merged

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Feb 17, 2021

The UMD wrapping that was used by es6-promise was causing issues in certain contexts (see embroider-build/embroider#677).

This moves from es6-promise to the same promise polyfill that is used by [email protected] and higher ([email protected] with some tweaks).

@rwjblue rwjblue added the bug label Feb 17, 2021
@scalvert
Copy link
Contributor

Oh boy, this is the gift that keeps on giving...

The UMD wrapping that was used by es6-promise was causing issues in
certain contexts (see embroider-build/embroider#677).

This moves from es6-promise to the same promise polyfill that is used by
[email protected] and higher ([email protected] with some tweaks).
@scalvert
Copy link
Contributor

I there a way we can add tests to ensure this works as expected?

@rwjblue
Copy link
Member Author

rwjblue commented Feb 17, 2021

I there a way we can add tests to ensure this works as expected?

I tested in a local IE11 VM. There are the same number of failures with this PR as there are on master (the failures are around event ordering with things like typeIn, and are not related to async/promises).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants