Bug 44953 - IDBCursor.continue() should reuse the .openCursor's IDBRequest object
Summary: IDBCursor.continue() should reuse the .openCursor's IDBRequest object
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Jeremy Orlow
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 07:57 PDT by Jeremy Orlow
Modified: 2020-06-30 00:59 PDT (History)
4 users (show)

See Also:


Attachments
Patch (18.46 KB, patch)
2010-08-31 08:07 PDT, Jeremy Orlow
steveblock: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Orlow 2010-08-31 07:57:13 PDT
IDBCursor.continue() should reuse the .openCursor's IDBRequest object
Comment 1 Jeremy Orlow 2010-08-31 08:07:55 PDT
Created attachment 66055 [details]
Patch
Comment 2 Jeremy Orlow 2010-08-31 08:08:46 PDT
Please take a look.
Comment 3 Steve Block 2010-09-03 04:59:50 PDT
Comment on attachment 66055 [details]
Patch

It would be good to mention somewhere why the INITIAL state is no longer used. Presumably this is a spec change?
Comment 4 Jeremy Orlow 2010-09-03 05:07:26 PDT
(In reply to comment #3)
> (From update of attachment 66055 [details])
> It would be good to mention somewhere why the INITIAL state is no longer used. Presumably this is a spec change?

Yup.

Will do before landing.
Comment 5 Jeremy Orlow 2010-09-03 05:54:10 PDT
Committed r66726: <http://trac.webkit.org/changeset/66726>
Comment 6 Mike Mestnik 2020-06-30 00:59:06 PDT
Sorry to ding this, but I was able to take a look at the implementation.  I wonder if resetting readyState on IDBRequest is behavior from spec or coincidental?

https://github.com/w3c/IndexedDB/issues/339