Re: Callback naming

Le mercredi 02 décembre 2009 à 13:44 +0200, Ilkka Oksanen a écrit :
> There is related issue conserning SuccessCallback, ErrorCallback and 
> PendingOperation interfaces. In camera API those interfaces are copied 
> from Richard's Contact API draft. Would it be possible to create common 
> parts specification or something similar for them to get rid of copy 
> paste WebIDL?

While that’s true for PendingOperation, I feel pretty strongly that in
many cases (and in particular in the Capture API) we will want
specialized SuccessCallback interfaces — I modified the Capture API
document this morning to reflect that —, and possibly specialized
ErrorCallback (this still needs to be fixed in the capture API draft)

Dom

Received on Wednesday, 2 December 2009 12:16:34 UTC