Skip to content

Commit b080ed2

Browse files
committed
Do not throw if the attribute setter is called with no arguments
1 parent 122e9da commit b080ed2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12264,8 +12264,8 @@ in which case they are exposed on every object that [=implements=] the interface
1226412264
<emu-val>undefined</emu-val>; there is no [=attribute setter=] function.
1226512265
1. Assert: |attribute|'s type is not a [=promise type=].
1226612266
1. Let |steps| be the following series of steps:
12267-
1. If no arguments were passed, then [=JavaScript/throw=] a <l spec=ecmascript>{{TypeError}}</l>.
12268-
1. Let |V| be the value of the first argument passed.
12267+
1. Let |V| be <emu-val>undefined</emu-val>.
12268+
1. If any arguments were passed, then set |V| to the value of the first argument passed.
1226912269
1. Let |id| be |attribute|'s [=identifier=].
1227012270
1. Let |idlObject| be null.
1227112271
1. If |attribute| is a [=regular attribute=]:

0 commit comments

Comments
 (0)