Skip to content

Commit fc5da8f

Browse files
Ms2gerbzbarsky
authored andcommitted
Correct requirement to define Global properties on the object itself (#639)
The specification required defining the operations and attributes for the Global interface itself as well as its inherited interfaces on the object itself. This is not implemented in Gecko, Chrome or WebKit: none of these engines defines, for example, the `addEventListener` method on the window object. I suspect this text was meant to refer to mixin interfaces rather than inherited interfaces, but these are already covered by a catch-all statement.
1 parent fa21124 commit fc5da8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

index.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12382,8 +12382,7 @@ the following steps must be run as part of |obj|'s creation:
1238212382
1. [=Define the unforgeable regular attributes=] of |interface| on |obj|, given |realm|.
1238312383

1238412384
If within a [=Realm=] |realm| a [=platform object=] |obj| implements
12385-
an interface which is declared with the [{{Global}}] [=extended attribute=], then
12386-
for each [=interface=] |interface| implemented by |obj|,
12385+
an interface |interface| which is declared with the [{{Global}}] [=extended attribute=], then
1238712386
the following steps must be run as part of |obj|'s creation:
1238812387

1238912388
1. [=Define the regular operations=] of |interface| on |obj|, given |realm|.

0 commit comments

Comments
 (0)