Bug 252466 - popstate event is called after Back and Forward button navigations without History changes
Summary: popstate event is called after Back and Forward button navigations without Hi...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: History (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-17 02:03 PST by Oleg Drapeza
Modified: 2023-03-28 08:26 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Drapeza 2023-02-17 02:03:37 PST
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
Comment 1 Radar WebKit Bug Importer 2023-02-24 02:04:16 PST
<rdar://problem/105875671>
Comment 2 stephen_cobb 2023-03-27 17:40:37 PDT
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!
Comment 3 Oleg Drapeza 2023-03-28 05:38:52 PDT
Hello!

My system already have been updated - 13.2.1 MacOS, 16.3 Safari

Confirm, can't reproduce this bug anymore!
Comment 4 Chris Dumez 2023-03-28 08:26:32 PDT
(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.