W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2012

[Bug 17776] New: WD-FileAPI-20120712 has a dynamic attribute FileReader#result

From: <bugzilla@jessica.w3.org>
Date: Sat, 14 Jul 2012 03:38:39 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-17776-2486@http.www.w3.org/Bugs/Public/>

           Summary: WD-FileAPI-20120712 has a dynamic attribute
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
        AssignedTo: ian@hixie.ch
        ReportedBy: g.psy.va+w3org@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,

As you see in http://www.w3.org/TR/2012/WD-FileAPI-20120712/,

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

The "result" 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.


Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 14 July 2012 03:38:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:30 UTC