Chromium Code Reviews| 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(); |
|
dgozman
2016/12/14 17:20:21
Note that asParsedURL can return null.
|
| 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); |