none
HTML5 local storage broken in ie11 win 8.1 x64 ? error: function expected RRS feed

  • Question

  • localStorage.setItem("hello", "somedata");
    alert(localStorage.getItem("hello"));
    localStorage.clear();

    Internet Explorer Version 11.0.0600.17107, update version 11.0.8 (KB2953522)

    the below was fixed in patch 11.02 apparently, so what go on here ???

    http://stackoverflow.com/questions/21155137/javascript-localstorage-object-broken-in-ie11-on-windows-7

    Monday, May 26, 2014 5:54 PM

Answers

  • Hi,

    Thanks for contacting Microsoft.

    The HTML5 postMessage function provides a great way for mutually distrusting documents (even cross-domain) to communicate securely and with high performance and reliability. Unfortunately, as reported on Connect, the HTML5 postMessage function does not work between tabs/windows in IE8. (This limitation is an artifact of the Loosely-Coupled IE feature, in which content in different tabs/windows may run in a different process.) Update: As of IE11, this issue has not yet been fixed.

    For more information, please refer to the article below. ===================================

    HTML5 Implementation Issues in IE8 (and later)

    http://blogs.msdn.com/b/ieinternals/archive/2009/09/16/bugs-in-ie8-support-for-html5-postmessage-sessionstorage-and-localstorage.aspx

    Best regards,

    Sophia Sun


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, June 2, 2014 10:06 AM
  • You can be pleased to know, there was a working solution for that postMessage popup issue, for IE10 and IE11, posted in nearby msdn:

    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8eb6daa8-67a4-4ed3-a23c-8a9bd0556888#74e74140-40f4-48ce-8f24-8e529a73ce84

    However, I have posted a modest adjustment to the script shown here above, pertaining to localStorage.  It permits using localStorage from a local html file, eg, invoked from desktop, as this was S's companion question.  You may find it in S's other thread here:

    http://social.technet.microsoft.com/Forums/ie/en-US/61177c2b-6a38-4207-9cbe-ccd6c86b1d42/html5-local-storage-broken-in-ie11-win-81-x64-error-function-expected#f345c94d-f404-4b4b-b808-d8849646be27

    Monday, June 2, 2014 12:44 PM

All replies

  • reposted to the IE Web Development forum. Already answered at stackoverflow.


    Rob^_^

    Tuesday, May 27, 2014 12:58 AM
  • Hi,

    The Java script function seems to be fixed in KB2898785, IE 11 version is 11.0.9600.16476, and yours is Version 11.0.0600.17107, we might consider seek help in the web developer forum as Rob suggested and see if experts there would share some insights, also I am trying to involve someone familar with this to further look at the issue, there might be some time delay. appreciate your patience.

    Thank you for your understanding and support.

    Best regards


    Michael Shao
    TechNet Community Support

    Wednesday, May 28, 2014 2:40 AM
    Moderator
  • Hi,

    Thanks for contacting Microsoft.

    The HTML5 postMessage function provides a great way for mutually distrusting documents (even cross-domain) to communicate securely and with high performance and reliability. Unfortunately, as reported on Connect, the HTML5 postMessage function does not work between tabs/windows in IE8. (This limitation is an artifact of the Loosely-Coupled IE feature, in which content in different tabs/windows may run in a different process.) Update: As of IE11, this issue has not yet been fixed.

    For more information, please refer to the article below. ===================================

    HTML5 Implementation Issues in IE8 (and later)

    http://blogs.msdn.com/b/ieinternals/archive/2009/09/16/bugs-in-ie8-support-for-html5-postmessage-sessionstorage-and-localstorage.aspx

    Best regards,

    Sophia Sun


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Monday, June 2, 2014 10:06 AM
  • You can be pleased to know, there was a working solution for that postMessage popup issue, for IE10 and IE11, posted in nearby msdn:

    http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/8eb6daa8-67a4-4ed3-a23c-8a9bd0556888#74e74140-40f4-48ce-8f24-8e529a73ce84

    However, I have posted a modest adjustment to the script shown here above, pertaining to localStorage.  It permits using localStorage from a local html file, eg, invoked from desktop, as this was S's companion question.  You may find it in S's other thread here:

    http://social.technet.microsoft.com/Forums/ie/en-US/61177c2b-6a38-4207-9cbe-ccd6c86b1d42/html5-local-storage-broken-in-ie11-win-81-x64-error-function-expected#f345c94d-f404-4b4b-b808-d8849646be27

    Monday, June 2, 2014 12:44 PM