Skip to content

Commit a35410d

Browse files
authored
Clarify [[OwnPropertyKeys]] for named properties objects
See whatwg/html#9068.
1 parent 98d9cc4 commit a35410d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11430,6 +11430,12 @@ for that interface on which named properties are exposed.
1143011430
1. Return |obj|.
1143111431
</div>
1143211432

11433+
Note: The \[[OwnPropertyKeys]] internal method of a named properties object
11434+
continues to use <a abstract-op>OrdinaryOwnPropertyKeys</a>,
11435+
unlike the counterpart for [=legacy platform objects=].
11436+
Since named properties are not “real” own properties,
11437+
they will not be returned by this internal method.
11438+
1143311439
The [=class string=] of a [=named properties object=]
1143411440
is the concatenation of the [=interface=]'s
1143511441
[=identifier=] and the string "<code>Properties</code>".

0 commit comments

Comments
 (0)