Title: [144763] trunk/Source/WebCore
Revision
144763
Author
[email protected]
Date
2013-03-05 08:58:13 -0800 (Tue, 05 Mar 2013)

Log Message

Web Inspector: registered new MIME type application/font-woff for WOFF fonts.
https://bugs.webkit.org/show_bug.cgi?id=111418

The WOFF MIME Type was formally registered as application/font-woff (FINALLY):
http://www.iana.org/assignments/media-types/application/font-woff

Patch by Dmitry Zvorygin <[email protected]> on 2013-03-05
Reviewed by Pavel Feldman.

* inspector/front-end/NetworkManager.js:
(WebInspector.NetworkManager):
(WebInspector.NetworkDispatcher.prototype._updateNetworkRequestWithResponse):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (144762 => 144763)


--- trunk/Source/WebCore/ChangeLog	2013-03-05 16:27:54 UTC (rev 144762)
+++ trunk/Source/WebCore/ChangeLog	2013-03-05 16:58:13 UTC (rev 144763)
@@ -1,3 +1,17 @@
+2013-03-05  Dmitry Zvorygin  <[email protected]>
+
+        Web Inspector: registered new MIME type application/font-woff for WOFF fonts.
+        https://bugs.webkit.org/show_bug.cgi?id=111418
+
+        The WOFF MIME Type was formally registered as application/font-woff (FINALLY):
+        http://www.iana.org/assignments/media-types/application/font-woff
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/NetworkManager.js:
+        (WebInspector.NetworkManager):
+        (WebInspector.NetworkDispatcher.prototype._updateNetworkRequestWithResponse):
+
 2013-03-05  Julien Chaffraix  <[email protected]>
 
         [CSS Grid Layout] Add parsing for grid-{end|after}

Modified: trunk/Source/WebCore/inspector/front-end/NetworkManager.js (144762 => 144763)


--- trunk/Source/WebCore/inspector/front-end/NetworkManager.js	2013-03-05 16:27:54 UTC (rev 144762)
+++ trunk/Source/WebCore/inspector/front-end/NetworkManager.js	2013-03-05 16:58:13 UTC (rev 144763)
@@ -71,10 +71,9 @@
     "image/x-xbitmap":             {"image": true},
     "font/ttf":                    {"font": true},
     "font/opentype":               {"font": true},
-    "font/woff":                   {"font": true},
+    "application/font-woff":       {"font": true},
     "application/x-font-type1":    {"font": true},
     "application/x-font-ttf":      {"font": true},
-    "application/x-font-woff":     {"font": true},
     "application/x-truetype-font": {"font": true},
     "text/_javascript_":             {"script": true},
     "text/ecmascript":             {"script": true},
@@ -182,7 +181,7 @@
 
         if (!this._mimeTypeIsConsistentWithType(networkRequest)) {
             WebInspector.console.addMessage(WebInspector.ConsoleMessage.create(WebInspector.ConsoleMessage.MessageSource.Network,
-                WebInspector.ConsoleMessage.MessageLevel.Warning,
+                WebInspector.ConsoleMessage.MessageLevel.Log,
                 WebInspector.UIString("Resource interpreted as %s but transferred with MIME type %s: \"%s\".", networkRequest.type.title(), networkRequest.mimeType, networkRequest.url),
                 WebInspector.ConsoleMessage.MessageType.Log,
                 "",
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to