Open Bug 1165914 Opened 6 years ago Updated 2 years ago

Storage and "ask me every-time"

Categories

(Core :: DOM: Core & HTML, defect)

38 Branch
x86
Windows
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: gael.blaise, Unassigned)

Details

Attachments

(1 file)

Attached image Bug Firefox.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150513174244

Steps to reproduce:

Just have to go to a site trying to use the Storage API (local or session), and not visited yet (qwant.com, for example).


Actual results:

Block the JS code because call to Storage API does not open the pop-up about cookie preference to say: "allow", "just for the sessions" or "never", and throw a "SecurityError".


Expected results:

Open the pop-up to ask cookie storing preferences for the site before to throw an error and pause the script while there is no user answer about the cookie storing preference
Component: Untriaged → General
OS: Unspecified → Windows
Hardware: Unspecified → x86
Component: General → DOM
Product: Firefox → Core
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.