[Bug 23160] New: Add a File.rawName attribute on File alongside File.name, and parse for separators

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23160

            Bug ID: 23160
           Summary: Add a File.rawName attribute on File alongside
                    File.name, and parse for separators
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
          Assignee: arun@mozilla.com
          Reporter: arun@mozilla.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org

The following changes should be added to the File API:

1. File.name represents a [EnsureUTF16] DOMString attribute for user agents to
represent a file name as retrieved from the underlying file system; it may lead
to data loss across client-server scenarios.  It must not allow for "/" or "\"
characters.  It will be a parameter to the File constructor.

2. File.rawName should be an ArrayBuffer attribute representing the raw bytes
of the filename.  It is not a constructor attribute, and should represent the
raw bytes of the File.name attribute.

In this change, File.rawName will always be a byte sequence representation of
File.name.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 4 September 2013 20:17:15 UTC