Skip to content

Should AbortSignal.timeout only be exposed on (Window, Worker)? #1054

@shaseley

Description

@shaseley

The AbortSignal interface was recently changed to be exposed everywhere ([Exposed=*]). But AbortSignal.timeout() queues a task, and IIUC this won't work with the simplified worklet event loop (relevant discussion for postTask).

Should the IDL for AbortSignal.timeout() just expose the method to (Window, Worker)?

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