Prebid.js
Prebid.js copied to clipboard
Accessing localStorage: SecurityError: The operation is insecure
Type of issue
Question
Description
For many different browsers, Safari and Chrome especially, while cookies are disabled, fatal error is being fired when running Prebid and accessing localStorage or cookies (message example: "SecurityError: The operation is insecure").
The question is, should anything be done with it or a fix should be provided with try/catch blocks
Steps to reproduce
- Open your Safari browser, navigate to preferences -> privacy and check the cookie blockade.
- Open new tab, open developer console and navigate to test page below.
Test page
http://prebid.org/examples/video/instream/jwplayer/pb-ve-jwplayer-platform.html
Expected results
Console should be free od errors.
Actual results
## Platform details
Latest Prebid version,
MacOS, Safari/Chrome browsers
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.