- From: Juan Ignacio Dopazo <dopazo.juan@gmail.com>
- Date: Mon, 22 Jul 2013 13:05:25 -0300
- To: "public-script-coord@w3.org" <public-script-coord@w3.org>
Received on Monday, 22 July 2013 16:06:11 UTC
The DOM spec says that callbacks in `then` should be wrapped and added to the context object "if not omitted": > Let fulfillWrapper be a promise wrapper callback for resolver and fulfillCallback if fulfillCallback is not omitted and a promise callback for resolver and its fulfill algorithm otherwise A+ and most promises implementations allow non-function values like `null` to be ignored, but the "if not omitted" language means that only `undefined` is ignored. Can it be changed to "if IsCallable(fulfillCallback)"? Juan
Received on Monday, 22 July 2013 16:06:11 UTC