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 16950 - Throw SyntaxError instead of InvalidStateError for invalid content-type
Summary: Throw SyntaxError instead of InvalidStateError for invalid content-type
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: File API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Arun
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on: 16728
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-07 06:46 UTC by Simon Pieters
Modified: 2012-05-07 21:33 UTC (History)
5 users (show)

See Also:


Attachments

Description Simon Pieters 2012-05-07 06:46:54 UTC
+++ 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().
Comment 1 Jonas Sicking (Not reading bugmail) 2012-05-07 07:50:34 UTC
Agreed, that would be a better match