[Bug 27354] Internal slots

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