Bug 102434

Summary: IndexedDB: setVersion batch 8
Product: WebKit Reporter: David Grogan <dgrogan>
Component: New BugsAssignee: David Grogan <dgrogan>
Status: RESOLVED FIXED    
Severity: Normal CC: alecflett, jsbell, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

David Grogan
Reported 2012-11-15 14:32:05 PST
IndexedDB: setVersion batch 8
Attachments
Patch (32.30 KB, patch)
2012-11-15 14:40 PST, David Grogan
no flags
David Grogan
Comment 1 2012-11-15 14:40:46 PST
David Grogan
Comment 2 2012-11-15 14:43:13 PST
Josh, could you take a look? After this patch there are 19 layout more tests that have setVersion warnings in their expected.txt. There are a few more tests that have been disabled since before that warning was issued. There are also a few setVersion instances in the chrome browser tests that need to be taken care of.
Joshua Bell
Comment 3 2012-11-15 16:31:59 PST
Comment on attachment 174519 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=174519&action=review lgtm > LayoutTests/ChangeLog:18 > + Again awkward to call indexedDBTest all over the place. The prefix We can delete removeVendorPrefixes() whenever we want now, right? (i.e. after the last batch is done) > LayoutTests/ChangeLog:19 > + line's gotta go, and we could also pull a resetDatabase method out of How about simpleIndexedDBTest(upgradeNeededHandler, callback) that has onsuccess = { db.close(); callback(); } > LayoutTests/ChangeLog:39 > + * storage/indexeddb/resources/versionchangerequest-activedomobject.js: I don't know if this is exercising the same code as before (the test looks like it's watching for a specific regression), but it seems fine.
David Grogan
Comment 4 2012-11-15 16:48:37 PST
Comment on attachment 174519 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=174519&action=review >> LayoutTests/ChangeLog:18 >> + Again awkward to call indexedDBTest all over the place. The prefix > > We can delete removeVendorPrefixes() whenever we want now, right? (i.e. after the last batch is done) I think we should keep the prefix check in until 24 goes to stable in the off chance that we want to open any of the layout tests in 23. But we can remove its output via Quiet whenever. >> LayoutTests/ChangeLog:19 >> + line's gotta go, and we could also pull a resetDatabase method out of > > How about simpleIndexedDBTest(upgradeNeededHandler, callback) that has onsuccess = { db.close(); callback(); } That does seem promising.
David Grogan
Comment 5 2012-11-15 16:49:36 PST
Tony, could you review this?
WebKit Review Bot
Comment 6 2012-11-15 17:14:47 PST
Comment on attachment 174519 [details] Patch Clearing flags on attachment: 174519 Committed r134866: <http://trac.webkit.org/changeset/134866>
WebKit Review Bot
Comment 7 2012-11-15 17:14:50 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.