compat-table
compat-table copied to clipboard
Test for unhandled promise rejection tracking
As per https://github.com/tc39/ecma262/pull/76
fwiw, that tracking is not part of the language spec. It's something browsers can choose to opt in to - and those hooks you linked to are just so that the browsers don't have to write overriding spec text.
I don't think it's something we should be testing for, because it's not required by ES - but nor is it something we can test for in any implementation I've seen (unhandled rejection tracking is console-only)
I disagree. Promise rejection tracking events can be added as a part of a new table for ES-related HTML features, like #636.
Sure, if it's in a new table that makes sense. The tests shouldn't be added until there's at least one browser implementation, though.
It's implemented in Chrome 49+.
Good to know - once that ships stable then my conditions are met :-)
Strange condition. Why do you think so? :) It's a spec.
Since Chrome supports this now, I'll see if I can add it to the table.
To which table? :) We still haven't a table for it.
Haha. That's a good point. I guess it doesn't make sense on the ES6 page since it's specific to browsers. ¯_(ツ)_/¯
In any case, 'onunhandledrejection' in window seems to be a sufficient test for it. Looks like only Chrome supports it right now.
What about non-standard table?
@kangax it's already a part of HTML standard. As I wrote before, makes sense add a new table for ES-related HTML features.
IMO this should be on caniuse website instead. or we'll end up creating a copy of caniuse in a new tab of compat-table