Open Bug 1461411 Opened 7 years ago Updated 2 years ago

Can't set cookies in dev tools after Firefox 50

Categories

(DevTools :: Storage Inspector, defect, P3)

60 Branch
defect

Tracking

(Not tracked)

People

(Reporter: abkowald, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180509235650 Steps to reproduce: Try adding a cookie within the dev tools on a page that spits out JSON. You can't do it! Here's a four line program. Browse to localhost:8080/ and try to set a cookie: const express = require('express'); const app = express(); app.get('/', (req, res) => res.json({testing: true})); app.listen(8080, () => console.log('Listening on 8080..')); Actual results: Nothing happens when you hit the + button to create a new cookies under the Storage tab in devtools. You can modify existing cookies but the + button has no effect. Expected results: It should have the same behavior as a non-JSON page. What I have to do is load another page on the domain that's not JSON in order to be able to create cookies. This started around FF 50. Currently on 60.0+build2-0ubuntu0.16.04.1. Thanks for reviewing this bug!
Component: Untriaged → Developer Tools: Storage Inspector
This is probably caused by the fact that the JSON page would not have the cookie observers we would need in order to detect new cookies.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Product: Firefox → DevTools
Blocks: 1672148
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.