[Bug 23310] bugs in WebIDL fragments

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23310

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> ---
Date.now() is not currently a valid default value in WebIDL.  The grammar has:

[16] DefaultValue → ConstValue | string
[28] ConstValue → BooleanLiteral | FloatLiteral | integer | "null"

So you can basically do default values of null, numbers, strings, and booleans.
 That's it.

Also, it's not clear that Date will stick around in WebIDL, fwiw.  The TC39
folks seemed opposed.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 1 November 2013 00:11:52 UTC