Bug 169894

Summary: Assertion failure in WebPage::reload() (!m_pendingNavigationID) when reloading a subframe history navigation
Product: WebKit Reporter: Daniel Bates <dbates>
Component: HistoryAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andersca, beidson, mcatanzaro, mitz, sam
Priority: P2    
Version: WebKit Local Build   
Hardware: Mac   
OS: macOS 10.12   
See Also: https://bugs.webkit.org/show_bug.cgi?id=135129
Attachments:
Description Flags
Test
none
Back/Forward test case none

Daniel Bates
Reported 2017-03-20 15:20:40 PDT
Created attachment 304956 [details] Test Using a debug build of WebKit, open the attached the test case in Safari and follow the instructions. Then the assert ASSERT(!m_mainFrame->coreFrame()->loader().frameHasLoaded() || !m_pendingNavigationID) will fail in WebPage::reload() because m_pendingNavigationID is nonzero. For completeness, I used a debug build of Mac WebKit at r214187.
Attachments
Test (370 bytes, text/html)
2017-03-20 15:20 PDT, Daniel Bates
no flags
Back/Forward test case (1.72 KB, application/zip)
2017-03-20 15:28 PDT, Daniel Bates
no flags
Daniel Bates
Comment 1 2017-03-20 15:28:28 PDT
Created attachment 304958 [details] Back/Forward test case Notice that there is ASSERT(!m_pendingNavigationID) in WebPage::go{Back, Forward}(). Attached archive with a test case that can be used to hit these assertions. Expand the archive and open back-or-forward-after-navigate-iframe.html in Safari with a debug build of WebKit and follow the instructions.
Note You need to log in before you can comment on or make changes to this bug.