<?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>17892</bug_id>
          
          <creation_ts>2012-07-18 07:13:22 +0000</creation_ts>
          <short_desc>WD-FileAPI-20120712 has a dynamic attribute FileReader#result</short_desc>
          <delta_ts>2012-08-26 00:43:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>g.psy.va+w3org</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70254</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 07:13:22 +0000</bug_when>
    <thetext>This was was cloned from bug 17776 as part of operation convergence.
Originally filed: 2012-07-14 03:38:00 +0000
Original reporter: Fuji Goro (gfx) &lt;g.psy.va+w3org@gmail.com&gt;

================================================================================
 #0   Fuji Goro (gfx)                                 2012-07-14 03:38:39 +0000 
--------------------------------------------------------------------------------
As you see in http://www.w3.org/TR/2012/WD-FileAPI-20120712/,

interface FileReader: EventTarget {
  readonly attribute (DOMString or ArrayBuffer)? result;
};

The &quot;result&quot; attribute is a union type defined in WebIDL.
This IDL might be valid, but how do statically-typed languages like Java represent it?

I think HTML specs should not use union member types because there are webidl-to-statically-typed-language-definition tools.

Regards,
---------
gfx
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72717</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-08-24 19:02:42 +0000</bug_when>
    <thetext>JavaScript is the main target.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72776</commentid>
    <comment_count>2</comment_count>
    <who name="Fuji Goro (gfx)">g.psy.va+w3org</who>
    <bug_when>2012-08-26 00:43:59 +0000</bug_when>
    <thetext>Thanks for the answer.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>