[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

gyuyoung.kim at samsung.com gyuyoung.kim at samsung.com
Fri Jan 21 14:40:39 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit c246e4de1426dbbce1841c0315e54e49bf7cd4c8
Author: gyuyoung.kim at samsung.com <gyuyoung.kim at samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 24 11:23:17 2010 +0000

    2010-12-24  Gyuyoung Kim  <gyuyoung.kim at samsung.com>
    
            Reviewed by Kenneth Rohde Christiansen.
    
            [EFL] Return an empty string instead of 'application/octet-stream' in getMIMETypeForExtension()
            https://bugs.webkit.org/show_bug.cgi?id=51457
    
            WebKit EFL can't play html5 audio because of wrong mime type checking.
            So, 'application/octet-stream' is changed with an empty string.
    
            * platform/efl/MIMETypeRegistryEfl.cpp:
            (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
            Returns an empty string instead of application/octet-stream when it can't find proper mime type.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74625 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 03ba7d0..b8fa0f6 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-12-24  Gyuyoung Kim  <gyuyoung.kim at samsung.com>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [EFL] Return an empty string instead of 'application/octet-stream' in getMIMETypeForExtension()
+        https://bugs.webkit.org/show_bug.cgi?id=51457
+
+        WebKit EFL can't play html5 audio because of wrong mime type checking.
+        So, 'application/octet-stream' is changed with an empty string.
+
+        * platform/efl/MIMETypeRegistryEfl.cpp:
+        (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
+        Returns an empty string instead of application/octet-stream when it can't find proper mime type.
+
 2010-12-24  Justin Schuh  <jschuh at chromium.org>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/platform/efl/MIMETypeRegistryEfl.cpp b/WebCore/platform/efl/MIMETypeRegistryEfl.cpp
index b98c818..d0c95bf 100644
--- a/WebCore/platform/efl/MIMETypeRegistryEfl.cpp
+++ b/WebCore/platform/efl/MIMETypeRegistryEfl.cpp
@@ -80,7 +80,7 @@ String MIMETypeRegistry::getMIMETypeForExtension(const String &ext)
         ++e;
     }
 
-    return "application/octet-stream";
+    return String();
 }
 
 bool MIMETypeRegistry::isApplicationPluginMIMEType(const String&)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list