1

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:

enter image description here

Can anyone help me over it?

Thanks

EDIT

Here is the output when I try to access cookie in JS Console: enter image description here

Awais Tariq
  • 7,724
  • 5
  • 31
  • 54

1 Answers1

2

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

Community
  • 1
  • 1
Pre101
  • 2,370
  • 16
  • 23