Bug 312241
| Summary: | Carry over sticky activation for same-origin navigations and traversals | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | klee |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=313716 | ||
klee
Implement the HTML spec change that carries over sticky user activation across same-origin navigations and history traversals.
Spec PR: https://github.com/whatwg/html/pull/11454
This feature preserves the sticky user activation state when a page navigates to another same-origin page. Without this, the post-navigation page loses all user activation state, which prevents use cases like showing virtual keyboards on auto-focus. This has been a blocker for developers who prefer building MPA(Multi Page Application) over SPA(Single Page Applications).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
klee
I'm working on implementing this in WebKit.
klee
Spec PR (already secured another browser's approval):
https://github.com/whatwg/html/pull/11454
Web Platform Tests:
https://github.com/web-platform-tests/wpt/blob/master/html/user-activation/navigate-to-sameorigin.html
klee
Pull request: https://github.com/WebKit/WebKit/pull/63073
Radar WebKit Bug Importer
<rdar://problem/175227370>
EWS
Committed 311953@main (713dd53f52a7): <https://commits.webkit.org/311953@main>
Reviewed commits have been landed. Closing PR #63073 and removing active labels.