[Webkit-unassigned] [Bug 116670] New: Fix loader/go-back-cached-main-resource.html test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 23 07:20:46 PDT 2013


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

           Summary: Fix loader/go-back-cached-main-resource.html test
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rego at igalia.com


This bug is to fix the issue explained in comment the following comment about loader/go-back-cached-main-resource.html layout test:
https://bugs.webkit.org/show_bug.cgi?id=112418#c29

Comment by "Alexey Proskuryakov":
> (From update of attachment 197215 [details])
> 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