Changeset 85886 in webkit


Ignore:
Timestamp:
May 5, 2011 2:59:17 PM (13 years ago)
Author:
jer.noble@apple.com
Message:

2011-05-05 Jer Noble <jer.noble@apple.com>

Reviewed by Steve Falkenburg.

Workaround iTunes' incorrect registry entry for .m4a extensions.
https://bugs.webkit.org/show_bug.cgi?id=60229

No new tests, as a test already exits for .m4a support (LayoutTests/media/audio-mpeg4-supported.html).
The test failed to catch this regression because the build bots haven't installed iTunes.

Add a hard-coded MIME type mapping for 'm4a' -> 'audio/x-m4a'.

  • platform/win/MIMETypeRegistryWin.cpp: (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85876 r85886  
     12011-05-05  Jer Noble  <jer.noble@apple.com>
     2
     3        Reviewed by Steve Falkenburg.
     4
     5        Workaround iTunes' incorrect registry entry for .m4a extensions.
     6        https://bugs.webkit.org/show_bug.cgi?id=60229
     7
     8        No new tests, as a test already exits for .m4a support (LayoutTests/media/audio-mpeg4-supported.html).
     9        The test failed to catch this regression because the build bots haven't installed iTunes.
     10       
     11        Add a hard-coded MIME type mapping for 'm4a' -> 'audio/x-m4a'.
     12
     13        * platform/win/MIMETypeRegistryWin.cpp:
     14        (WebCore::MIMETypeRegistry::getMIMETypeForExtension):
     15
    1162011-05-05  Abhishek Arya  <inferno@chromium.org>
    217
  • trunk/Source/WebCore/platform/win/MIMETypeRegistryWin.cpp

    r77368 r85886  
    9898        mimetypeMap.add("wml", "text/vnd.wap.wml");
    9999        mimetypeMap.add("wmlc", "application/vnd.wap.wmlc");
     100        mimetypeMap.add("m4a", "audio/x-m4a");
    100101    }
    101102    String result = mimetypeMap.get(ext);
Note: See TracChangeset for help on using the changeset viewer.