[Webkit-unassigned] [Bug 94476] New: [WK2] Cannot go back from page loaded with WKPageLoadAlternateHTMLString
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 20 06:23:53 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94476
Summary: [WK2] Cannot go back from page loaded with
WKPageLoadAlternateHTMLString
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cgarcia at igalia.com
CC: andersca at apple.com, sam at webkit.org,
xan.lopez at gmail.com, mrobinson at webkit.org
To reproduce:
1.- load a page with WKPageLoadURL
2.- load an invalid page and in load error callback load alternate page with WKPageLoadAlternateHTMLString
3.- load another page with WKPageLoadURL
4.- WKPageGoBack() -> alternate page is loaded
5.- WKPageGoBack() -> alternate page is loaded again
.....
So it's not possible to go back from the alternate page. The problem is that FrameLoader::shouldReloadToHandleUnreachableURL() assumes loads happens synchronously, which is true in WebKit1 but not in WebKit2, and for WebKit2 compareDocumentLoader is always NULL and shouldReloadToHandleUnreachableURL() never returns true.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list