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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 13:30:08 PST 2010


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





--- Comment #12 from Adam Roben (aroben) <aroben at apple.com>  2010-01-13 13:30:08 PST ---
(In reply to comment #11)
> (In reply to comment #10)
> > I'm now testing a modified fix that calls checkCompleted() whenever state() !=
> > FrameStateComplete. It looks promising.
> 
> This approach seems to fix the bug. It also caused a progression in
> http/tests/loading/bad-scheme-subframe.html. Apparently onload was never firing
> in that case, either.

Looks like bad schemes end up calling [listener ignore] from
-decidePolicyForNavigationAction:::::, which in turn results in a null
ResourceRequest (just like when one returns nil from
-webView:resource:willSendRequest::).

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