Skip to content

Commit

Permalink
Fix issue causing no cookies to be shown in the Resources > Cookies p…
Browse files Browse the repository at this point in the history
…anel.

BUG=608364

Review-Url: https://codereview.chromium.org/1943443003
Cr-Commit-Position: refs/heads/master@{#391127}
  • Loading branch information
kdzwinel authored and Commit bot committed May 3, 2016
1 parent c02c96f commit 6d057b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ Kingshuk Jana <kingshuk.j@samsung.com>
Kirill Bobyrev <kirillbobyrev@gmail.com>
Kirk Shoop <kirk.shoop@microsoft.com>
Klemen Forstnerič <klemen.forstneric@gmail.com>
Konrad Dzwinel <kdzwinel@gmail.com>
Krishna Chaitanya <krish.botta@samsung.com>
Kristof Kosztyo <kkosztyo.u-szeged@partner.samsung.com>
Krzysztof Czech <k.czech@samsung.com>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ WebInspector.CookieItemsView.prototype = {
function populateResourcesForDocuments(resource)
{
var url = resource.documentURL.asParsedURL();
if (url && url.host == this._cookieDomain)
if (url && url.securityOrigin() == this._cookieDomain)
resourceURLsForDocumentURL.push(resource.url);
}
WebInspector.forAllResources(populateResourcesForDocuments.bind(this));
Expand Down

0 comments on commit 6d057b8

Please sign in to comment.