[Webkit-unassigned] [Bug 207942] New: allow-top-navigation-by-user-activation doesn't work with XHR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 19 08:56:33 PST 2020


            Bug ID: 207942
           Summary: allow-top-navigation-by-user-activation doesn't work
                    with XHR
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Frames
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mustaq at chromium.org

It seems WebKit doesn't allow a subframe with the sandbox flag "allow-top-navigation-by-user-activation" to navigate the top frame away even with user activation.  The problem seems to occur only with XHR.  Async calls through setTimeout works fine.

We (Chrome) have an internal client blocked by this behavior.

Repro: http://mustaqahmed.github.io/web/top-nav-by-user-activation/

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/20200219/0e1a873c/attachment-0001.htm>

More information about the webkit-unassigned mailing list