[Webkit-unassigned] [Bug 227909] New: Click event listeners become unresponsive after setting window.top.location.href

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 13 10:27:55 PDT 2021


            Bug ID: 227909
           Summary: Click event listeners become unresponsive after
                    setting window.top.location.href
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: iOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: michaeldo at chromium.org

Created attachment 433417

  --> https://bugs.webkit.org/attachment.cgi?id=433417&action=review

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.

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/20210713/84340583/attachment-0001.htm>

More information about the webkit-unassigned mailing list