Originally reported on Google Code with ID 2379
Demo: http://kylescholz.com/projects/firebug/test-unload.html
What steps will reproduce the problem?
1. With Firebug enabled, visit the demo link above.
2. Click "Make Unfresh". (Note change to DOM)
3. Click "Navigate Away".
4. Click browser Back button
What is the expected result? What do you see instead?
Expected Result: Firefox should display the page from bfcache without
reloading.
Actual Result: Page is reloaded because an unload handler was added to the
iframe here:
http://code.google.com/p/fbug/source/browse/branches/firebug1.4/content/fir
ebug/tabWatcher.js#354
You can verify the expected result by completely disabling and turning off
Firebug.
Documentation stating that Firefox does not store pages with an unload
handler in the bfcache:
https://developer.mozilla.org/en/Using_Firefox_1.5_caching
Which version of Firebug? 1.4.3b1 (offending code is present in 1.5 as
well)
Which version of Firefox? All
On what operating system? All
Reported by kyle.scholz on 2009-10-13 21:54:44
该提问来源于开源项目:firebug/firebug