See https://github.com/promises-aplus/promises-spec/issues/246. In short, if it is possible to call resolve multiple times, the first resolve should win — even if it's a pending thenable (non-trusted promise), and subsequent calls are made with immediately-available synchronous values. Potential currently fails this.
See https://github.com/promises-aplus/promises-spec/issues/246. In short, if it is possible to call
resolve
multiple times, the firstresolve
should win — even if it's a pending thenable (non-trusted promise), and subsequent calls are made with immediately-available synchronous values. Potential currently fails this.