Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 19 users
Status: Fixed
Owner:
Closed: Jan 2011
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Restricted
  • Only users with Commit permission may comment.



Sign in to add a comment
Resource interpreted as font but transferred with MIME type font/x-woff.
Reported by t...@bocoup.com, Jan 20 2011 Back to list
1. View http://somadesign.ca/demos/IE9-WOFF-Test/
2. Open web inspector console
3. read "Resource interpreted as font but transferred with MIME type application/octet-stream"

There seems to be no appropriate mimetype to serve a WOFF webfont file as that will not cause this error. 
 `font/woff` `font/x-woff` and `font/truetype`all cause an error message, along with the default octet-stream.

Curiously, serving it as font/opentype avoids such a warning, but that is bad practice.

Chrome should allow font/x-woff as no official woff mimetype has been decided. Or just go with font/woff
 
Comment 1 by peter@chromium.org, Jan 20 2011
Labels: -Area-Undefined Area-WebKit Feature-DevTools
Status: Assigned
Comment 2 by peter@chromium.org, Jan 24 2011
Status: Fixed
This landed in WebKit:
http://trac.webkit.org/changeset/76505
Comment 3 by peter@chromium.org, Jan 24 2011
For competency, the mime-type "application/x-font-woff" will now be recognized, as the IETF review request has not been approved yet.  This follows Appendix B of the WOFF specification.

http://www.w3.org/TR/WOFF/#appendix-b
Hi, Appendix B says application/font-woff


Regards

I just ran into this very issue. @peter can you explain further, Appendix B does appear to specify font-woff as the subtype.
Comment 6 by peter@chromium.org, Apr 28 2011
Cc: a deleted user
To cite section 2.3.1 of RFC 2048[1]: "Proposed media types are not formally registered and must not be used; the "x-" prefix specified in RFC 2045 can be used until registration is complete.".

While registration of application/font-woff has been requested[2], it has not been approved yet. Until it will be, "application/x-font-woff" is the way to go.

I'm not sure about how strict Web Inspector follows these policies, pfeldman, do you have an opinion about this?

[1] http://tools.ietf.org/html/rfc2048
[2] http://www.ietf.org/mail-archive/web/ietf-types/current/msg01115.html
Project Member Comment 7 by bugdroid1@chromium.org, Oct 13 2012
Labels: Restrict-AddIssueComment-Commit
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.
Project Member Comment 8 by bugdroid1@chromium.org, Mar 11 2013
Labels: -Area-WebKit -Feature-DevTools Cr-Platform-DevTools Cr-Content
Project Member Comment 9 by bugdroid1@chromium.org, Apr 6 2013
Labels: -Cr-Content Cr-Blink
Sign in to add a comment