Fixes <http://webkit.org/b/30421>.
commit99350211b90b21510975f25f0a44395ff8b26811
authorbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Oct 2009 20:50:21 +0000 (20 20:50 +0000)
committerbweinstein@apple.com <bweinstein@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Oct 2009 20:50:21 +0000 (20 20:50 +0000)
tree638dd363ee457a46e65a44725b968f7cbea5a337
parent34ec92c5a95a46158a24bcec6a1a3da58ba670a7
Fixes <http://webkit.org/b/30421>.
Web Inpsector: Local Files can show up on Cookies List with Cookies from other Domain.

Reviewed by Alice Liu.

When a page like Google generates an about:blank, it shows up as a local file on
the list of Cookie domains, but has all of the cookies of Google. When we are adding
cookie domains to the inspector, we should only add the domain is the URL of the resource
is in the HTTP protocol family or a file URL.

* inspector/InspectorController.cpp:
(WebCore::InspectorController::populateScriptObjects):
(WebCore::InspectorController::didFinishLoading):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/inspector/InspectorController.cpp