[Bug 23792] New: Event dispatching algorithm doesn't support the load event fired at window

[email protected]
Newsgroups gmane.comp.web.dom.general
Message-ID <[email protected]/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23792

            Bug ID: 23792
           Summary: Event dispatching algorithm doesn't support the load
                    event fired at window
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

<http://www.whatwg.org/html/#the-end> step 7.2 has

> If the Document is in a browsing context, fire a simple event
> named load at the Document's Window object, but with its target
> set to the Document object (and the currentTarget set to the
> Window object).

This would mean having to fix up the target somewhere in the middle of
<http://dom.spec.whatwg.org/#concept-event-dispatch>. We should make the
algorithm support this use case instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.