[Webkit-unassigned] [Bug 7476] WebKit does not handle invalid MIME types for SVG
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Aug 15 03:29:33 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7476
------- Comment #10 from ddkilzer at kilzer.net 2006-08-15 03:29 PDT -------
(In reply to comment #8)
> (In reply to comment #7)
> > (From update of attachment 10004 [edit] [edit])
> > Looks generally fine, but this won't compile:
> >
> > + return (mimeType == "image/svg+xml");
> > + || mimeType == "image/svg-xml" // invalid, Adobe SVG Viewer
> > compatibility
> > + || mimeType == "image/xml+svg"); // invalid, Adobe SVG Viewer
> > compatibility
>
> What you listed does actually compile with GCC. Maybe it won't with other
> compilers however.
I think what Darin meant was that the stray semi-colon at the end of the
"return" line shouldn't be there. He assumed that the code wouldn't compile
because of it. I fear what code was generated by gcc to compile the above,
though!
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list