Skip to content

What does "Assert" mean? #1277

Open
Open
@ronag

Description

@ronag

The standard often mentions Assert {condition} but is unclear what exactly that means?

e.g. in https://fetch.spec.whatwg.org/#bodyinit-safely-extract

it says Assert: object is neither disturbed nor locked.. If the condition fails what should happen? Throw an error? What kind of error?

Refs: https://github.com/nodejs/undici/blob/main/lib/api/api-fetch.js#L324-L332

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions