WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
94476
[WK2] Cannot go back from page loaded with WKPageLoadAlternateHTMLString
https://bugs.webkit.org/show_bug.cgi?id=94476
Summary
[WK2] Cannot go back from page loaded with WKPageLoadAlternateHTMLString
Carlos Garcia Campos
Reported
2012-08-20 06:24:28 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2012-08-20 10:11:19 PDT
See also:
bug 93680
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug