Upstream BlackBerry Cookie Management Classes
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Feb 2012 04:34:56 +0000 (04:34 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Feb 2012 04:34:56 +0000 (04:34 +0000)
commit0aaa85644e7c88ab417885435d30e9f028cfca3b
tree568f8871af9d897b05ccca7e387adcf5d6669612
parent88e6bfbc9f6689eb146036c7107d121afedc36f1
Upstream BlackBerry Cookie Management Classes
https://bugs.webkit.org/show_bug.cgi?id=73654

Patch by Konrad Piascik <kpiascik@rim.com> on 2012-02-23
Reviewed by Rob Buis.

.:

Manual test to see in milliseconds how quickly 100 writes followed by 100 reads take.
This test is ran twice and the average read and write for each of the 2 runs is shown.

* ManualTests/cookieSpeedTest.html: Added.

Source/WebCore:

Added ManualTests/cookieSpeedTest.html as well as tested functionality
on the BlackBerry port with http://testsuites.opera.com/cookies/
Passes all non Cookie 2 tests since Cookie 2 is not implemented/supported at this time.
Error handling and extended tests do not all pass and will be updated with future bugs/patches.

* platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp: Added.
* platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h: Added.
* platform/blackberry/CookieJarBlackBerry.cpp: Added.
* platform/blackberry/CookieManager.cpp: Added.
* platform/blackberry/CookieManager.h: Added.
* platform/blackberry/CookieMap.cpp: Added.
* platform/blackberry/CookieMap.h: Added.
* platform/blackberry/CookieParser.cpp: Added.
* platform/blackberry/CookieParser.h: Added.
* platform/blackberry/ParsedCookie.cpp: Added.
* platform/blackberry/ParsedCookie.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@108722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
ChangeLog
ManualTests/cookieSpeedTest.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.cpp [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieJarBlackBerry.cpp [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieManager.cpp [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieManager.h [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieMap.cpp [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieMap.h [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieParser.cpp [new file with mode: 0644]
Source/WebCore/platform/blackberry/CookieParser.h [new file with mode: 0644]
Source/WebCore/platform/blackberry/ParsedCookie.cpp [new file with mode: 0644]
Source/WebCore/platform/blackberry/ParsedCookie.h [new file with mode: 0644]