User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Steps to reproduce: Reproduction steps: 1. Put something in the session storage sessionStorage.setItem('foo', 'bar'); 2. Close the tab 3. Right-click on any tab and select "Reopen closed tab" 4. sessionStorage.foo will be available Expected result - sessionStorage should be empty. Browser/OS: Chrome for Windows / Mac More info: http://blog.guya.net/2015/08/25/the-never-ending-browser-sessions/ I know this is probably minor, but still it's a bad behavior. Actual results: sessionStorage is revived Expected results: sessionStorage should have been cleared
Severity: normal → minor
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
This is working as designed (e.g. bug 726455 about this not working in a particular situation is considered a valid bug). In general, Session restore (which Undo close tab is a part of) tries to balance the user privacy with the ability to restore pages exactly as the user left them. There's bug 345345 about restoring session information at startup, but nothing I could find about Undo close tab. I don't think the change suggested in comment 0 will be implemented, but since I couldn't find if this was discussed previously, a comment from the owner of the module would be appreciated.
Component: Untriaged → Session Restore
You need to log in before you can comment on or make changes to this bug.