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

fix(browser): Wait until response has finished streaming before calling fetch handlers #11558

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

lforst
Copy link
Member

@lforst lforst commented Apr 11, 2024

No description provided.

Copy link
Contributor

github-actions bot commented Apr 11, 2024

size-limit report 📦

Path Size
@sentry/browser 22.31 KB (+0.62% 🔺)
@sentry/browser (incl. Tracing) 31.87 KB (+0.39% 🔺)
@sentry/browser (incl. Tracing, Replay) 67.19 KB (+0.19% 🔺)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.61 KB (+0.23% 🔺)
@sentry/browser (incl. Tracing, Replay with Canvas) 71.03 KB (+0.18% 🔺)
@sentry/browser (incl. Tracing, Replay, Feedback) 80.92 KB (+0.16% 🔺)
@sentry/browser (incl. Feedback) 35.86 KB (+0.38% 🔺)
@sentry/browser (incl. Feedback, Feedback Modal) 35.86 KB (+0.38% 🔺)
@sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.89 KB (+0.37% 🔺)
@sentry/browser (incl. sendFeedback) 27.09 KB (+0.48% 🔺)
@sentry/react 24.99 KB (+0.54% 🔺)
@sentry/react (incl. Tracing) 34.78 KB (+0.38% 🔺)
@sentry/vue 25.88 KB (+0.53% 🔺)
@sentry/vue (incl. Tracing) 33.61 KB (+0.47% 🔺)
@sentry/svelte 22.43 KB (+0.6% 🔺)
CDN Bundle 24.41 KB (+0.43% 🔺)
CDN Bundle (incl. Tracing) 32.88 KB (+0.32% 🔺)
CDN Bundle (incl. Tracing, Replay) 66.51 KB (+0.15% 🔺)
CDN Bundle (incl. Tracing, Replay, Feedback) 82.7 KB (+0.13% 🔺)
CDN Bundle - uncompressed 72.71 KB (+0.43% 🔺)
CDN Bundle (incl. Tracing) - uncompressed 98.68 KB (+0.32% 🔺)
CDN Bundle (incl. Tracing, Replay) - uncompressed 208.34 KB (+0.15% 🔺)
@sentry/nextjs (client) 34.14 KB (+0.37% 🔺)
@sentry/sveltekit (client) 32.38 KB (+0.39% 🔺)
@sentry/node 120.33 KB (0%)

Comment on lines +100 to +104
return new Promise(resolve => {
setTimeout(() => {
resolve(response);
}, 0);
});
Copy link
Member Author

Choose a reason for hiding this comment

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

God I hate that we need this not to fail breadcrumb tests on webkit

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.

None yet

1 participant