Bug 52977 - Web Inspector: recognize application/x-font-woff as a valid mime-type
Summary: Web Inspector: recognize application/x-font-woff as a valid mime-type
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 08:29 PST by Peter Beverloo
Modified: 2011-01-24 04:46 PST (History)
12 users (show)

See Also:


Attachments
Proposed change (1.20 KB, patch)
2011-01-23 08:36 PST, Peter Beverloo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Beverloo 2011-01-23 08:29:58 PST
There is no valid mime-type defined in Web Inspector, resulting in warnings when WOFF fonts get used.

Following the specification[1], the mime-type review request[2] and a clarification by Chris Lilley, I believe application/x-font-woff is the way to go until the request gets approved.

[1] http://www.w3.org/TR/WOFF/#appendix-b
[2] http://www.ietf.org/mail-archive/web/ietf-types/current/msg01115.html
[3] http://lists.w3.org/Archives/Public/www-font/2010OctDec/0081.html
Comment 1 Peter Beverloo 2011-01-23 08:36:14 PST
Created attachment 79867 [details]
Proposed change

I am not sure how to write a test for this, as it requires warnings from request headers in the console.  Advise certainly is welcome.
Comment 2 WebKit Commit Bot 2011-01-24 04:45:35 PST
The commit-queue encountered the following flaky tests while processing attachment 79867 [details]:

http/tests/xmlhttprequest/cross-origin-no-authorization.html bug 33357 (author: ap@webkit.org)
The commit-queue is continuing to process your patch.
Comment 3 WebKit Commit Bot 2011-01-24 04:46:12 PST
Comment on attachment 79867 [details]
Proposed change

Clearing flags on attachment: 79867

Committed r76505: <http://trac.webkit.org/changeset/76505>
Comment 4 WebKit Commit Bot 2011-01-24 04:46:17 PST
All reviewed patches have been landed.  Closing bug.