Patch by:jlanbanca
Review by:ecc
Fixes Issue #1573:
getCookie/getCookieNames returns the wrong values if the last cookie is removed.  The needsRefresh method returns false when the doc.cookies variable is an empty string, which means that the cache becomes stale and does not refresh after removing the last cookie. Fixed both issues and added unit tests for them.


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1588 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed