Re: [css-font-loading] FontFaceSet.load and failed FontFace loads

On May 17, 2015 1:53 AM, "Cameron McCormack" <cam@mcc.id.au> wrote:
>
> The definition for FontFaceSet.load says that the promise that’s
> returned is resolved with the result of waiting for each of the promises
> that come from calling load on each matching FontFace.  I’m assuming
> that this is meant to be the same as calling Promise.all, but that’s
> not said, and Promise.all requires specific behaviour such as
> rejecting the promise as soon as one of its dependent promises is
> rejected.  So if that behaviour is desired, Promise.all should be
> mentioned.

That's actually meant to be a term of art from the Promises spec. Yes, it's
Promise.all().

I'll poke at the spec again and see if it's properly linkable now.

~TJ

Received on Sunday, 17 May 2015 13:09:38 UTC