Bug 152078 - Modern IDB: storage/indexeddb/createIndex-after-failure.html fails
Summary: Modern IDB: storage/indexeddb/createIndex-after-failure.html fails
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords:
Depends on:
Blocks: 149117 150882
  Show dependency treegraph
 
Reported: 2015-12-09 10:42 PST by Brady Eidson
Modified: 2015-12-09 14:22 PST (History)
4 users (show)

See Also:


Attachments
Patch v1 (4.92 KB, patch)
2015-12-09 13:24 PST, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.