[Bug 25458] [Shadow]: The return type of Event.path should be EventTarget[], instead of NodeList

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

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #7 from Boris Zbarsky <bzbarsky@mit.edu> ---
> Can they be real arrays with the exact semantics specified in prose?

Yes.  You can put "object" in the IDL and then specify in prose.

That specification could even leverage WebIDL sequences in the sense of
creating one, converting to a JS value, and caching the result.

The only open question is whether the result should be frozen or whether we
should just let the consumer munge it.  Does anything internal look at .path on
events?  If so, we may want to either freeze it or specify an internal accessor
that returns the actual path.

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

Received on Friday, 25 April 2014 16:17:42 UTC