Bug 135275

Summary: Sometimes WKWebView is blank after resuming the app, until you scroll
Product: WebKit Reporter: Tim Horton <thorton>
Component: WebKit2Assignee: Tim Horton <thorton>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, simon.fraser
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch benjamin: review+

Description Tim Horton 2014-07-24 18:04:39 PDT
If the UI process is waiting for a didUpdateViewState, we need to *always* for sure get a reply from the Web Process, so dispatchViewStateChange should *always* send SetViewState even if nothing changed (so that we get the reply).

<rdar://problem/17803170>
Comment 1 Tim Horton 2014-07-24 18:07:26 PDT
Created attachment 235483 [details]
patch
Comment 2 Benjamin Poulain 2014-07-24 18:09:58 PDT
Comment on attachment 235483 [details]
patch

Hum, did you perf test this?
Comment 3 Tim Horton 2014-07-24 18:12:01 PDT
http://trac.webkit.org/changeset/171570