This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
<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.
https://github.com/whatwg/dom/commit/d0f2c0bbc940061ac2a4623553de5c26409cce96