Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r236142 - "DidFirstVisuallyNonEmptyLayout" callback does not ge…
…t called when restoring a page from PageCache https://bugs.webkit.org/show_bug.cgi?id=189681 <rdar://problem/44526171> Reviewed by Alex Christensen and Zalan Bujtas. Source/WebCore: The "DidFirstVisuallyNonEmptyLayout" callback was not getting called when restoring a page from PageCache because the FrameView is restored from PageCache and we would fail to restore its flags (such as m_firstVisuallyNonEmptyLayoutCallbackPending) when entering Page Cache. We now call reset those flags that are related to layout miletones when entering PageCache so that layout milestone events properly get sent again when restoring from Page Cache. * history/CachedFrame.cpp: (WebCore::CachedFrame::CachedFrame): Tools: Add API test coverage. * TestWebKitAPI/Tests/WebKit/LayoutMilestonesWithAllContentInFrame.cpp: (TestWebKitAPI::didFinishNavigation): (TestWebKitAPI::TEST):
- Loading branch information
1 parent
5be08a8
commit 67023d6
Showing
6 changed files
with
104 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters