Bug 16950 - Throw SyntaxError instead of InvalidStateError for invalid content-type
Throw SyntaxError instead of InvalidStateError for invalid content-type
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: File API
unspecified
PC All
: P2 normal
: ---
Assigned To: Arun
public-webapps-bugzilla
:
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

Note You need to log in before you can comment on or make changes to this bug.
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 2012-05-07 07:50:34 UTC
Agreed, that would be a better match