<?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>10609</bug_id>
          
          <creation_ts>2010-09-12 13:00:03 +0000</creation_ts>
          <short_desc>DOMTimeStamp should be defined in Web IDL</short_desc>
          <delta_ts>2010-10-28 04:44:40 +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>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</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="Anne">annevk</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>mike</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>38908</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-12 13:00:03 +0000</bug_when>
    <thetext>Since DOMString is also in Web IDL, DOMTimeStamp should move there too. (Maybe with advice that people should use date instead?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38915</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-12 14:12:51 +0000</bug_when>
    <thetext>Tentatively removed from Web DOM Core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41512</commentid>
    <comment_count>2</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2010-10-19 03:40:53 +0000</bug_when>
    <thetext>I&apos;m thinking DOMTimeStamp should just be a typedef to unsigned long long (or a uint53_t if such a type were introduced) with no special binding in JS (it would just be a Number).  You would need dates that exceed the year 200,000 before the precision of Number is an issue.

A separate Date type (name tbd) could be introduced for things like HTMLTimeElement.valueAsDate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41530</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-10-19 07:48:10 +0000</bug_when>
    <thetext>That works for me. I was going to suggest naming it just &quot;timestamp&quot; but since we &quot;cannot&quot; rename DOMString we might as well keep it as DOMTimeStamp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41800</commentid>
    <comment_count>4</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2010-10-28 04:44:40 +0000</bug_when>
    <thetext>Added DOMTimeStamp to a new &quot;Common definitions&quot; section of Web IDL:

  http://dev.w3.org/2006/webapi/WebIDL/#common-DOMTimeStamp</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>