Closed Bug 480378 Opened 15 years ago Closed 15 years ago

river view reloads when traversed in page history

Categories

(Mozilla Labs :: Snowl, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Assigned: myk)

Details

(Keywords: regression)

When you go back or forward through page history to the river view, it now reloads the view.  It looks like this is a regression from a recent change that added an unload handler to the collections view, which disables the bfcache <https://developer.mozilla.org/en/Using_Firefox_1.5_caching>.

Since it can take time to build the river view, and we want to preserve the user's place in it when they traverse page history, it should be cacheable by the bfcache, so there shouldn't be an unload handler in it.
ah yes.  in the case of closing river (via closing tab or the button) we do need to run the unload handlers.  but in the case of page back/forward, we don't.  an onunload is sent in both cases..

i'll take a look at smartening this up.
fixed bd1214988d41.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.