[Webkit-unassigned] [Bug 94064] New: Event listeners are no longer functioning inside iframe when loading from Page Cache

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 14 20:23:23 PDT 2012


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

           Summary: Event listeners are no longer functioning inside
                    iframe when loading from Page Cache
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
               URL: http://farm.local.sproutinc.com/load/TAA7SwDtAN9dBBcT.
                    w.html
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Frames
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rob at electronicinsight.com


Our HTML content is inside an iframe. We've deduced that ever since iOS 4, when our page is loaded again via Page Cache, the event listeners are no longer attached to anything inside the iframe. Any event listeners on the main page-level are still there. We used to work around this by attaching an empty window unload handler per http://www.webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/. But, it appears in iOS 5's Webkit, this no longer works as a workaround. I'm assuming because of bug 29021?

The best possible bugfix would be to have everything inside the iframe fully functional when returning from Page Cache so that's what this bug report is about. But, in the meantime if anyone has an idea on how to disable Page Cache I would appreciate it. Please let me know if I can provide any further information.

Steps:
1) Load the URL specified above in iOS 5.
2) Click green box to go to Yahoo.com
3) Click back button
4) Try to click the green box again

Actual results:
Nothing happens

Expected results:
Navigates browser to yahoo.com again.

User Agent: 
Mozilla/5.0 (iPhone; CPU iPhone OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B206 Safari/7534.48.3 (I'm unsure of how to figure out the version from this.)

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