Bug 143528

Summary: Pages using WebGLRenderingContext cannot go into the PageCache
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: roger_fong
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2015-04-08 11:26:21 PDT
Pages using WebGLRenderingContext cannot go into the PageCache because WebGLRenderingContextBase::canSuspendForPageCache() returns false.

Since we have code for handling context loss and restoring it, it seems like we should be able to force a synthetic context loss upon suspending, and try to restore it upon resuming.

Radar: <rdar://problem/19923085>
Comment 1 Chris Dumez 2015-04-08 11:27:35 PDT
I don't have time to work on this right now. CC'ing Roger in case he has feedback or is interested in fixing this. Otherwise, I'll try and find time to tackle this later.