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

[Bug 16950] New: Throw SyntaxError instead of InvalidStateError for invalid content-type

From: <bugzilla@jessica.w3.org>
Date: Mon, 07 May 2012 06:46:54 +0000
To: public-webapps@w3.org
Message-ID: <bug-16950-2927@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16950

           Summary: Throw SyntaxError instead of InvalidStateError for
                    invalid content-type
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: arun@mozilla.com
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: bzbarsky@mit.edu, simonp@opera.com,
                    public-webapps@w3.org, glenn@zewt.org
        Depends on: 16728


+++ This bug was initially created as a clone of Bug #16728 +++

I think that SyntaxError is more appropriate than InvalidStateError when Blob
content-type is set to an invalid string in slice() or Blob().

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 7 May 2012 06:46:57 GMT

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