Bug 258037
| Summary: | evaluateJavaScript: and callAsyncJavaScript: should not leave behind transient activation | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brady Eidson <beidson> |
| Component: | WebKit API | Assignee: | Brady Eidson <beidson> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=260361 | ||
Brady Eidson
evaluateJavaScript: and callAsyncJavaScript: should not leave being transient activation
For historical momentum reasons, these APIs act as if operating with a user gesture. And that's fine.
But they should not leave behind transient user activation for (currently) 5 seconds after the script completes.
Change the behavior (protected with a linked-on-or-after check)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brady Eidson
rdar://104748908
Brady Eidson
Pull request: https://github.com/apple/WebKit/pull/645
Brady Eidson
rdar://107102031
Brady Eidson
Pull request: https://github.com/WebKit/WebKit/pull/14966
EWS
Committed 265168@main (8e5ddea16577): <https://commits.webkit.org/265168@main>
Reviewed commits have been landed. Closing PR #14966 and removing active labels.
EWS
Committed 259548.840@safari-7615-branch (259842c7afc2): <https://commits.webkit.org/259548.840@safari-7615-branch>
Reviewed commits have been landed. Closing PR #659 and removing active labels.