Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

zone.js breaks IndexedDB on Safari via EventTarget monkey patch #1183

Closed
jpike88 opened this issue Jan 27, 2019 · 0 comments
Closed

zone.js breaks IndexedDB on Safari via EventTarget monkey patch #1183

jpike88 opened this issue Jan 27, 2019 · 0 comments

Comments

@jpike88
Copy link

jpike88 commented Jan 27, 2019

I've been looking at migrating from ng1 over the last week and after much pain I've realised that pouchdb-browser was breaking due to a modification that affects IndexedDB on Safari and Mobile Safari (WKWebView).

Issue reproduced here:

https://stackblitz.com/edit/angular-issue-repro2-bo2cgs

Issue only occurs on Safari/Mobile Safari.

Uncaught NotFoundError: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found.

As someone who was finally looking at migrating to ng2, this is a major disappointment, I waited a long time before migrating as I thought it would have matured by now. But breaking IndexedDB on a popular browser is a dealbreaker for continuing with the migration.

EDIT: this old PR looks like it might be related? Don't know
#204

@jpike88 jpike88 changed the title zone.js breaks IndexedDB by mangling EventTarget zone.js breaks IndexedDB on Safari via EventTarget monkey patch Jan 27, 2019
@jpike88 jpike88 closed this as completed Jan 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant