Bug 252466
Summary: | popstate event is called after Back and Forward button navigations without History changes | ||
---|---|---|---|
Product: | WebKit | Reporter: | Oleg Drapeza <surf4sites> |
Component: | History | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | achristensen, beidson, cdumez, stephen_cobb, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 16 | ||
Hardware: | Mac (Apple Silicon) | ||
OS: | macOS 12 |
Oleg Drapeza
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/105875671>
stephen_cobb
Hello Oleg, sorry for the delay and thank you for your report.
I'm not sure whether or not I'm able to reproduce the bug in Safari. The behavior appears to be the same in Chrome.
If this is still reproducible in Safari 16.4, could you please clarify the bug you're reporting? Perhaps a screen recording would be helpful.
Thanks again!
Oleg Drapeza
Hello!
My system already have been updated - 13.2.1 MacOS, 16.3 Safari
Confirm, can't reproduce this bug anymore!
Chris Dumez
(In reply to Oleg Drapeza from comment #3)
> Hello!
>
> My system already have been updated - 13.2.1 MacOS, 16.3 Safari
>
> Confirm, can't reproduce this bug anymore!
Great news, thank you for confirming.