Skip to content

[Next.js] replayCanvasIntegration Safari issue #13565

@slaviczavik

Description

@slaviczavik

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

8.27.0

Framework Version

React 18.2.0, Next.js 14.2.3

Link to Sentry event

No response

Reproduction Example/SDK Setup

Sentry.init({
  environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT,
  release: process.env.NEXT_PUBLIC_SENTRY_RELEASE,
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,

  replaysSessionSampleRate: 0.1,
  replaysOnErrorSampleRate: 1.0,

  integrations: [
    Sentry.replayIntegration({
      maskAllText: false,
      maskAllInputs: false,
    }),
    Sentry.replayCanvasIntegration(), // The problem!
  ],
  ignoreErrors: SENTRY_IGNORED_ERRORS,
})
  • The problem is with the replayCanvasIntegration().
  • The problem was noticed within 7.48.0 version, I've tried to update to the latest but the issue stays.

Steps to Reproduce

  1. Open web app in Safari (my version is 17.5).
  2. Open Safari Developer Tools.
  3. Switch to the Network tab (XHR/Fetch).

You can see a snapshot is fetch every single second from this URI: blob:https://domain.tld/UUID.

Expected Result

Same behaviour as in Chrome where no snapshots is fetched.

Actual Result

Image

Metadata

Metadata

Assignees

Labels

BugPackage: nextjsIssues related to the Sentry Nextjs SDKPackage: replayIssues related to the Sentry Replay SDK

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions