Skip to content

ES5 build contains Object.values (not compatible API) #7354

@mormubis

Description

@mormubis

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.

Sentry Browser CDN Bundle

SDK Version

7.41.0

Framework Version

No response

Link to Sentry event

No response

SDK Setup

Sentry.init({
  dsn: SENTRY_DSN,
  enabled: environment === 'production',
  environment: environment,
  integrations: [new Sentry.BrowserTracing()],
  release: release,
  sampleRate: 0.1
});

Steps to Reproduce

  1. Embed CDN ES5 compatible into the web
<script src="https://browser.sentry-cdn.com/7.41.0/bundle.tracing.es5.min.js" integrity="sha384-G+HGDZekBGpiZjsaZOBfHv0LYnESOZwIDjPZo5h6lvV9te4uphRMpHciStXz2a/k" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  1. Check dev tools through IE11.

Screenshot 2023-03-06 at 3 53 34 PM
Screenshot 2023-03-06 at 3 53 38 PM

Expected Result

No ES6 or greater syntax.

Actual Result

SCRIPT438: Object doesn't support property or method 'values'
bundle.tracing.es5.min.js (2,33844)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions