Skip to content

PerformanceResourceTiming.nextHopProtocol is used without check for support #16804

Open
@Mantish

Description

@Mantish

Is there an existing issue for this?

How do you use Sentry?

Self-hosted/on-premise

Which SDK are you using?

@sentry/browser

SDK Version

9.34.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

We're updating our Sentry dependencies from v8 to v9, but Sentry performance monitoring (tracing integration) causes a breaking error in devices that use older browsers.

Looking at the error data, we can trace the error to the usage of nextHopProtocol without check for support. I can see that this code was added in #15161

Steps to Reproduce

Just loading any page and initializing Sentry triggers this error.

Expected Result

Sentry should initialize without issues, even in older browsers that don't have full support of browser APIs

Actual Result

Sentry triggers an error that breaks the whole application

Image

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions