Skip to content

Conversation

@onurtemizkan
Copy link
Collaborator

Fixes: #3800

Ideally, should be tested on different browsers/versions with real stack traces. Ref: #3841

@github-actions
Copy link
Contributor

github-actions bot commented Jul 27, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.51 KB (+0.23% 🔺)
@sentry/browser - Webpack 22.53 KB (+0.27% 🔺)
@sentry/react - Webpack 22.56 KB (+0.27% 🔺)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.92 KB (+0.16% 🔺)

Copy link
Contributor

@kamilogorek kamilogorek left a comment

Choose a reason for hiding this comment

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

We always return null from getLastValidUrl anyway, so we can remove the ternary operators there.

@onurtemizkan
Copy link
Collaborator Author

@kamilogorek, fixed 👍

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.

[browser] Handle anonymous callbacks more gracefully when using allowUrls/denyUrls

3 participants