[dom] Move "event dispatch pretends Window is Document's parent" magic from HTML into DOM (#164)

i.e. https://html.spec.whatwg.org/multipage/webappapis.html#events-and-the-window-object
Refs http://logs.glob.uno/?c=freenode%23whatwg#c984904

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/164

Received on Thursday, 11 February 2016 06:52:57 UTC