[Webkit-unassigned] [Bug 252466] New: popstate event is called after Back and Forward button navigations without History changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 17 02:03:37 PST 2023


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

            Bug ID: 252466
           Summary: popstate event is called after Back and Forward button
                    navigations without History changes
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: History
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: surf4sites at yandex.ru

Prerequisites:

- Application
- Two pages and two <a /> links

Demo app:

Sandbox - https://codesandbox.io/p/sandbox/bitter-surf-19upq8?file=%2Fapp%2Froutes%2Findex.tsx&selection=%5B%7B%22endColumn%22%3A7%2C%22endLineNumber%22%3A15%2C%22startColumn%22%3A7%2C%22startLineNumber%22%3A15%7D%5D
Preview - https://19upq8-3000.preview.csb.app/

Step to reproduce:

- Open first page
- Click to link for a second page
- Click to Back button

Result:

After second page load, `popstate` event is called

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230217/b776c2cf/attachment.htm>


More information about the webkit-unassigned mailing list