-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
eventtargetIssues and PRs related to the EventTarget implementation.Issues and PRs related to the EventTarget implementation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
Description
In AbortController/AbortSignal
it is possible to construct an AbortSignal
without a controller (but shouldn't be):
> var c = new AbortController();
> new c.signal.constructor()
AbortSignal { aborted: false }
Correct behavior:
> var c = new AbortController();
new c.signal.constructor()
TypeError: Illegal Constructor
This should be a relatively simple fix but it's a spec compliance issue - so if no new contributor picks this up I'll fix this sometime next week :]
aduh95, Talg123, juanarbol, puzpuzpuz and himself65
Metadata
Metadata
Assignees
Labels
eventtargetIssues and PRs related to the EventTarget implementation.Issues and PRs related to the EventTarget implementation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.