diff options
author | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-07 19:34:01 +0000 |
---|---|---|
committer | ccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-07 19:34:01 +0000 |
commit | bbda18e5b18bf55351a04290efccd5d943e835f2 (patch) | |
tree | 6e712e5b1b7034af9e2399d481bb7c9c7c80db4f /google_apis/drive/gdata_wapi_parser.h | |
parent | 5f45311de55db6549b10daf84bdaa1495947ef49 (diff) | |
download | chromium_src-bbda18e5b18bf55351a04290efccd5d943e835f2.zip chromium_src-bbda18e5b18bf55351a04290efccd5d943e835f2.tar.gz chromium_src-bbda18e5b18bf55351a04290efccd5d943e835f2.tar.bz2 |
Revert 243344 "IndexedDB: Fix cursor prefetching edge cases"
> IndexedDB: Fix cursor prefetching edge cases
>
> Cursor prefetch caches must be discarded when other
> requests are made to ensure proper request sequencing.
> Two edge cases were handled improperly if new records
> was written just ahead of the cursor.
>
> * A reset occurring before the prefetch results were
> received would be ignored; since the newly records
> weren't in the prefetch data, the cursor wouldn't see
> them.
>
> * A reset occurring after the results are received
> would back up the cursor to before the new records,
> even though the prefetch itself is a "continue"
> and advanced past them already.
>
> The fix is to reset the cache on receipt if necessary,
> and to ensure the reset state accounts for the implicit
> advance.
>
> BUG=331570
>
> Review URL: https://codereview.chromium.org/124323002
TBR=jsbell@chromium.org
Review URL: https://codereview.chromium.org/126263003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243359 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis/drive/gdata_wapi_parser.h')
0 files changed, 0 insertions, 0 deletions