Skip to content Skip to sidebar Skip to footer

Javascript SecurityError: DOM Exception 18 While Accessing Cookies

Folks, I am working on WebOS Application for LGTV. In previous version my code was working fine while accessing cookie, but with updated WebOS it is giving me error as following:

Solution 1:

I see you are loading the app via file:// for testing. Cookies don't work for file:// urls. See this StackOverflow answer: Uncaught Error: SECURITY_ERR: DOM Exception 18 when I try to set a cookie


Post a Comment for "Javascript SecurityError: DOM Exception 18 While Accessing Cookies"