commit | 2776b29daa5d7adbff41bbfebaaf7b82de5b5a2c | [log] [tgz] |
---|---|---|
author | yhirano <yhirano@chromium.org> | Tue Feb 16 20:54:52 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 16 20:56:29 2016 |
tree | 99b11bca307357c5abb9f1066f20385016c60008 | |
parent | da0133e62a09b344202eea55f8a225bad2b9d51e [diff] |
Add ScriptPromiseResolver::detach A ScriptPromiseResolver requires to be resolved or rejected before it is destructed. One the other hand, some APIs need to "detach" promise in certain cases, i.e. they need to leave the associated promise pending forever. This change adds ScriptPromiseResolver::detach for the use case. BUG=None R=haraken@chromium.org Review URL: https://codereview.chromium.org/1696553005 Cr-Commit-Position: refs/heads/master@{#375658}