Skip to content

Do not throw if the attribute setter is called with no arguments #1498

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -12264,8 +12264,8 @@ in which case they are exposed on every object that [=implements=] the interface
<emu-val>undefined</emu-val>; there is no [=attribute setter=] function.
1. Assert: |attribute|'s type is not a [=promise type=].
1. Let |steps| be the following series of steps:
1. If no arguments were passed, then [=JavaScript/throw=] a <l spec=ecmascript>{{TypeError}}</l>.
1. Let |V| be the value of the first argument passed.
1. Let |V| be <emu-val>undefined</emu-val>.
1. If any arguments were passed, then set |V| to the value of the first argument passed.
1. Let |id| be |attribute|'s [=identifier=].
1. Let |idlObject| be null.
1. If |attribute| is a [=regular attribute=]:
Expand Down