Bug 192448

Summary: DisplayRefreshMonitor should have a timer fallback
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: aperez, bfulgham, dino, graouts, pvollan, simon.fraser, thorton, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 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.
Attachments
Simon Fraser (smfr)
Comment 1 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.
Radar WebKit Bug Importer
Comment 2 2018-12-05 20:03:32 PST
Note You need to log in before you can comment on or make changes to this bug.