Re: [webcomponents] Change deepPath() back to path (a FrozenArray<EventTarget> attribute) (#428)

It's also implemented in Blink, behind a disabled-by-default flag as it appears to be in WebKit.

Since https://github.com/w3c/webcomponents/issues/428#issuecomment-194666092 I have learned that `FrozenArray<T>` really only means that the return value is a frozen array, and doesn't imply that the same frozen array is returned every time or similar. In other words, there would be no problem to simply define `event.path` as a `readonly attribute FrozenArray<EventTarget>` and to have an internal slot that is updated at the appropriate steps in during dispatch.

@rniwa, would this be acceptable to you and WebKit, or are there additional problems not addressed?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/428#issuecomment-196168548

Received on Monday, 14 March 2016 06:42:58 UTC