[Webkit-unassigned] [Bug 11675] REGRESSION(r17871): Pages do not render properly when using the back/forward buttons in certain cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 24 04:38:15 PST 2006


------- Comment #4 from mitz at webkit.org  2006-11-24 04:38 PDT -------
The crash can be reproduced with any two cacheable pages, if the timing is
correct (because of the 2.5-second pageCache release timer). You can use
defaults write com.apple.Safari WebKitLogLevel -string 00080000
to track the events.
1) Go to data:text/html,A
2) In the same window, go to data:text/html,B
3) Go back to A and quickly go forward to B
4) Wait 5 seconds (or until you see "releasing 2 items" it logging is enabled).
5) Go back to A and click anywhere on the page

In step 3, when you navigate back to A, its pageCache, referencing its
WebHTMLView, is scheduled for release, but then when you navigate forward to B,
a new pageCache is created for A, referencing the same WebHTMLView. 2.5 seconds
later the original pageCache is released and the WebHTMLView is closed.

Currently a WebHistoryItem has no way of knowing of pageCaches that it has
scheduled for release, but perhaps this can be changed by maintaining a set of
"WebHistoryItems pending pageCache release" instead of the current set of
"pageCaches pending release". Then this set could be checked against in

To see the effects of this bug before r17871, use an "A" page that has links or
hover effects and notice that after step 5, the hover effects don't work and
the cursor and Safari status bar don't change over links.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list