You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (JIRA)" <ji...@apache.org> on 2012/11/01 15:49:12 UTC

[jira] [Created] (CB-1798) SecurityError when accessing localStorage et al in target

Patrick Mueller created CB-1798:
-----------------------------------

             Summary: SecurityError when accessing localStorage et al in target
                 Key: CB-1798
                 URL: https://issues.apache.org/jira/browse/CB-1798
             Project: Apache Cordova
          Issue Type: Bug
          Components: weinre
            Reporter: Patrick Mueller
            Assignee: Patrick Mueller


Turns out that accessing localStorage et al can throw SecurityError when touched.  See: 

http://www.w3.org/TR/webstorage/#security-localStorage

Problem reported in relation to this pull request: 

https://github.com/apache/incubator-cordova-weinre/pull/11

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1798) SecurityError when accessing localStorage et al in target

Posted by "Patrick Mueller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488735#comment-13488735 ] 

Patrick Mueller commented on CB-1798:
-------------------------------------

The original pull request wrapped the localStorage access correctly, though I wonder about follow-on effects.  For instance, if you start poking at the localStorage bits from the weinre client, what happens?  Should we indicate to the use that "this is not the localStorage you're looking for (because it's not accessible)"?
                
> SecurityError when accessing localStorage et al in target
> ---------------------------------------------------------
>
>                 Key: CB-1798
>                 URL: https://issues.apache.org/jira/browse/CB-1798
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: weinre
>            Reporter: Patrick Mueller
>            Assignee: Patrick Mueller
>
> Turns out that accessing localStorage et al can throw SecurityError when touched.  See: 
> http://www.w3.org/TR/webstorage/#security-localStorage
> Problem reported in relation to this pull request: 
> https://github.com/apache/incubator-cordova-weinre/pull/11

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira