-
eric@webkit.org authored
Reviewed by Pavel Feldman. Change the way cookies are retrieved in the WebInspector frontend. Moved the cookie filtering from the native code into the frontend so that all cookies can be retrieved regardless of the associated domain (required for certain audits to run.) https://bugs.webkit.org/show_bug.cgi?id=32160 * inspector/cookie-resource-match-expected.txt: Added. * inspector/cookie-resource-match.html: Added. 2009-12-08 Alexander Pavlov <apavlov@chromium.org> Reviewed by Pavel Feldman. Change the way cookies are retrieved in the WebInspector frontend. Moved the cookie filtering from the native code into the frontend so that all cookies can be retrieved regardless of the associated domain (required for certain audits to run.) https://bugs.webkit.org/show_bug.cgi?id=32160 Test: inspector/cookie-resource-match.html * inspector/InspectorBackend.cpp: (WebCore::InspectorBackend::getCookies): * inspector/InspectorBackend.h: * inspector/InspectorBackend.idl: * inspector/InspectorController.cpp: (WebCore::InspectorController::getCookies): * inspector/InspectorController.h: * inspector/front-end/CookieItemsView.js: (WebInspector.CookieItemsView.prototype.update.callback): (WebInspector.CookieItemsView.prototype.update): (WebInspector.CookieItemsView.prototype._cookiesForDomain): * inspector/front-end/DOMAgent.js: (WebInspector.Cookies.getCookiesAsync): (WebInspector.Cookies.cookieMatchesResourceURL): (WebInspector.Cookies.cookieDomainMatchesResourceDomain): * inspector/front-end/Resource.js: (WebInspector.Resource): (WebInspector.Resource.prototype.get documentURL): (WebInspector.Resource.prototype.set documentURL): * inspector/front-end/inspector.js: (WebInspector.addResource): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b8fb1845