Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Unified Diff: third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js

Issue 2567873002: DevTools: Add ability to add and edit cookies (Closed)
Patch Set: Code review fixes - part 2. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
index c3346448c25157813f11d2f4b6228260a7e842bb..65f3b48cb7f634a8f8d94e55748b2e199037e780 100644
--- a/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
+++ b/third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js
@@ -103,8 +103,9 @@ Resources.CookieItemsView = class extends UI.SimpleView {
}
if (!this._cookiesTable) {
+ const parsedURL = this._cookieDomain.asParsedURL();
this._cookiesTable =
- new Components.CookiesTable(false, this._update.bind(this), this._showDeleteButton.bind(this));
+ new Components.CookiesTable(false, this._update.bind(this), this._showDeleteButton.bind(this), parsedURL.domain());
}
this._cookiesTable.setCookies(this._cookies);

Powered by Google App Engine
This is Rietveld 408576698