RESOLVED FIXED 119225
[wk2] Flush the WebProcess’ implicit transaction when using endDeferringViewInWindowChangesSync
https://bugs.webkit.org/show_bug.cgi?id=119225
Summary [wk2] Flush the WebProcess’ implicit transaction when using endDeferringViewI...
Tim Horton
Reported 2013-07-29 15:02:20 PDT
If an off-screen WKView is brought on screen bounded by endDeferringViewInWindowChangesSync, we expect the view to be fully ready (unless we hit the 250 ms watchdog and give up) to display when endDeferringViewInWindowChangesSync returns. However, the WebProcess’ implicit transaction can still be pending, meaning that the tiles/root compositing layer can be not-yet-parented. To avoid this flash, we can [CATransaction flush] whenever endDeferringViewInWindowChangesSync tells the WebProcess that its view-in-window state changed. <rdar://problem/14568841>
Attachments
patch (9.24 KB, patch)
2013-07-29 15:26 PDT, Tim Horton
no flags
patch (9.28 KB, patch)
2013-07-29 15:44 PDT, Tim Horton
simon.fraser: review+
Tim Horton
Comment 1 2013-07-29 15:26:55 PDT
Tim Horton
Comment 2 2013-07-29 15:44:40 PDT
Tim Horton
Comment 3 2013-07-29 21:44:11 PDT
Note You need to log in before you can comment on or make changes to this bug.