[Webkit-unassigned] [Bug 7693] WebKit relies on unpredictable timing for onload events

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 15 17:08:19 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7693





------- Comment #9 from darin at apple.com  2006-03-15 17:08 PDT -------
(In reply to comment #5)
> The root cause for the undeterministic behavior is that <object> (and perhaps
> other) subframes are created and loaded by the render tree, triggered either by
> the layout timer or by event dispatch or by other mechanisms.
> 
> Frame::checkCompleted(), which emits the load DOM event, waits for the
> subframes to load, but obviously only if they have already been created. This
> warrants a bug by itself, since it means that the document load event may
> arbitrarily be emitted before subframes have loaded.

Either Maciej or Hyatt (can't remember which) mentioned to me the other day
that we probably should be loading subframes based on the DOM tree, not the
render tree.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list