Skip to content

Safari IPC issue "TypeError: undefined is not an object ("evaluating 'this.channel.postMessage')" #41

@appy-one

Description

@appy-one

Safari (on Mac & iOS) doesn't support BroadcastChannel, which is checked for in the browser IPCPeer constructor but not in its sendMessage method, which is actively used by AceBase.

This results in error "TypeError: undefined is not an object ("evaluating 'this.channel.postMessage')" and the database not being created correctly / working properly.

This affects Safari on Mac, and all browsers on iOS (they all use Safari behind the scenes)

Metadata

Metadata

Assignees

Labels

IndexedDBBrowser IndexedDB implementationbugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions