Bug 60193 - Port Mozilla's IndexedDB tests: odd result order
Summary: Port Mozilla's IndexedDB tests: odd result order
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 11:49 PDT by Mark Pilgrim (Google)
Modified: 2011-05-04 16:46 PDT (History)
6 users (show)

See Also:


Attachments
Patch (7.38 KB, patch)
2011-05-04 11:50 PDT, Mark Pilgrim (Google)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Pilgrim (Google) 2011-05-04 11:49:11 PDT
Original test: http://mxr.mozilla.org/mozilla2.0/source/dom/indexedDB/test/test_odd_result_order.html?raw=1

This is a port of a test from Mozilla's IndexedDB test suite. It uses setTimeout to check that the result property of asynchronous requests persists into the setTimeout callback. I don't know why it's called "odd result order," but that was the name of the original test file so I'm keeping it to make future cross-referencing easier.

WebKit passes this test.
Comment 1 Mark Pilgrim (Google) 2011-05-04 11:50:39 PDT
Created attachment 92293 [details]
Patch
Comment 2 David Grogan 2011-05-04 13:22:42 PDT
r+

This test seems to have been created to exercise a weird bug that caused firefox to crash.  https://bugzilla.mozilla.org/show_bug.cgi?id=628071
Comment 3 WebKit Commit Bot 2011-05-04 16:46:30 PDT
Comment on attachment 92293 [details]
Patch

Clearing flags on attachment: 92293

Committed r85807: <http://trac.webkit.org/changeset/85807>
Comment 4 WebKit Commit Bot 2011-05-04 16:46:36 PDT
All reviewed patches have been landed.  Closing bug.