[Soup] CookieJarSoup::deleteCookie() should stop looking for the cookie after it is removed
https://bugs.webkit.org/show_bug.cgi?id=110100

Reviewed by Kenneth Rohde Christiansen.

CookieJarSoup::deleteCookie() retrieves the list of cookies that apply to a given URL, then
iterates through the cookies to find the one with the right name and delete it. However, the
current implementation keeps on comparing cookie names after the cookie was removed. This
patch introduces a "wasDeleted" boolean to stop comparing cookie names after the cookie was
deleted. Note that we cannot break as soon as the cookie is found as we need to keep iterating
so that the cookies get freed by GOwnPtr.

No new tests, no behavior change.

* platform/network/soup/CookieJarSoup.cpp:
(WebCore::deleteCookie):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Deleted extraneous file. It has been added accidentally in r142135.
https://bugs.webkit.org/show_bug.cgi?id=109953.

* platform/qt-5.0-wk2/TestExpectations.orig: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143205 268f45cc-cd09-0410-ab3c-d52691b4dbfc