Open Bug 539176 Opened 16 years ago Updated 3 years ago

window.Storage returns 'enabled' even if dom.storage.enabled is set to 'false' in about:config

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

People

(Reporter: bugzilla33, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100105 Firefox/3.6 Disabling the storage should just remove the attribute from the DOM. Reproducible: Always Steps to Reproduce: 1. open: about:config 2. change dom.storage.enabled to false 3. run testcase Actual Results: alerts: enabled Expected Results: alerts: disabled http://www.w3.org/Bugs/Public/show_bug.cgi?id=8536#c8 From w3.org (Ian 'Hixie' Hickson): Disabling the storage in that way should just remove the attribute from the DOM, so that you can just do: if (window.Storage) { ... }
Component: General → DOM
OS: Windows 7 → All
Product: Firefox → Core
Version: unspecified → 1.9.2 Branch
Attached file testcase
URL: n/a
QA Contact: general → general
Severity: major → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: x86 → All
Summary: problem with DOMStorage disabling by about:config → window.Storage returns 'enabled' even if dom.storage.enabled is set to 'false' in about:config
Version: 1.9.2 Branch → Trunk
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
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: