Bug 243393
| Summary: | track videos playing within the viewport when computing ActivityState::IsVisuallyIdle | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | Media | Assignee: | Cameron McCormack (:heycam) <heycam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
ActivityState::IsVisuallyIdle on Cocoa platforms uses notifications from the window server to determine whether there have been no updates to the window recently. DOM timers are throttled when the IsVisuallyIdle ActivityState bit is present. Certain videos do not cause the window server to consider the window as being updated, and so we can end up being IsVisuallyIdle despite the window updating, and throttling timers unexpectedly.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/97890582>
Cameron McCormack (:heycam)
Pull request: https://github.com/WebKit/WebKit/pull/2891
EWS
Committed 253027@main (033dfee4f975): <https://commits.webkit.org/253027@main>
Reviewed commits have been landed. Closing PR #2891 and removing active labels.