Re: [WebIDL] Make [AllowAny] the default?

Anne van Kesteren:
> Not sure what is going to happen. Do we actually have float or DOMString
> somewhere? Most scenarios I can think of are one or more host objects
> (is that the right term?) versus one ECMAScript type. So if there is
> always only one number, string, or boolean, you can always do the
> appropriate toBoolean(), toNumber(), and toString(). Am I missing
> something?

I don't think we do have float or DOMString anywhere.

I've removed [AllowAny], and now if you overload with a DOMString then 
it will be selected if none of the other types match, per 
http://lists.w3.org/Archives/Public/public-script-coord/2011OctDec/0344.html. 
  Let me know if this resolution is satisfactory.

Received on Thursday, 22 December 2011 06:39:10 UTC