Repository navigation
feat(rrweb): Add getTrustedScriptURL option to CanvasManager - #367
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
msonnb
force-pushed
the
ms/canvas-trusted-types
branch
from
November 24, 2026 15:10
4ccbba1 to
9411355
Compare
msonnb
marked this pull request as ready for review
November 24, 2026 15:11
Draft
1 of 12 tasks
Lms24
approved these changes
Nov 25, 2026
msonnb
added a commit
to getsentry/sentry-javascript
that referenced
this pull request
Nov 25, 2026
## What Bumps `@sentry/rrweb`, `@sentry/rrweb-snapshot` and `@sentry/rrweb-types` from 2.46.2 to 2.47.0. ## Why 2.47.0 adds a `getTrustedScriptURL` option to rrweb's `CanvasManager` (getsentry/rrweb#367), so the next SDK release can pick it up. <!-- junior-request-attribution:start --> via @msonnb. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0C5DRTAU2X%3A1795616155.465319 --> -- [View Session](https://junior-prod.sentry.dev/conversations/slack%3AC0C5DRTAU2X%3A1795616155.465319) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0C5DRTAU2X%3A1795616155.465319/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: Martin Sonnberger <26038247+msonnb@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Canvas recording creates its worker from a
blob:URL string, which pages enforcing Trusted Types (require-trusted-types-for 'script') block.The new option lets the caller convert that URL, so the Sentry SDK can use its own
sentry-sdkpolicy (getsentry/sentry-javascript#26764) and users don't have to allow another policy name for rrweb. Behavior is unchanged without it.Refs getsentry/sentry-javascript#24744