Open
Bug 908099
Opened 12 years ago
Updated 3 years ago
Don't expose a localStorage property when cookies are disabled
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: bruant.d, Unassigned)
References
Details
Found in Persona [1]
Steps :
* disable cookies
* go to any webpage
* type 'window.localStorage'
Actual result:
the following is thrown:
[Exception... "The operation is insecure." code: "18" nsresult: "0x80530012 (SecurityError)" location: "debugger eval code Line: 1"]
Expected result:
The 'undefined' value, because localStorage is effectively not supported
Highly related to bug 838614
[1] https://github.com/mozilla/browserid/blob/a23791b9651fd0c3b96b25e3abcb810f51c03532/resources/static/include_js/_include.js#L41-L70
Comment 1•8 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
| Assignee | ||
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•