On 9/9/14, 2:57 AM, Kilik kuo wrote:
Boris Zbarsky於 2014年9月8日星期一UTC+8下午11時51分04秒寫道:
    boolean available;

This needs a default value.

I'm not quite sure about this,

I am.  ;)

Since it's an optional argument for AvailableChangeEvent.

Right, and the question is: what is the behavior when the argument is not passed?

If you give this a default value, then that default value will be used. If you don't given a default value, you have to define the behavior in some other way.

The current trend in event specs is to use default values for things that are optional.

-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to