[Webkit-unassigned] [Bug 112418] FrameLoaderClient::assignIdentifierToInitialRequest() not called for the main resource when loaded from the memory cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 16 11:34:09 PDT 2013


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





--- Comment #29 from Alexey Proskuryakov <ap at webkit.org>  2013-05-16 11:32:35 PST ---
(From update of attachment 197215)
View in context: https://bugs.webkit.org/attachment.cgi?id=197215&action=review

> LayoutTests/loader/go-back-cached-main-resource.html:36
> +                target.postMessage('navigate-back', '*');
> +                // Wait a bit for resource load callbacks
> +                setTimeout(function () {

It is expected that the page does not get an onload when being restored from page cache, so a 'first-page' message is not sent.

A better way to check for page being restored from page cache is to handle pageshow event on it.

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