Bug 154681

Summary: Modern IDB: Tests fail due to odd strings in names
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 154968    

Description Brady Eidson 2016-02-25 09:55:11 PST
Modern IDB: DatabaseProcess cannot open some database filenames that DumpRenderTree can

This is forcing us to skip these two tests when enabling Modern IDB in WK2:
storage/indexeddb/database-odd-names.html
storage/indexeddb/odd-strings.html

Just one example that both tests hit is the database name with two unicode bytes "0xfffe"
The database filename that resolves to on my machine is:
/Volumes/Data/Home/Library/Application Support/DumpRenderTree/Databases/IndexedDB/file__0/<funny question mark in a box glyph>￾/IndexedDB.sqlite3

DRT opens it fine, but DatabaseProcess does not.

Currently unclear to me what's going on, but with the right eyes on it I'm sure it will be obvious.
Comment 1 Brady Eidson 2016-04-25 13:58:01 PDT
*** Bug 154975 has been marked as a duplicate of this bug. ***
Comment 2 Brady Eidson 2016-04-25 14:00:57 PDT
New title:
Modern IDB: Tests fail due to odd strings in names