[Webkit-unassigned] [Bug 87578] New: [FileAPI] The result attribute of FileReader shuold use null to replace ""

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 26 08:31:45 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87578

           Summary: [FileAPI] The result attribute of FileReader shuold
                    use null to replace ""
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: li.yin at intel.com


>From Spec: http://www.w3.org/TR/FileAPI/#filedata-attr
The list below is normative for the result attribute and is the conformance criteria for this attribute:
On getting, if the readyState is EMPTY (no read method has been called) then the result attribute MUST return null.
On getting, if an error in reading the File or Blob has occurred (using any read method), then the result attribute MUST return null.

Currently, WebKit uses string "", not use null.
We should keep the conformance with the spec.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list