Changeset 56994 in webkit


Ignore:
Timestamp:
Apr 2, 2010 2:31:07 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-02 Laszlo Gombos <Laszlo Gombos>

Reviewed by Eric Seidel.

Accept XHTML-MP content type as XHTML content
https://bugs.webkit.org/show_bug.cgi?id=34262

Add a simple test that fails if XHTML-MP mime
type is not accepted.

  • http/conf/mime.types: Register XHTML-MP mime type with the test server
  • http/tests/xhtmlmp: Added.
  • http/tests/xhtmlmp/xhtml-expected.txt: Added.
  • http/tests/xhtmlmp/xhtml.xhtmlmp: Added. Testcase with the newly registered file extension.

2010-04-02 Laszlo Gombos <Laszlo Gombos>

Reviewed by Eric Seidel.

Accept XHTML-MP content type as XHTML content
https://bugs.webkit.org/show_bug.cgi?id=34262

Enable processing XHTML-MP mime type as an XHTML document
even if XHTML-MP support is not enabled.

  • platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedNonImageMimeTypes):

2010-04-02 Laszlo Gombos <Laszlo Gombos>

Reviewed by Eric Seidel.

Accept XHTML-MP content type as XHTML content
https://bugs.webkit.org/show_bug.cgi?id=34262

Register xhtmlmp file extension as the new type
for XHTML-MP test content.

  • Scripts/run-webkit-tests:
  • Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  • Scripts/webkitpy/layout_tests/port/lighttpd.conf:
Location:
trunk
Files:
3 added
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r56990 r56994  
     12010-04-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Accept XHTML-MP content type as XHTML content
     6        https://bugs.webkit.org/show_bug.cgi?id=34262
     7
     8        Add a simple test that fails if XHTML-MP mime
     9        type is not accepted.
     10
     11        * http/conf/mime.types: Register XHTML-MP mime
     12        type with the test server
     13        * http/tests/xhtmlmp: Added.
     14        * http/tests/xhtmlmp/xhtml-expected.txt: Added.
     15        * http/tests/xhtmlmp/xhtml.xhtmlmp: Added. Testcase
     16        with the newly registered file extension.
     17
    1182010-04-02  Kent Tamura  <tkent@chromium.org>
    219
  • trunk/LayoutTests/http/conf/mime.types

    r33057 r56994  
    325325application/vnd.wap.sic
    326326application/vnd.wap.slc
     327application/vnd.wap.xhtml+xml   xhtmlmp
    327328application/vnd.wap.wbxml       wbxml
    328329application/vnd.wap.wmlc        wmlc
  • trunk/WebCore/ChangeLog

    r56991 r56994  
     12010-04-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Accept XHTML-MP content type as XHTML content
     6        https://bugs.webkit.org/show_bug.cgi?id=34262
     7
     8        Enable processing XHTML-MP mime type as an XHTML document
     9        even if XHTML-MP support is not enabled.
     10
     11        * platform/MIMETypeRegistry.cpp:
     12        (WebCore::initializeSupportedNonImageMimeTypes):
     13
    1142010-04-02  Adam Barth  <abarth@webkit.org>
    215
  • trunk/WebCore/platform/MIMETypeRegistry.cpp

    r56447 r56994  
    201201        "application/xml",
    202202        "application/xhtml+xml",
    203 #if ENABLE(XHTMLMP)
    204203        "application/vnd.wap.xhtml+xml",
    205 #endif
    206204        "application/rss+xml",
    207205        "application/atom+xml",
  • trunk/WebKitTools/ChangeLog

    r56993 r56994  
     12010-04-02  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Accept XHTML-MP content type as XHTML content
     6        https://bugs.webkit.org/show_bug.cgi?id=34262
     7
     8        Register xhtmlmp file extension as the new type
     9        for XHTML-MP test content.
     10
     11        * Scripts/run-webkit-tests:
     12        * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
     13        * Scripts/webkitpy/layout_tests/port/lighttpd.conf:
     14
    1152010-04-02  Adam Barth  <abarth@webkit.org>
    216
  • trunk/WebKitTools/Scripts/run-webkit-tests

    r56946 r56994  
    3535
    3636# Run all the tests passed in on the command line.
    37 # If no tests are passed, find all the .html, .shtml, .xml, .xhtml, .pl, .php (and svg) files in the test directory.
     37# If no tests are passed, find all the .html, .shtml, .xml, .xhtml, .xhtmlmp, .pl, .php (and svg) files in the test directory.
    3838
    3939# Run each text.
     
    430430my %ignoredDirectories = map { $_ => 1 } qw(platform);
    431431my %ignoredLocalDirectories = map { $_ => 1 } qw(.svn _svn resources script-tests);
    432 my %supportedFileExtensions = map { $_ => 1 } qw(html shtml xml xhtml pl php);
     432my %supportedFileExtensions = map { $_ => 1 } qw(html shtml xml xhtml xhtmlmp pl php);
    433433
    434434if (!checkWebCoreFeatureSupport("MathML", 0)) {
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/test_files.py

    r54449 r56994  
    3939
    4040# When collecting test cases, we include any file with these extensions.
    41 _supported_file_extensions = set(['.html', '.shtml', '.xml', '.xhtml', '.pl',
     41_supported_file_extensions = set(['.html', '.shtml', '.xml', '.xhtml', '.xhtmlmp', '.pl',
    4242                                  '.php', '.svg'])
    4343# When collecting test cases, skip these directories
  • trunk/WebKitTools/Scripts/webkitpy/layout_tests/port/lighttpd.conf

    r54327 r56994  
    2222  ".htm"          =>      "text/html",
    2323  ".xhtml"        =>      "application/xhtml+xml",
     24  ".xhtmlmp"      =>      "application/vnd.wap.xhtml+xml",
    2425  ".js"           =>      "text/javascript",
    2526  ".log"          =>      "text/plain",
Note: See TracChangeset for help on using the changeset viewer.