Bug 152078

Summary: Modern IDB: storage/indexeddb/createIndex-after-failure.html fails
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, alecflett, commit-queue, jsbell
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 149117, 150882    
Attachments:
Description Flags
Patch v1 none

Description Brady Eidson 2015-12-09 10:42:09 PST
Modern IDB: storage/indexeddb/createIndex-after-failure.html fails

The test was actually bogus - Our behavior of aborting the transaction once a createIndex fails due to constraint errors was actually correct.

However, there will be some source changes to get the right error installed.
Comment 1 Brady Eidson 2015-12-09 13:09:47 PST
(In reply to comment #0)
> Modern IDB: storage/indexeddb/createIndex-after-failure.html fails
> 
> The test was actually bogus - Our behavior of aborting the transaction once
> a createIndex fails due to constraint errors was actually correct.
> 
> However, there will be some source changes to get the right error installed.

Never mind, the error is right - I was misreading the test + results.

LayoutTests-only patch on its way.
Comment 2 Brady Eidson 2015-12-09 13:24:17 PST
Created attachment 267039 [details]
Patch v1
Comment 3 WebKit Commit Bot 2015-12-09 14:22:47 PST
Comment on attachment 267039 [details]
Patch v1

Clearing flags on attachment: 267039

Committed r193865: <http://trac.webkit.org/changeset/193865>
Comment 4 WebKit Commit Bot 2015-12-09 14:22:50 PST
All reviewed patches have been landed.  Closing bug.