localStorage not working for locally accessed files

Issue #650482

Details

Created
Jul 28, 2014
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Example JavaScript code which runs in other browsers but not IE:

function testLocalStorage ()
{
var test = 'somedata’;

try
{
    localStorage.setItem (test, test);
    localStorage.removeItem (test);
    return true;
}
catch (e)
{
    return false;
}

}

if (testLocalStorage ())
alert (“localStorage available”);
else
alert (“localStorage NOT available”);

Expected Results:

localStorage should be available to locally stored HTML files accessed using hte file:// protocol.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “IE F.”

      Changed Status

    You need to sign in to your Microsoft account to add a comment.

    Sign in