This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23792 - Event dispatching algorithm doesn't support the load event fired at window
Summary: Event dispatching algorithm doesn't support the load event fired at window
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: DOM (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ms2ger
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 23806
  Show dependency treegraph
 
Reported: 2013-11-11 10:05 UTC by Ms2ger
Modified: 2013-11-12 18:51 UTC (History)
2 users (show)

See Also:


Attachments

Description Ms2ger 2013-11-11 10:05:12 UTC
<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.