Closed
Bug 572474
Opened 15 years ago
Closed 15 years ago
sessionStorage problem
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 538142
People
(Reporter: bugzilla33, Unassigned)
References
()
Details
Attachments
(1 file)
|
968 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
sessionStorage.getItem should return null for not existing keys but it returns empty string
Reproducible: Always
Steps to Reproduce:
1. open testcase from attachment
2 [review]. follow instruction
Actual Results:
sessionStorage.getItem returns empty string for not existing keys
Expected Results:
sessionStorage.getItem returns null for not existing keys
| Reporter | ||
Comment 1•15 years ago
|
||
| Reporter | ||
Comment 2•15 years ago
|
||
Probably only Windows platform.
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 4•15 years ago
|
||
This is note duplicate of bug 538142.
Read caverfully docs: http://www.w3.org/TR/webstorage/#the-storage-interface
"If the given key does not exist in the list associated with the object then this method must return null."
Actual "Clear Recent History..." change sessionStorage values to empty string. Why? It should remove all keys/values pairs.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
| Reporter | ||
Updated•15 years ago
|
Summary: sessionStorage should alert null for empty keys → "Clear Recent History..." change sessionStorage values to empty strings
| Reporter | ||
Updated•15 years ago
|
Summary: "Clear Recent History..." change sessionStorage values to empty strings → "Clear Recent History..." change sessionStorage values to empty strings, should remove all keys with values
| Reporter | ||
Updated•15 years ago
|
Summary: "Clear Recent History..." change sessionStorage values to empty strings, should remove all keys with values → "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values
| Reporter | ||
Comment 5•15 years ago
|
||
"Clear Recent History..." only change sessionStorage values to empty strings. Should more - remove all keys with values.
| Reporter | ||
Comment 6•15 years ago
|
||
Now "more" is after "Clear Recent History..." + browser restart.
| Reporter | ||
Updated•15 years ago
|
Summary: "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values → "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values (without browser restart)
| Reporter | ||
Updated•15 years ago
|
Summary: "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values (without browser restart) → "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values (without the need to browser reboot as it does currently)
| Reporter | ||
Updated•15 years ago
|
Summary: "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values (without the need to browser reboot as it does currently) → "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values (without the need to browser restart as it does currently)
| Reporter | ||
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → INVALID
Summary: "Clear Recent History..." only change sessionStorage values to empty strings, should more - remove all keys with values (without the need to browser restart as it does currently) → sessionStorage problem
| Reporter | ||
Updated•15 years ago
|
Resolution: INVALID → DUPLICATE
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•