[Webkit-unassigned] [Bug 60186] Port Mozilla's IndexedDB tests: transaction lifetimes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 18 11:52:16 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=60186





--- Comment #4 from David Grogan <dgrogan at chromium.org>  2011-05-18 11:52:16 PST ---
(In reply to comment #2)
> (From update of attachment 92284 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=92284&action=review
> 
> > LayoutTests/storage/indexeddb/mozilla/transaction-lifetimes.html:56
> > +    transaction = evalAndLog("transaction = db.transaction('foo');");
> 
> I think a transaction with nothing to do aborts; could you add an onabort handler with testPassed("empty transaction aborted") or something similar?

(In reply to comment #3)
> I don't see anything in the spec to back up that assertion. Also, WebKit does not appear to trigger onabort in this test.

I was referring to behavior described here:
http://trac.webkit.org/browser/trunk/LayoutTests/storage/indexeddb/tutorial.html#L209

If onabort doesn't get called, could you add onabort = unexpectedAbortCalled (or whatever its name is)?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list