mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #41] Safari IPC issue "TypeError: undefined is not an object ("evaluating 'this.channel.postMessage')" #35
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @appy-one on GitHub (Aug 25, 2021).
Original GitHub issue: https://github.com/appy-one/acebase/issues/41
Originally assigned to: @appy-one on GitHub.
Safari (on Mac & iOS) doesn't support
BroadcastChannel, which is checked for in the browser IPCPeer constructor but not in itssendMessagemethod, 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)
@appy-one commented on GitHub (Aug 27, 2021):
Implemented a simple
BroadcastChannelpolyfill for Safari / iOS, published with v1.8.4