IndexedDB: don't expose IDBDatabaseError to script