[webkit-dev] Optional parameter in IDL and undefined JS value

Maciej Stachowiak mjs at apple.com
Thu Apr 21 03:38:24 PDT 2011


On Apr 21, 2011, at 12:14 AM, Jian Li wrote:

> The current File API spec says that:
>     If the end parameter is not provided (undefined), let relativeEnd be size.

That seems like loose wording. Parameter not provided and parameter provided with a value of undefined are in general not the same thing. The spec should be explicit about which cases it's talking about.

Regards,
Maciej


More information about the webkit-dev mailing list