haikuwebkit/ManualTests/back-forward-during-alert-2...

11 lines
374 B
HTML
Raw Permalink Normal View History

WebCore: Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed. <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131 Reviewed by Sam Weinig. No new tests. (Especially since DRT doesn't spin inner run loops at all, it would be a significant effort to give it the ability to perform the back/forward navigation in the background to reproduce this bug) Manual tests in place of layout tests: * manual-tests/back-forward-during-alert-1.html: Added. * manual-tests/back-forward-during-alert-2.html: Added. * page/Page.cpp: (WebCore::Page::goToItem): WebKit: Remove developmentRegion from the project file as it shouldn't have been checked in. Reviewed by Sam Weinig. * WebKit.xcodeproj/project.pbxproj: WebKit/mac: Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed. <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131 Reviewed by Sam Weinig. * WebView/WebView.mm: (-[WebView canGoBack]): Return false if loads are deferred. (-[WebView canGoForward]): Ditto. WebKit/win: Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed. <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131 Reviewed by Sam Weinig. * WebView.cpp: (WebView::canGoBack): Return false if loads are deferred. (WebView::canGoForward): Ditto. Canonical link: https://commits.webkit.org/56350@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@65566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-08-17 22:44:33 +00:00
<script>
function loaded()
{
alert("While this alert is showing, two-fingered swipe back using a MacBook trackpad, Magic Trackpad, or Magic Mouse. You should not be able to navigate back. If you can, dismissing this dialog will likely result in a crash.");
}
</script>
<body onload="loaded();">
Follow the instructions in the alert that shows up on page load.
</body>