Title: [137578] trunk/Source/WebCore
- Revision
- 137578
- Author
- [email protected]
- Date
- 2012-12-13 02:27:32 -0800 (Thu, 13 Dec 2012)
Log Message
[Qt] Fix deleteAllCookies() invalid SQL statement
https://bugs.webkit.org/show_bug.cgi?id=101580
Patch by Antti Harju <[email protected]> on 2012-12-13
Reviewed by Jocelyn Turcotte.
* platform/network/qt/CookieJarQt.cpp:
(WebCore::SharedCookieJarQt::deleteAllCookies):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (137577 => 137578)
--- trunk/Source/WebCore/ChangeLog 2012-12-13 10:09:15 UTC (rev 137577)
+++ trunk/Source/WebCore/ChangeLog 2012-12-13 10:27:32 UTC (rev 137578)
@@ -1,3 +1,13 @@
+2012-12-13 Antti Harju <[email protected]>
+
+ [Qt] Fix deleteAllCookies() invalid SQL statement
+ https://bugs.webkit.org/show_bug.cgi?id=101580
+
+ Reviewed by Jocelyn Turcotte.
+
+ * platform/network/qt/CookieJarQt.cpp:
+ (WebCore::SharedCookieJarQt::deleteAllCookies):
+
2012-12-13 Ryosuke Niwa <[email protected]>
Safari spends a lot of time in WebCore::findSimpleWordBoundary while selecting text on large scrabutility.com page
Modified: trunk/Source/WebCore/platform/network/qt/CookieJarQt.cpp (137577 => 137578)
--- trunk/Source/WebCore/platform/network/qt/CookieJarQt.cpp 2012-12-13 10:09:15 UTC (rev 137577)
+++ trunk/Source/WebCore/platform/network/qt/CookieJarQt.cpp 2012-12-13 10:27:32 UTC (rev 137578)
@@ -222,7 +222,7 @@
return;
QSqlQuery sqlQuery(m_database);
- sqlQuery.prepare(QLatin1String("DELETE * FROM cookies"));
+ sqlQuery.prepare(QLatin1String("DELETE FROM cookies"));
sqlQuery.exec();
setAllCookies(QList<QNetworkCookie>());
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes