node-webkit中的localStorage安全性错误

时间:2015-01-20 20:15:51

标签: javascript node.js node-webkit

尝试访问node-webkit app下的localStorage或sessionStorage时出错:

Failed to read the 'localStorage' property from 'Window': Storage is disabled inside 'data:' URLs.
Failed to read the 'sessionStorage' property from 'Window': Storage is disabled inside 'data:' URLs.

在这个问题上,我没有找到任何人在谈论或寻求帮助。

0 个答案:

没有答案