Bug 52977

Summary: Web Inspector: recognize application/x-font-woff as a valid mime-type
Product: WebKit Reporter: Peter Beverloo <peter>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, commit-queue, joepeck, keishi, loislo, mathias, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed change none

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.