Make iterating over a corrupted IndexedDB fail.

If an open corrupted IndexedDB was iterated over it would silently fail and the
web page would never be informed. This change fixes that bug so that cursor
iteration fails just like a get operation did previously.

BUG=332524

Review URL: https://codereview.chromium.org/237143006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264256 0039d316-1c4b-4281-b951-d872f2087c98
18 files changed