I'm getting the error in IE9 when loading my app:
Error: An internal error occurred in the Microsoft Internet extensions Error: Access is denied.
错误:Microsoft Internet扩展中发生内部错误错误:访问被拒绝。
When I debug in IE's dev tools, it points to code regarding localStorage.
当我在IE的开发工具中调试时,它指向有关localStorage的代码。
if (localStorage) {
// some code
} else {
// some code
}
I'm not sure whether this is an angular-IE issue, or if it's just IE related. Thanks in advance!
我不确定这是否是一个角度IE问题,或者它是否与IE有关。提前致谢!
1 个解决方案
#1
1
Are you running your app locally? IE9 doesn't support local storage for local files.
你在本地运行你的应用程序吗? IE9不支持本地文件的本地存储。
There's lots of further explanations from this question: local storage in IE9 fails when the website is accessed directly from the file system
这个问题有很多进一步的解释:当直接从文件系统访问网站时,IE9中的本地存储失败
#1
1
Are you running your app locally? IE9 doesn't support local storage for local files.
你在本地运行你的应用程序吗? IE9不支持本地文件的本地存储。
There's lots of further explanations from this question: local storage in IE9 fails when the website is accessed directly from the file system
这个问题有很多进一步的解释:当直接从文件系统访问网站时,IE9中的本地存储失败