W3C home > Mailing lists > Public > www-tag@w3.org > January 2014

RE: [promises] Guidance on the usage of promises for API developers

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Thu, 16 Jan 2014 18:29:58 +0000
To: Boris Zbarsky <bzbarsky@MIT.EDU>, "www-tag@w3.org" <www-tag@w3.org>, public-webapps <public-webapps@w3.org>
Message-ID: <975b57ed501f402b9201426e00f8cfe9@BN1PR05MB325.namprd05.prod.outlook.com>
From: Boris Zbarsky <bzbarsky@MIT.EDU>

> All the terms in the "Creating Promises" are implicitly assuming operation in a particular realm [1].  Same for the ones in "Aggregating Promises" and the definition of "Transforming p with onFulfilled and onRejected".  Same thing for the "Promise Arguments Should Be Cast" guidance.
> They need to either explicitly specify which realm is used somehow or all consumers (that is, specs using this terminology) need to do it.

Hmm, I don't quite understand the concern. What is special about promises that makes using them require specifying the realm, whereas other web specs don't seem to need to? Or do other specs specify realms too, and I just haven't noticed?

An example underspecified scenario would be helpful, I think.
Received on Thursday, 16 January 2014 18:30:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:33:24 UTC