Bug 154681 - Modern IDB: Tests fail due to odd strings in names
Summary: Modern IDB: Tests fail due to odd strings in names
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 154975 (view as bug list)
Depends on:
Blocks: 154968
  Show dependency treegraph
 
Reported: 2016-02-25 09:55 PST by Brady Eidson
Modified: 2016-06-04 10:18 PDT (History)
0 users

See Also:


Attachments

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