Closed Bug 1748422 Opened 2 years ago Closed 8 months ago

Set path of manually added cookies to root instead of URL path

Categories

(DevTools :: Storage Inspector, enhancement, P3)

enhancement

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: sebo, Assigned: sebo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [devtools:relnote])

Attachments

(1 file)

In https://discourse.mozilla.org/t/manually-setting-cookies-in-firefox-devtools/89455 it was requested to set the path of manually created cookies to the root, i.e. /, instead of the current URL's path.

I think this makes sense, as it is much more common that cookies are set for the whole domain in comparison to a specific path.
If someone really wants to restrict it to a specific path, this can be done via the inline editor.

The code that currently sets it to the file path is https://searchfox.org/mozilla-central/rev/996a2cafe472e9934b8cb91db63050f96d8a59cb/devtools/server/actors/storage.js#939.

Sebastian

Blocks: 1672148
Priority: -- → P3
Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED
Pushed by sebastianzartner@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/cb4d8c895629
[devtools] Set path of manually added cookies to root. r=devtools-reviewers,bomsy.
Regressions: 1850952
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Whiteboard: [devtools:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: