bugzilla | 10 Aug 2012 20:07
Picon

[Bug 18529] New: Existence of separators in token should throw SyntaxError

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

           Summary: Existence of separators in token should throw
                    SyntaxError
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: arun <at> mozilla.com
        ReportedBy: saurabhanandiit <at> gmail.com
         QAContact: public-webapps-bugzilla <at> w3.org
                CC: public-webapps <at> w3.org

Created attachment 1173
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1173
Test Case

http://tools.ietf.org/html/rfc2616#section-3.7 says that media-type should be
type "/" subtype *( ";" parameter ) , where type and subtype both are tokens.
http://tools.ietf.org/html/rfc2616#page-17 says that tokens should not contain
CTL's or separators, hence according to section 4.B.d of
http://dev.w3.org/2006/webapi/FileAPI/#slide-method-algo, it should throw a
SyntaxError, but it does not.

I feel the spec doesn't match implementation.

(Continue reading)

bugzilla | 15 Oct 2012 20:05
Picon

[Bug 18529] Existence of separators in token should throw SyntaxError

changed bug 18529
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 10 on bug 18529 from We've decided to treat type as an opaque string. Implementations don't throw; browser developers are reluctant to throw, and thus validation against the RFC is not useful.
You are receiving this mail because:
  • You are on the CC list for the bug.

Gmane