[V8] IndexedDB: Crash when lazy-indexing Date keys
Created attachment 169663 [details] Patch
Noticed this when running: http://w3c-test.org/webapps/IndexedDB/tests/submissions/Opera/idbobjectstore_createIndex8-valid_keys.htm When lazy indexing occurs - which is to say, an index is created and there's already data in an object store, so the back-end tells the front-end to cursor over the store to populate the index - if the keys are Date objects a crash occurs in V8. The proposed fix is totally a cargo-cult copy/paste from other methods.
Comment on attachment 169663 [details] Patch Ok. I feel like I don't fully understand why using an auxiliary context is safe in general, but that's a design question larger than this one patch.
Comment on attachment 169663 [details] Patch Clearing flags on attachment: 169663 Committed r131934: <http://trac.webkit.org/changeset/131934>
All reviewed patches have been landed. Closing bug.