WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
6679
evalAfterBackForwardNavigation causes hang when page can't be cached
https://bugs.webkit.org/show_bug.cgi?id=6679
Summary
evalAfterBackForwardNavigation causes hang when page can't be cached
Eric Seidel (no email)
Reported
2006-01-19 17:18:43 PST
evalAfterBackForwardNavigation causes hang when page can't be cached I was trying to write a test case for back/forward navigation where cacheing the page should be disallowed. This hangs DRT because evalAfterBackForwardNavigation keeps getting called by my onload every time the first page is reload. We need some sort of loop check for evalAfterBackForwardNavigation.
Attachments
test case
(510 bytes, application/x-gzip)
2006-01-19 17:19 PST
,
Eric Seidel (no email)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2006-01-19 17:19:32 PST
Created
attachment 5789
[details]
test case
Geoffrey Garen
Comment 2
2006-01-27 15:41:29 PST
I didn't consider a page not making it into the cache when I wrote the NavigationController class. The simple solution here is to have evalAfterBackForwardNavigation execute only once per page. In the future, if someone wants to use it more than once on a page, they can dream up a more interesting hashing solution.
Geoffrey Garen
Comment 3
2006-01-27 15:47:10 PST
We could also use something like if (!navigationController.didNavigate) {...} or navigationController.setState(true) if (!navigationController.getState()) to make things arbitrarily extensible. valueForUndefinedKey would be helpful here, but it doesn't work yet.
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