Skip to content

feat(browser): Handles data URIs in chrome stack frames #17292

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Aug 3, 2025

This PR copies what we did for Node (#17218) but for the Chromium stack parser.

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

github-actions bot commented Aug 3, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.81 kB +0.2% +46 B 🔺
@sentry/browser - with treeshaking flags 22.4 kB +0.22% +49 B 🔺
@sentry/browser (incl. Tracing) 39.48 kB +0.12% +44 B 🔺
@sentry/browser (incl. Tracing, Replay) 77.57 kB +0.08% +57 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.44 kB +0.08% +50 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 82.28 kB +0.08% +61 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 94.4 kB +0.05% +46 B 🔺
@sentry/browser (incl. Feedback) 40.5 kB +0.12% +45 B 🔺
@sentry/browser (incl. sendFeedback) 28.49 kB +0.16% +43 B 🔺
@sentry/browser (incl. FeedbackAsync) 33.39 kB +0.16% +52 B 🔺
@sentry/react 25.54 kB +0.19% +46 B 🔺
@sentry/react (incl. Tracing) 41.45 kB +0.12% +49 B 🔺
@sentry/vue 28.25 kB +0.18% +48 B 🔺
@sentry/vue (incl. Tracing) 41.29 kB +0.15% +58 B 🔺
@sentry/svelte 23.84 kB +0.2% +46 B 🔺
CDN Bundle 25.33 kB +0.18% +44 B 🔺
CDN Bundle (incl. Tracing) 39.34 kB +0.11% +40 B 🔺
CDN Bundle (incl. Tracing, Replay) 75.42 kB +0.06% +38 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 80.86 kB +0.06% +43 B 🔺
CDN Bundle - uncompressed 73.97 kB +0.14% +102 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 116.45 kB +0.09% +102 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 230.66 kB +0.05% +102 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 243.48 kB +0.05% +102 B 🔺
@sentry/nextjs (client) 43.5 kB +0.1% +40 B 🔺
@sentry/sveltekit (client) 39.92 kB +0.15% +59 B 🔺
@sentry/node-core 47.53 kB - -
@sentry/node 146.19 kB - -
@sentry/node - without tracing 91.63 kB - -
@sentry/aws-serverless 103.08 kB - -

View base workflow run

@@ -61,10 +61,21 @@ const chromeRegex =

const chromeEvalRegex = /\((\S*)(?::(\d+))(?::(\d+))\)/;

// at dynamicFn (data:application/javascript,export function dynamicFn() {...
Copy link
Member

Choose a reason for hiding this comment

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

not sure if I understand this comment, is dynamicFn important to this?

Copy link
Member

Choose a reason for hiding this comment

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

ah, this is just the example string that is being matched I guess, makes sense then!

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.

2 participants