Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

es6.promise always pause on exception in Canary #186

Closed
webuniverseio opened this issue Mar 30, 2016 · 1 comment
Closed

es6.promise always pause on exception in Canary #186

webuniverseio opened this issue Mar 30, 2016 · 1 comment

Comments

@webuniverseio
Copy link

Hi, I can't use pause on exception feature in Canary (51.0.2694.1 canary (64-bit)) because es6.promise causes "Iterator result undefined is not an object" type error. Is there a way to fix that?

temp

Thank you.

@zloirock
Copy link
Owner

Interesting. Looks like exceptions in promises, even with handlers, causes this problem:

new Promise(_ => { throw 42 }).catch(e => console.log(e));

It's Chrome dev tools issue, not core-js. I will add a fallback for this example, but not sure it can be added in some future cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants