W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2015

[Bug 27354] Internal slots

From: <bugzilla@jessica.w3.org>
Date: Sat, 18 Apr 2015 06:01:32 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27354-3890-0M6p8yNYEn@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27354

--- Comment #10 from Anne <annevk@annevk.nl> ---
(In reply to Ian 'Hixie' Hickson from comment #8)
> - We already have the equivalent readable way to do this; HTML does it all
> over, for example. You just say that "A Foo object has a bar state" and then
> define things in terms of a bar state. (It's indeed a mistake to do this by
> reusing the names of exposed attributes; don't do that.)

This gets very verbose though, e.g. for Event. Currently Event and its many
subclasses do not do this and instead rely on some implicit understanding of
internal slots. I think it would be much better if we started making that
concept a) explicit and b) easy to work with by having IDL do a bunch of it for
you.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Saturday, 18 April 2015 06:01:34 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 18 April 2015 06:01:34 UTC