Bug 207942
| Summary: | allow-top-navigation-by-user-activation doesn't work with XHR | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mustaq Ahmed <mustaq> |
| Component: | Frames | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | binlu, webkit-bug-importer, wenhaoshi |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 12 | ||
Mustaq Ahmed
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/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/59620231>