René's URL Explorer Experiment


Title: fix(core): keep safeJoin side-effect-free for DOM elements (#21353) by archievi · Pull Request #21356 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): keep safeJoin side-effect-free for DOM elements (#21353) by archievi · Pull Request #21356 · getsentry/sentry-javascript

X Title: fix(core): keep safeJoin side-effect-free for DOM elements (#21353) by archievi · Pull Request #21356 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Closes #21353 Added a regression test. Code lints (oxlint) and the affected test suite passes (vitest run packages/core/test/lib/utils/string.test.ts → 29/29). Linked the issue. Summary In 10....

X Description: Closes #21353 Added a regression test. Code lints (oxlint) and the affected test suite passes (vitest run packages/core/test/lib/utils/string.test.ts → 29/29). Linked the issue. Summary In 10....

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/21356

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0ab89312-cf89-3ad1-eaf9-ff68649d6ca3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0A2:2A579A:441922:604C69:6B047217
html-safe-nonce2b1dc5b2e2e204cb7916c089b12b70ad78e1814ff9cfc858815f1ea070f04b06
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEEyOjJBNTc5QTo0NDE5MjI6NjA0QzY5OjZCMDQ3MjE3IiwidmlzaXRvcl9pZCI6IjgyNjQzNDYwNTUyMzIyMjE3MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6413d6b9637a9bc628fc7e1dd5fd435f2a18418b204fd411c7fd9fdc8cd8064c
hovercard-subject-tagpull_request:3820559490
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/21356/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5199ab3da4f2def9c1a45b1d578be0a2a77c0033861c0767b83f3b1a112e974b/getsentry/sentry-javascript/pull/21356
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5199ab3da4f2def9c1a45b1d578be0a2a77c0033861c0767b83f3b1a112e974b/getsentry/sentry-javascript/pull/21356
og:image:altCloses #21353 Added a regression test. Code lints (oxlint) and the affected test suite passes (vitest run packages/core/test/lib/utils/string.test.ts → 29/29). Linked the issue. Summary In 10....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearchievi
hostnamegithub.com
expected-hostnamegithub.com
Noneae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecfb5f24c6e01d85f70804652a5107e5cac03a161
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/21356#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F21356
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F21356
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21356
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21356
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21356
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
isaacshttps://github.com/isaacs
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
archievi:fix/safejoin-element-side-effects-21353https://github.com/archievi/sentry-javascript/tree/fix/safejoin-element-side-effects-21353
Conversationhttps://github.com/getsentry/sentry-javascript/pull/21356
Commits4 (4)https://github.com/getsentry/sentry-javascript/pull/21356/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/21356/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/21356/files
fix(core): keep safeJoin side-effect-free for DOM elements (#21353)https://github.com/getsentry/sentry-javascript/pull/21356#top
isaacshttps://github.com/isaacs
getsentry:develophttps://github.com/getsentry/sentry-javascript/tree/develop
archievi:fix/safejoin-element-side-effects-21353https://github.com/archievi/sentry-javascript/tree/fix/safejoin-element-side-effects-21353
https://github.com/archievi
archievihttps://github.com/archievi
Jun 8, 2026https://github.com/getsentry/sentry-javascript/pull/21356#issue-4609396955
#21353https://github.com/getsentry/sentry-javascript/issues/21353
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/archievi
fix(core): keep safeJoin side-effect-free for DOM elements (https://github.com/getsentry/sentry-javascript/pull/21356/commits/ac83528ae441b38f34462dffc9bc03f56f2a5a30
getsentry…https://github.com/getsentry/sentry-javascript/issues/21353
ac83528https://github.com/getsentry/sentry-javascript/pull/21356/commits/ac83528ae441b38f34462dffc9bc03f56f2a5a30
…#21353https://github.com/getsentry/sentry-javascript/issues/21353
https://github.com/isaacs
isaacshttps://github.com/isaacs
June 8, 2026 18:01https://github.com/getsentry/sentry-javascript/pull/21356#event-26484814862
https://github.com/isaacs
isaacshttps://github.com/isaacs
Jun 8, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4452136071
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21356/files/1a91ea99f8cc50762d2f411ac6cf890c29ff0b0e
isaacshttps://github.com/isaacs
https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4452136071
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/isaacs
isaacshttps://github.com/isaacs
June 8, 2026 18:05https://github.com/getsentry/sentry-javascript/pull/21356#event-26484971577
archievihttps://github.com/archievi
June 8, 2026 14:25https://github.com/getsentry/sentry-javascript/pull/21356#commits-pushed-1a91ea9
https://github.com/archievi
Merge branch 'develop' into fix/safejoin-element-side-effects-21353https://github.com/getsentry/sentry-javascript/pull/21356/commits/1a91ea99f8cc50762d2f411ac6cf890c29ff0b0e
1a91ea9https://github.com/getsentry/sentry-javascript/pull/21356/commits/1a91ea99f8cc50762d2f411ac6cf890c29ff0b0e
https://github.com/andreiborza
Use native prototype accessors in htmlTreeAsString to avoid invokinghttps://github.com/getsentry/sentry-javascript/pull/21356/commits/e15462fce60c892d5355f5b24183b70d9dbd264d
e15462fhttps://github.com/getsentry/sentry-javascript/pull/21356/commits/e15462fce60c892d5355f5b24183b70d9dbd264d
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
code ownerhttps://github.com/getsentry/sentry-javascript/blob/396a0e8b2eb5391132b1463a7cc60f0a7f868685/.github/CODEOWNERS#L3
June 9, 2026 08:20https://github.com/getsentry/sentry-javascript/pull/21356#event-26512547752
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
logaretmhttps://github.com/logaretm
mydeahttps://github.com/mydea
June 9, 2026 08:20https://github.com/getsentry/sentry-javascript/pull/21356#event-26512548124
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4456649765
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21356/files/1a91ea99f8cc50762d2f411ac6cf890c29ff0b0e
andreiborzahttps://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4456649765
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4456679357
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21356/files/e15462fce60c892d5355f5b24183b70d9dbd264d
packages/browser-utils/src/htmlTreeAsString.tshttps://github.com/getsentry/sentry-javascript/pull/21356/files/e15462fce60c892d5355f5b24183b70d9dbd264d#diff-ef7909bd7d22ae9031ae4c2a54968e8fc9f5cc93c8211fdb06bb0c76d1eed6d7
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
chargomehttps://github.com/chargome
nicohrubechttps://github.com/nicohrubec
logaretmhttps://github.com/logaretm
mydeahttps://github.com/mydea
June 9, 2026 09:08https://github.com/getsentry/sentry-javascript/pull/21356#event-26514647497
https://github.com/chargome
chargomehttps://github.com/chargome
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4457375002
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21356/files/e15462fce60c892d5355f5b24183b70d9dbd264d
packages/browser-utils/src/htmlTreeAsString.tshttps://github.com/getsentry/sentry-javascript/pull/21356/files/e15462fce60c892d5355f5b24183b70d9dbd264d#diff-ef7909bd7d22ae9031ae4c2a54968e8fc9f5cc93c8211fdb06bb0c76d1eed6d7
chargomehttps://github.com/chargome
Jun 9, 2026https://github.com/getsentry/sentry-javascript/pull/21356#discussion_r3379584606
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
andreiborzahttps://github.com/andreiborza
Jun 9, 2026https://github.com/getsentry/sentry-javascript/pull/21356#discussion_r3380310236
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
04f75dfhttps://github.com/getsentry/sentry-javascript/pull/21356/commits/04f75df603a6c5c1273e3097edf55ab6058d96ba
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
packages/browser-utils/src/htmlTreeAsString.tshttps://github.com/getsentry/sentry-javascript/pull/21356/files/e15462fce60c892d5355f5b24183b70d9dbd264d#diff-ef7909bd7d22ae9031ae4c2a54968e8fc9f5cc93c8211fdb06bb0c76d1eed6d7
chargomehttps://github.com/chargome
Jun 9, 2026https://github.com/getsentry/sentry-javascript/pull/21356#discussion_r3379660790
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
andreiborzahttps://github.com/andreiborza
Jun 9, 2026https://github.com/getsentry/sentry-javascript/pull/21356#discussion_r3380313457
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
04f75dfhttps://github.com/getsentry/sentry-javascript/pull/21356/commits/04f75df603a6c5c1273e3097edf55ab6058d96ba
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/andreiborza
Wrap with try/catchhttps://github.com/getsentry/sentry-javascript/pull/21356/commits/04f75df603a6c5c1273e3097edf55ab6058d96ba
04f75dfhttps://github.com/getsentry/sentry-javascript/pull/21356/commits/04f75df603a6c5c1273e3097edf55ab6058d96ba
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Lms24https://github.com/Lms24
andreiborzahttps://github.com/andreiborza
chargomehttps://github.com/chargome
logaretmhttps://github.com/logaretm
nicohrubechttps://github.com/nicohrubec
June 9, 2026 11:46https://github.com/getsentry/sentry-javascript/pull/21356#event-26520790523
https://github.com/chargome
chargomehttps://github.com/chargome
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4458249179
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21356/files/04f75df603a6c5c1273e3097edf55ab6058d96ba
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#pullrequestreview-4458255911
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/21356/files/04f75df603a6c5c1273e3097edf55ab6058d96ba
https://github.com/isaacs
isaacshttps://github.com/isaacs
4b75699https://github.com/getsentry/sentry-javascript/commit/4b75699d576b821582fda773baf9b828a6644159
Jun 9, 2026https://github.com/getsentry/sentry-javascript/pull/21356#event-26521540993
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/apps/javascript-sdk-gitflow
javascript-sdk-gitflowhttps://github.com/apps/javascript-sdk-gitflow
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#ref-pullrequest-4621795006
chore: Add external contributor to CHANGELOG.md #21399 https://github.com/getsentry/sentry-javascript/pull/21399
nicohrubechttps://github.com/nicohrubec
Jun 9, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#ref-commit-454a32d
https://github.com/apps/javascript-sdk-gitflow
https://github.com/isaacs
https://github.com/nicohrubec
chore: Add external contributor to CHANGELOG.md (https://github.com/getsentry/sentry-javascript/commit/454a32d4cbec5f234057e999e4c48ef41741011c
#21399https://github.com/getsentry/sentry-javascript/pull/21399
)https://github.com/getsentry/sentry-javascript/commit/454a32d4cbec5f234057e999e4c48ef41741011c
454a32dhttps://github.com/getsentry/sentry-javascript/commit/454a32d4cbec5f234057e999e4c48ef41741011c
#21356https://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Jun 15, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#ref-issue-4664896820
publish: getsentry/sentry-javascript@10.58.0 getsentry/publish#8560 https://github.com/getsentry/publish/issues/8560
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 15, 2026 https://github.com/getsentry/sentry-javascript/pull/21356#ref-issue-4602703931
Console breadcrumb serialization invokes getters & DOM traversal on logged objects (regression in 10.55.0: safeJoin now uses stringifyValue instead of String) #21353 https://github.com/getsentry/sentry-javascript/issues/21353
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F21356
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-javascript/pull/21356/files/e15462fce60c892d5355f5b24183b70d9dbd264d
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/getsentry/sentry-javascript/pull/21356/files/1a91ea99f8cc50762d2f411ac6cf890c29ff0b0e
https://github.com/chargome
chargome https://github.com/chargome
https://github.com/getsentry/sentry-javascript/pull/21356/files/04f75df603a6c5c1273e3097edf55ab6058d96ba
https://github.com/andreiborza
andreiborza https://github.com/andreiborza
https://github.com/getsentry/sentry-javascript/pull/21356/files/04f75df603a6c5c1273e3097edf55ab6058d96ba
https://github.com/logaretm
logaretm https://github.com/logaretm
https://github.com/Lms24
Lms24 https://github.com/Lms24
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
Console breadcrumb serialization invokes getters & DOM traversal on logged objects (regression in 10.55.0: safeJoin now uses stringifyValue instead of String) https://github.com/getsentry/sentry-javascript/issues/21353
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21356
https://github.com/archievi
https://github.com/isaacs
https://github.com/chargome
https://github.com/andreiborza
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.