[object DOMException]
Idk what this error means after hours of researching. When I open the manage extentions i have error btn on my extention and i have this error. It highlights
get hasWebApi (){
try{
return typeof window < "u" !!window.localStorage;
}
catch{
//here
return console.log(e), !1;
}
}
6 Replies
The console.error really should go away because there's generally nothing you can do to "fix" the issue .. in certain cases, the act of even attempting to access window.localStorage can throw an error (usually access denied) .. in this case above, returning False is the right behavior, but the console.log, like i said , should really just go away in the library
example on app.asana.com (i'm authenticated and have some stuff injecting into main frame and subframes)
Thanks for responding but its not in the console. Its in the extention errors
Gave +1 Rep to @filthytone (current:
#4
- 25
)Here
Yea this is literally an error from the extension . It’s an example of it happening
I’m just showing it from console but it’s originating from extension and generates an error in the extension page just like you’re showing
Anyway good luck with it