Closed Bug 756809 Opened 14 years ago Closed 10 years ago

provide user-editability of cookies

Categories

(Firefox :: Settings UI, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kwiniec, Unassigned)

Details

Once upon a time there was the Cookie Manager...and then there wasn't. Then there was human-readable cookies.txt...and then there wasn't. Then there was the ability to convert between cookies.sqlite and text with free sqlite3...and then there wasn't. Now I can find no way for a user to edit their cookies without knowing SQL and possessing SQL tools. Which, since cookies aren't inherently SQL databases, doesn't seem to me should be necessary. I propose adding back some modicum of user-editability to cookies. Two ways I can think of are: 1. Restore some cookies.txt-like functionality. For example, add buttons (somewhere) "Export Cookies to Text File" and "Import Cookies from Text File". 2. Restore some Cookie Manager-like functionality. For example, add buttons to the Cookies window "New Cookie", "Copy Cookies", "Paste Cookies", and "Edit Cookie".
Very few people will need this feature and there's already multiple addons that can do this. https://addons.mozilla.org/en-US/firefox/search/?q=edit+cookie
> Very few people will need this feature and there's already multiple addons that can do this. So, which is it: not enough people need to manage cookies (numbers?), or enough people need to manage cookies to merit all the creation and use of add-ons? The latter sounds like evidence against the former to me.... ;-) I agree that add-ons are the way to go for rich cookie management. But Firefox was the one which created a problem by destroying the intrinsic editable property of the cookie, and so it seems to me the responsibility just for restoring the property and solving the problem belongs exclusively to Firefox. And I think an "Export Cookies to Text File" / "Import Cookies from Text File" button-pair might be a reasonable solution.
Component: General → Preferences
Summary: enh: restore some user-editability of cookies → provide user-editability of cookies
(In reply to Ken Winiecki, Jr. from comment #2) > But Firefox was the one which created a problem by destroying the intrinsic > editable property of the cookie, and so it seems to me the responsibility > just for restoring the property and solving the problem belongs exclusively > to Firefox. This is non-sequitur. By this standard, any time we remove *anything* from Firefox we... also have to put it back? We would never get anything done. No, this is wontfix - the builtin devtools (shift-f2, "help cookie"), add-ons and sql are sufficient for dealing with this. We shouldn't complicate our codebase, increase our maintenance footprint, and increase our UI complexity, to support editing cookies in the UI. I'm also confused why you think you couldn't still convert between cookies.sqlite and text. cookies.sqlite still exists and we use the sqlite library pretty much as written, so I see no reason you couldn't use alternative sqlite tools to export/import as required.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
> This is non-sequitur. Cookies come in as human-readble text. Firefox originally did not alter the format for storage, retaining the cookies' OS-native user-editable quality. Firefox then switched to encoding them into human-unreadable SQL code. Neither OS X 10.6 nor Firefox supplied a native, user-friendly way to decode or re-encode SQL. Thus, Firefox eliminated the native user-editable quality. I do not think Firefox intended to eliminate the capability, I think it was an unintended consequence, so I proposed Firefox rectify it. Still seems sequitur to me. > By this standard, any time we remove *anything* from > Firefox we... also have to put it back? We would never get anything done. Not *anything*, just unintentionally-removed user capabilities. A capability does not define a method; for example, perhaps Firefox could efficiently restore user-editability by adding user-accessible SQL-to-text and text-to-SQL functions. > No, this is wontfix - the builtin devtools (shift-f2, "help cookie"), Interesting. First I've heard of it. Kind of painful, but interesting. > add-ons and sql are sufficient for dealing with this. We shouldn't > complicate our codebase, increase our maintenance footprint, and increase > our UI complexity, to support editing cookies in the UI. Understood. > I'm also confused why you think you couldn't still convert between > cookies.sqlite and text. cookies.sqlite still exists and we use the sqlite > library pretty much as written, so I see no reason you couldn't use > alternative sqlite tools to export/import as required. In 2012 when this was filed, Firefox made me download, install, and learn to use sqlite3, so thought Firefox might want to stop making more users do that. But 2013 brought the SQLite Manager extension, so the 3rd-party world took care of it.
You need to log in before you can comment on or make changes to this bug.