Changeset 54351 in webkit
- Timestamp:
- Feb 4, 2010 10:06:08 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r54349 r54351 1 2010-02-04 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: group cookies by domains, not frame's domains. 6 7 https://bugs.webkit.org/show_bug.cgi?id=34599 8 9 * inspector/front-end/CookieItemsView.js: 10 (WebInspector.CookieItemsView.prototype._cookiesForDomain): 11 * inspector/front-end/inspector.js: 12 (WebInspector.updateResource): 13 (WebInspector._addCookieDomain): 14 1 15 2010-02-04 Nate Chapin <japhet@chromium.org> 2 16 -
trunk/WebCore/inspector/front-end/CookieItemsView.js
r51846 r54351 97 97 for (var id in WebInspector.resources) { 98 98 var resource = WebInspector.resources[id]; 99 var match = resource. documentURL.match(WebInspector.URLRegExp);99 var match = resource.url.match(WebInspector.URLRegExp); 100 100 if (match && match[2] === this._cookieDomain) 101 101 resourceURLsForDocumentURL.push(resource.url); -
trunk/WebCore/inspector/front-end/inspector.js
r54240 r54351 1047 1047 this.mainResource = resource; 1048 1048 1049 var match = payload.documentURL.match(WebInspector.URLRegExp); 1050 if (match) { 1051 var protocol = match[1].toLowerCase(); 1052 if (protocol.indexOf("http") === 0 || protocol === "file") 1053 this.addCookieDomain(protocol === "file" ? "" : match[2]); 1054 } 1049 this._addCookieDomain(resource.domain); 1055 1050 } 1056 1051 … … 1132 1127 } 1133 1128 1134 WebInspector. addCookieDomain = function(domain)1129 WebInspector._addCookieDomain = function(domain) 1135 1130 { 1136 1131 // Eliminate duplicate domains from the list.
Note: See TracChangeset
for help on using the changeset viewer.