This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23310 - bugs in WebIDL fragments
Summary: bugs in WebIDL fragments
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: File API (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Arun
QA Contact: public-webapps-bugzilla
Depends on:
Reported: 2013-09-20 22:03 UTC by Dominique Hazael-Massieux
Modified: 2013-11-01 00:11 UTC (History)
2 users (show)

See Also:


Description Dominique Hazael-Massieux 2013-09-20 22:03:57 UTC
Two bugs (as reported by the checker):
* the [Clamp] extended attribute needs to appear before "optional"
* there is an extra closing parenthesis in the definition of URL.createFor
Comment 1 Arun 2013-10-31 23:30:55 UTC

Will ask bzbarsky and heycam about the remaining error using constant methods.
Comment 2 Boris Zbarsky 2013-11-01 00:11:51 UTC 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.