8000 Release v0.61.1: Auto merge of #150 - CYBAI:getpromiseishandled, r=jdm · kentork/mozjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v0.61.1

tagged this 16 Oct 16:26
Support to get PromiseIsHandled internal slot in Promise

When trying to implement unhandled rejection in servo/servo#20755, I'd need to check the internal slot of Promise which is the step 4.1.1 for the spec of [notify about rejected promises](https://html.spec.whatwg.org/multipage/webappapis.html#notify-about-rejected-promises).
So, this PR will add the API to add the `GetPromiseIsHandled` method.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/mozjs/150)
<!-- Reviewable:end -->
Assets 2
Loading
0