Skip to content

ReferenceError Can't find variable: createImageBitmap #14380

@pahuta

Description

@pahuta

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/react

SDK Version

7.114.0

Framework Version

17.0.2

Link to Sentry event

No response

Reproduction Example/SDK Setup

Sentry.init({
    dsn: config.SENTRY_DSN,
    integrations: [
      Sentry.browserTracingIntegration(),
      Sentry.replayIntegration({
        minReplayDuration: 1000,
        networkDetailAllowUrls: [
          config.API_URL,
        ],
        networkCaptureBodies: true,
        maskAllText: false,
        maskAllInputs: false,
        blockAllMedia: false,
      }),
      Sentry.replayCanvasIntegration(),
    ],
    tracesSampleRate: 0.2,
    replaysSessionSampleRate: 0,
    replaysOnErrorSampleRate: 1.0,
  });

Steps to Reproduce

I see a lot of "ReferenceError Can't find variable: createImageBitmap"
Image
Image

Expected Result

From my point of view, Sentry should check if createImageBitmap defined before call it.

Actual Result

ReferenceError Can't find variable: createImageBitmap

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugPackage: reactIssues related to the Sentry React SDK

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions