Closed
Bug 648275
Opened 14 years ago
Closed 11 years ago
sessionStorage not working and valiadating with IF(window.sessionStorage)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: daniel.gerep, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0) Gecko/20100101 Firefox/4.0
My
Reproducible: Always
Comment 1•14 years ago
|
||
Please provide more information....
Please see https://developer.mozilla.org/en/Bug_writing_guidelines
Updated•14 years ago
|
Version: unspecified → 4.0 Branch
Hi, sorry about the lack of information, I've pressed Enter before completing the form.
The thing is that sessionStorage is not working, only localStorage.
If I try this:
if(sessionStorage) { alert('ok'); } else { alert('error'); }
This line is ignored but if I change sessionStorage by localStorage it works properly.
That was the only test I made
Comment 3•13 years ago
|
||
I am getting OK if I run on Mozilla/5.0 (Windows NT 5.1; rv:9.0a1) Gecko/20110903 Firefox/9.0a1 ID:20110903030832
Daniel -> is this still an issue with Firefox 6 or the latest nightly?
Comment 4•13 years ago
|
||
sessionStorage works fine, although there are several bugs filed for areas that need more work. Hard to say exactly what this is describing without more information, but possibly an instance of bug 517778 is killing the script before it can alert. DOM storage is only allowed if configured to enabled (default) and if cookies are allowed for the scope. It is worth noting that sessionStorage for a particular scope does not exist until you decide to store something in it.
Comment 5•11 years ago
|
||
Daniel?
(In reply to Tim (fmdeveloper) from comment #3)
> I am getting OK if I run on Mozilla/5.0 (Windows NT 5.1; rv:9.0a1)
> Gecko/20110903 Firefox/9.0a1 ID:20110903030832
>
> Daniel -> is this still an issue with Firefox 6 or the latest nightly?
Flags: needinfo?(daniel.gerep)
Summary: sessionStorage not workin and valiadating with IF(window.sessionStorage) → sessionStorage not working and valiadating with IF(window.sessionStorage)
Whiteboard: [closeme 2014-02-15]
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(daniel.gerep)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2014-02-15]
You need to log in
before you can comment on or make changes to this bug.
Description
•