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

Crashes on global onerror #5

Open
StabbarN opened this issue Dec 14, 2016 · 2 comments
Open

Crashes on global onerror #5

StabbarN opened this issue Dec 14, 2016 · 2 comments

Comments

@StabbarN
Copy link

The global onerror handler in 3.5.0 crashes when trying to handle Dexie's errors (see https://github.com/dfahlander/Dexie.js).
Please don't propagate new errors when trying to handle errors.

To reproduce: Run a website with Dexie on Safari private mode.

Error info:
Unhandled rejection: QuotaExceededError: The quota has been exceeded. setItem@[native code] globalDatabaseList@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:36:18989 http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:35:3495 http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:34:22692 wrapFn@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:21237 invokeTask@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:10571 onInvokeTask@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:26:26523 invokeTask@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:10483 runTask@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:6481 invoke@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:11985 From previous: open@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:35:1957 initDB@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:62:3274 http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:51:6202 http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:14:15433 forEach@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:13:2380 createInjector@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:14:15380 doBootstrap@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:13:16405 invoke@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:9717 run@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:23:5559 runInOpbeatZone@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:26:27642 resumeDeferredBootstrap@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:24:9562 bootstrap@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:13:17228 angularInit@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:13:15667 http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:22:27825 trigger@http://localhost:8000/yadayada-3ecc92879b86fa5ccfc8b03420c76e12.js:14:2446

@StabbarN StabbarN changed the title Crashes on Dexie.DexieError Crashes on global onerror Dec 14, 2016
@StabbarN
Copy link
Author

By the way, we use Angular 1.6 so all Promise rejections should be handled.

@hmdhk
Copy link
Contributor

hmdhk commented Dec 22, 2016

@magnus-staberg ,

Thanks for reporting the issue.
I will investigate the problem.

Cheers

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

2 participants