Bug 192448 - DisplayRefreshMonitor should have a timer fallback
Summary: DisplayRefreshMonitor should have a timer fallback
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-12-05 19:34 PST by Ryosuke Niwa
Modified: 2018-12-10 11:16 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2018-12-05 19:34:29 PST
When WebView is off-screen, [NSWindow screen] is nil.

In those cases, DisplayRefreshMonitor should fallback to using a timer.
Comment 1 Simon Fraser (smfr) 2018-12-05 19:39:27 PST
Also DRT/WTR always have offscreen windows, so we never test real rAF. We should fake the screen somehow.
Comment 2 Radar WebKit Bug Importer 2018-12-05 20:03:32 PST
<rdar://problem/46510554>