[Bug 24318] Define the Realm of objects

https://www.w3.org/Bugs/Public/show_bug.cgi?id=24318

--- Comment #2 from Anne <annevk@annevk.nl> ---
Events are associated with the global environment of their interface object
(better term?).

Nodes are associated with the global environment of their node document.
Documents are associated with the global environment of "depends".

Ranges are associates with the global environment of the context object of the
method that created them or their interface object in case of constructors.

NodeIterator and TreeWalker are associated with the global environment of the
context object of the method that created them.

Attr and DOMTokenList need to inherit from their associated element.

Collections probably need to inherit from the context object of the method that
creates them.


I wonder if some of the inheriting should be expressed using IDL. That would
make it easier for people to define new APIs.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 12 February 2014 19:03:11 UTC