Skip to content

Feature Request — Runtime APIs: Superfluous throws #902

Open

Description

@randomairborne

in the RequestInitializerDict struct (here), the WontImplement field is set. This causes a hard-crash where libraries would like to support browsers, which require this API, and workers, which makes it illegal to specify at all. It's also very difficult to work around this, as it's specified in multiple places that this should immediately cause an unrecoverable crash.
Related:
developit/redaxios#64
cloudflare/workers-sdk#2514
ethers-io/ethers.js#1886
sindresorhus/ky#366

Activity

  1. changed the title [-]🐛 Bug Report — Runtime APIs - Superfluous throws[/-] [+]Feature Request — Runtime APIs: Superfluous throws[/+] on Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions