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

[BUGFIX beta] Migrate autorun microtask queue to Promise.then #17618

Merged
merged 1 commit into from Feb 20, 2019

Commits on Feb 20, 2019

  1. [BUGFIX beta] Update Backburner.js to 2.5.0.

    The primary change in Backburner.js is to use the Promise microtask
    queue primarily and falling back to MutationObserver when Promise is not
    present.
    
    The test changes here are to migrate from `window.onerror` to
    `window.onunhandledrejection` hooks (due to moving the microtask
    delivery from `MutationObserver` to native `Promise`). The cross
    platform support for `onunhandledrejection` is a tad spotty (Chrome,
    Edge, and _soon_ Firefox), so I had to guard in other browsers.
    rwjblue committed Feb 20, 2019
    Copy the full SHA
    5596d27 View commit details
    Browse the repository at this point in the history