Skip to content
Permalink
Browse files
Web Inspector: Cookies for extensions show UUID instead of extension …
…name in Storage tab

https://bugs.webkit.org/show_bug.cgi?id=247903
rdar://101966366

Reviewed by Timothy Hatcher.

`CookieStorageTreeElement` was the only subclass of `StorageTreeElement` not using `WI.displayNameForHost` to generate a
display name, which exists to convert extension UUIDs into a friendly name. Non-extension cookies will still just use
the host for its name.

* Source/WebInspectorUI/UserInterface/Views/CookieStorageTreeElement.js:
(WI.CookieStorageTreeElement.prototype.get name):

Canonical link: https://commits.webkit.org/256695@main
  • Loading branch information
patrickangle committed Nov 15, 2022
1 parent 0ae33bb commit 6cf49cf97d1f72b2a52b05827a552b179d125e90
Showing 1 changed file with 1 addition and 1 deletion.
@@ -36,7 +36,7 @@ WI.CookieStorageTreeElement = class CookieStorageTreeElement extends WI.StorageT

get name()
{
return this.representedObject.host;
return WI.displayNameForHost(this.representedObject.host);
}

get categoryName()

0 comments on commit 6cf49cf

Please sign in to comment.