[webkit-dev] Limiting slow unload handlers (Re: Back/forward cache for pages with unload handlers)
darin at chromium.org
Thu Oct 15 15:56:20 PDT 2009
On Thu, Oct 15, 2009 at 1:53 PM, Peter Kasting <pkasting at google.com> wrote:
> On Thu, Oct 15, 2009 at 1:50 PM, John Abd-El-Malek <jam at google.com> wrote:
>> Does this argue for making the image loading trick work all the time from
>> JS, not just from unload handlers? I tested with IE and it looks like the
>> image trick works all the time, not just in unload handlers. My test case
>> was to load the image in the onload handler and change document.location to
>> "about:blank" right after. Firefox/Safari/Chrome didn't load the image most
>> of the time.
> This would mean normal pages that are still loading would keep loading all
> their images after navigation, wouldn't it? Bad.
Right. For this reason, limiting it to just unload handlers seems best. It
is unlikely that images created during unload would be for anything other
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev