Skip to content

Conversation

kamilogorek
Copy link
Contributor

@kamilogorek kamilogorek commented Oct 14, 2019

Fixes: #2271
Fixes: #2265

Promise A+ spec doesn't include catch (which is only syntax sugar for (null, () => {}) in V8), so we don't use it here. This will allow any promise implementation to be used in place of SyncPromise in the future, or in any publicly facing APIs that use PromiseLike – https://promisesaplus.com/

@kamilogorek kamilogorek requested a review from HazAT October 14, 2019 13:26
@getsentry-bot
Copy link
Contributor

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖 ✅ TSLint passed
📖

@sentry/browser bundle gzip'ed minified size: (ES5: 15.4102 kB) (ES6: 14.6113 kB)

Generated by 🚫 dangerJS against 928b455

Copy link
Member

@HazAT HazAT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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

Successfully merging this pull request may close these issues.

Is 'Symbol' polyfill required for 5.7.0? Class 'SyncPromise<T>' incorrectly implements interface 'Promise<T>'. for @sentry/browser@5.7.0
3 participants