Bug 154975

Summary: REGRESSION (r197474): storage/indexeddb/odd-strings.html fails
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 154968    

Description Brady Eidson 2016-03-03 10:29:25 PST
REGRESSION (r197474): storage/indexeddb/odd-strings.html fails

https://bugs.webkit.org/show_bug.cgi?id=154922
http://trac.webkit.org/changeset/197474
Comment 1 Brady Eidson 2016-03-03 10:49:32 PST
And it wasn't noticed because the test was marked [Pass Failure], instead of [Pass Timeout].

Dang.
Comment 2 Brady Eidson 2016-03-03 10:51:10 PST
So in addition to keying the database filename off the string name (unwise...), we also store the string name in the database file itself to verify against when opening the file.

Unfortunately for some of these odd-strings, we don't get the right string in the file (or fail to get the right string out).

r197474 made it so we close these files halfway through the test, and then try to reopen them later.

When we reopen them and try to verify the database name against what's in the file, we fail.
Comment 3 Brady Eidson 2016-04-25 13:58:01 PDT
This is the same thing happening on WK1 and WK2 covered by 154681

*** This bug has been marked as a duplicate of bug 154681 ***