Bug 227909

Summary: Click event listeners become unresponsive after setting window.top.location.href
Product: WebKit Reporter: michaeldo
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: cdumez, graouts, smoley, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: Unspecified   
OS: iOS 14   
Attachments:
Description Flags
reproduction sample none

michaeldo
Reported 2021-07-13 10:27:55 PDT
Created attachment 433417 [details] reproduction sample Filed from details in crbug.com/1003822 Steps to reproduce the problem: 1. Open the attached html page on iOS 14 or iOS 15 in Safari or a WKWebView 2. Click on a "Counter++" button and observe counter increasing 3. Click the button to open a new website and return back to the page 4. Both buttons are unresponsive and counter is not updating 5. Make a scrolling interaction to the page, and the buttons will become responsive again What is the expected behavior? Buttons should stay responsive after coming back to the page. What went wrong? Buttons with click event listeners became unresponsive.
Attachments
reproduction sample (1.11 KB, text/html)
2021-07-13 10:27 PDT, michaeldo
no flags
Radar WebKit Bug Importer
Comment 1 2021-07-20 10:28:20 PDT
Smoley
Comment 2 2021-07-22 12:10:06 PDT
Thanks for filing, This does not reproduce for me on Safari Technology Preview 128. Are you able to reproduce this with STP?
Note You need to log in before you can comment on or make changes to this bug.