NEW 227909
Click event listeners become unresponsive after setting window.top.location.href
https://bugs.webkit.org/show_bug.cgi?id=227909
Summary Click event listeners become unresponsive after setting window.top.location.href
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.