W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

WebApps-ISSUE-181 (FileError-Name): Use case for FileError and FileException name attribute [File API]

From: Web Applications Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 06 Jun 2011 20:28:32 +0000
To: public-webapps@w3.org
Message-Id: <E1QTgPY-00084N-Lp@lowblow.w3.org>

WebApps-ISSUE-181 (FileError-Name): Use case for FileError and FileException name attribute [File API]

http://www.w3.org/2008/webapps/track/issues/181

Raised by: Adrian Bateman
On product: File API

FileError [1] and FileException [2] both define a DOMString attribute called name that contains the name of the error/exception constant as a string. Since this is not a useful "human readable" error message, and developers should be encouraged to write code that compares against the code attribute, it's not clear what the purpose of 'name' is. We'd prefer to remove it.

[1] http://dev.w3.org/2006/webapi/FileAPI/#dfn-nameError
[2] http://dev.w3.org/2006/webapi/FileAPI/#dfn-name-exception
Received on Monday, 6 June 2011 20:28:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT