[Webkit-unassigned] [Bug 33687] window.onload never fires if page contains a <script src=foo> whose load is cancelled by resource load delegate returning null from willSendRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 14:11:31 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33687





--- Comment #2 from Adam Roben (aroben) <aroben at apple.com>  2010-01-14 14:11:31 PST ---
The load of the script is initiated in HTMLTokenizer::scriptHandler with a call
to DocLoader::requestScript. The load fails before requestScript returns, but
requestScript returns a non-null CachedScript* anyway. HTMLTokenizer then never
gets CachedResourceClient::notifyFinished for this script.

I think the right fix might be for requestScript to return null in this case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list