Bug 155933
Summary: | Entering Responsive Design Model nukes values in sessionStorage | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jan Alonzo <jmalonzo> |
Component: | WebKit Misc. | Assignee: | Timothy Hatcher <timothy> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | bburg, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 9 | ||
Hardware: | All | ||
OS: | All |
Jan Alonzo
When changing to Responsive Design Mode, values stored in sessionStorage seems to have been lost - window.sessionStorage.getItem('foo') returns null on previously stored values prior to entering this mode.
I've add the STR, and expected/actual results in the following bin: https://jsbin.com/maruhiviqu/edit?html,output
STR:
1. Set some values in sessionStorage.
2. Enter Responsive Design Mode.
3. Inspect the sessionStorage value you set in (1) above.
Expected: value set in (1) exists
Actual: value is null
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/25380026>
Blaze Burg
Hi,
Responsive Design mode is a Safari feature and not a part of WebKit. Please file Safari bugs at https://bugreport.apple.com/
Thanks
Brian
Timothy Hatcher
This might still be a WebKit bug. Reopening for now.
Blaze Burg
Your test case does not work outside of Responsive Design Mode. I tried this by getting and setting values via Inspector Console in and out of RDM and could not reproduce the bug.