Title: [238286] trunk/Source/WebKit
- Revision
- 238286
- Author
- [email protected]
- Date
- 2018-11-16 09:51:10 -0800 (Fri, 16 Nov 2018)
Log Message
REGRESSION(r237467) [PSON] iOS: Going back to a page sometimes doesn't restore the full page
https://bugs.webkit.org/show_bug.cgi?id=191737
Reviewed by Simon Fraser.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setLayerTreeStateIsFrozen):
Layer tree should stay frozen in m_shouldResetDrawingArea state. Otherwise spurious commit transactions may
mess up state on UI process side.
Specifically WKWebView._needsResetViewStateAfterCommitLoadForMainFrame would get stuck to TRUE and prevent
all viewport updates because WKWebView._firstPaintAfterCommitLoadTransactionID has value greater
than any current transaction IDs.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (238285 => 238286)
--- trunk/Source/WebKit/ChangeLog 2018-11-16 17:28:48 UTC (rev 238285)
+++ trunk/Source/WebKit/ChangeLog 2018-11-16 17:51:10 UTC (rev 238286)
@@ -1,3 +1,20 @@
+2018-11-16 Antti Koivisto <[email protected]>
+
+ REGRESSION(r237467) [PSON] iOS: Going back to a page sometimes doesn't restore the full page
+ https://bugs.webkit.org/show_bug.cgi?id=191737
+
+ Reviewed by Simon Fraser.
+
+ * WebProcess/WebPage/WebPage.cpp:
+ (WebKit::WebPage::setLayerTreeStateIsFrozen):
+
+ Layer tree should stay frozen in m_shouldResetDrawingArea state. Otherwise spurious commit transactions may
+ mess up state on UI process side.
+
+ Specifically WKWebView._needsResetViewStateAfterCommitLoadForMainFrame would get stuck to TRUE and prevent
+ all viewport updates because WKWebView._firstPaintAfterCommitLoadTransactionID has value greater
+ than any current transaction IDs.
+
2018-11-16 Chris Dumez <[email protected]>
Unreviewed typo fix in comment added in r238250.
Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp (238285 => 238286)
--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp 2018-11-16 17:28:48 UTC (rev 238285)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp 2018-11-16 17:51:10 UTC (rev 238286)
@@ -2333,7 +2333,7 @@
if (!drawingArea)
return;
- drawingArea->setLayerTreeStateIsFrozen(frozen || m_isSuspended);
+ drawingArea->setLayerTreeStateIsFrozen(frozen || m_isSuspended || m_shouldResetDrawingArea);
}
void WebPage::callVolatilityCompletionHandlers(bool succeeded)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes