Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Synchronous media query callbacks on nested frames could produced a d…
…etached FrameView. https://bugs.webkit.org/show_bug.cgi?id=173330 Reviewed by Simon Fraser. Source/WebCore: This patch fixes the crash when the nested frame's media query callback triggers navigation on the mainframe. webkit.org/b/173329 is to track whether we should allow synchronous callback firing from FrameView::layout(). Covered by show-modal-dialog-during-execCommand.html. * page/FrameView.cpp: (WebCore::FrameView::layout): LayoutTests: * TestExpectations: ASSERT(frame()->view() == this) still fires due to the unexpected navigation, but we clearly manage to recover from it. Unskip it (debug) when webkit.org/b/173329 is resolved. Canonical link: https://commits.webkit.org/190204@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@218228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
32 additions
and 2 deletions.
- +10 −0 LayoutTests/ChangeLog
- +1 −1 LayoutTests/TestExpectations
- +15 −0 Source/WebCore/ChangeLog
- +6 −1 Source/WebCore/page/FrameView.cpp
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