<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>23310</bug_id>
          
          <creation_ts>2013-09-20 22:03:57 +0000</creation_ts>
          <short_desc>bugs in WebIDL fragments</short_desc>
          <delta_ts>2013-11-01 00:11:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>File API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="Arun">arun</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93609</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-09-20 22:03:57 +0000</bug_when>
    <thetext>Two bugs (as reported by the checker):
* the [Clamp] extended attribute needs to appear before &quot;optional&quot;
* there is an extra closing parenthesis in the definition of URL.createFor

http://www.w3.org/2009/07/webidl-check?doc=http%3A%2F%2Fdev.w3.org%2F2006%2Fwebapi%2FFileAPI%2F&amp;output=html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95646</commentid>
    <comment_count>1</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2013-10-31 23:30:55 +0000</bug_when>
    <thetext>Fixed.

Will ask bzbarsky and heycam about the remaining error using constant methods.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95649</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2013-11-01 00:11:51 +0000</bug_when>
    <thetext>Date.now() is not currently a valid default value in WebIDL.  The grammar has:

[16] DefaultValue → ConstValue | string
[28] ConstValue → BooleanLiteral | FloatLiteral | integer | &quot;null&quot;

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

Also, it&apos;s not clear that Date will stick around in WebIDL, fwiw.  The TC39 folks seemed opposed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>