[Webkit-unassigned] [Bug 156356] New: pageshow only fires the first time the back button is pressed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 7 13:09:18 PDT 2016


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

            Bug ID: 156356
           Summary: pageshow only fires the first time the back button is
                    pressed
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: trillinon at gmail.com

Repro steps:

1. Go to page A
2. Click a link to page B
3. Click the back button (pageshow fires as expected)
4. Click a link to page B again (or any other page)
5. Click the back button (pageshow does not fire)

I discovered this because on the page I'm working on, I want to fetch some fresh data when they return to a page through the back button. I do this by listening for pageshow and checking the event.persisted property.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160407/f3a19b1a/attachment-0001.html>


More information about the webkit-unassigned mailing list