Re: [csswg-drafts] [css-font-loading] FontFaceSet.load() promise rejections (#7680)

I'm not 100% sure, but maybe folks are assuming that resolve is the opposite of reject? [It isn't](https://jakearchibald.com/2014/resolve-not-opposite-of-reject/).

```js
const a = Promise.reject(new Error('boom'));
const b = Promise.resolve(a);
```

`b` is a rejected promise.

The opposite of 'rejected' is 'fulfilled'.

If this is the issue, it might have been clearer if the promise operations were linked to their definitions in WebIDL. Eg https://webidl.spec.whatwg.org/#waiting-for-all-promise.

-- 
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7680#issuecomment-1249898518 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 16 September 2022 22:14:45 UTC