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 17776 - WD-FileAPI-20120712 has a dynamic attribute FileReader#result
Summary: WD-FileAPI-20120712 has a dynamic attribute FileReader#result
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-14 03:38 UTC by Fuji Goro (gfx)
Modified: 2012-09-14 10:39 UTC (History)
4 users (show)

See Also:


Attachments

Description Fuji Goro (gfx) 2012-07-14 03:38:39 UTC
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.

Regards,
---------
gfx
Comment 1 contributor 2012-07-18 07:13:25 UTC
This bug was cloned to create bug 17892 as part of operation convergence.
Comment 2 Robin Berjon 2012-09-14 10:39:28 UTC
Same decision as https://www.w3.org/Bugs/Public/show_bug.cgi?id=17892.