It would be great if it was possible to edit and delete cookies in the Storage section of the web inspector.
You can delete. Edit will be harder.
Sorry, I managed to overlook the 'X'-button!
Would it be possible to bind backspace to "Delete cookie"?
(In reply to comment #2)
> Sorry, I managed to overlook the 'X'-button!
> Would it be possible to bind backspace to "Delete cookie"?
That would be useful, if you want to file a new bug and assign it to me, I can take a look at it today or tomorrow.
Delete is now bound to delete cookie as of http://trac.webkit.org/changeset/50613.
It would be awesome to be able to delete more than one cookie at a time on a site.
The DataGrid editing should just be a flag, and the backend will need a new "setCookie" command in Page.json. That's the easy part.
If we only support editing name and value, then that can be implemented as a delete + adding a new cookie via Document.cookie= under the hood.
If editing other fields is to be supported, or loading/saving cookies to file, then a new CookieJar method is needed that takes in the various header fields and makes an already-parsed cookie. This could be nontrivial depending on the port.
I recently ran into this issue, and it forced me to use Firefox/Chrome to test some code I was working on.
Editing just the name and value would be sufficient for me, and seems like it might be sufficient for this issue given that it specifically says key/value in the title. If there is agreement that that simple path is good enough, I may try my hand at putting together a patch for this.