[Webkit-unassigned] [Bug 33533] window.onload never fires if page contains an <iframe> whose load is cancelled by returning null from resource load delegate's willSendRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 12 08:05:49 PST 2010


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





--- Comment #6 from Adam Roben (aroben) <aroben at apple.com>  2010-01-12 08:05:49 PST ---
Given the description in comment 5, I wondered what happens with <iframe
src="about:blank">. I would have expected it to behave in a similarly buggy
manner. But FrameLoader::loadSubframe knows that about:blank loads
synchronously, and calls FrameLoader::checkCompleted again on the subframe
before returning [1], which sets m_isComplete back to true.

So maybe we need to teach FrameLoader::checkCompleted that other URLs can
potentially load synchronously.

1.
http://trac.webkit.org/browser/trunk/WebCore/loader/FrameLoader.cpp?rev=53140#L415

-- 
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