Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Accessing localStorage: SecurityError: The operation is insecure

Open Saigredan opened this issue 6 years ago • 1 comments

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

  1. Open your Safari browser, navigate to preferences -> privacy and check the cookie blockade.
  2. 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

Zrzut ekranu 2020-01-17 o 07 52 51 ## Platform details Latest Prebid version, MacOS, Safari/Chrome browsers

Saigredan avatar Jan 17 '20 06:01 Saigredan

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.

stale[bot] avatar Jan 31 '20 07:01 stale[bot]