This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The Promises spec currently has API hooks for fulfilling and rejecting a promise. It should also have a hook for adopting a promise. Use-case: I'm returning a promise from an operation in the Font Load Events API. Sometimes it'll be rejected quickly and directly, so I need to have a handle for the promise itself. If all goes well, though, the result should be as if Promise.every() was called on a spec-defined list of other promises, which requires me to have the original returned promise adopt the result of the Promise.every() algorithm (once it's defined in a spec fashion that can be safely invoked).
From what I understand, this is asking for `Resolve`. https://github.com/domenic/promises-unwrapping#resolvep-x
Also an internal hook to Promise.every() that cannot be overridden I suspect. Similar to how XMLHttpRequest wants that for JSON.parse().
Tab, I recommend chiming in here: https://github.com/domenic/promises-unwrapping/issues/21