Skip to content

@opentelemetry/context-zone eradicates Promise.withResolvers #4354

@dancrumb

Description

@dancrumb

What happened?

Steps to Reproduce

  • Open any web page that has @opentelemetry/context-zone as a dependency
  • Open a console
  • Run Promise.withResolvers()

Expected Result

Get {promise: Promise, resolve: f, reject: f}

Actual Result

Get a Promise.withResolvers is not a function

Additional Details

This is caused by a reliance on zone.js

OpenTelemetry Setup Code

No response

package.json

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:p1Bugs which cause problems in end-user applications such as crashes, data inconsistencies, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions