Bug 135275 - Sometimes WKWebView is blank after resuming the app, until you scroll
Summary: Sometimes WKWebView is blank after resuming the app, until you scroll
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-07-24 18:04 PDT by Tim Horton
Modified: 2014-07-24 18:12 PDT (History)
2 users (show)

See Also:


Attachments
patch (1.59 KB, patch)
2014-07-24 18:07 PDT, Tim Horton
benjamin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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