[webkit-changes] [WebKit/WebKit] 7c5509: Stop treating "text/xsl" as a XML MIME type

Chris Dumez noreply at github.com
Fri May 26 08:57:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7c5509f22cb96221a2a556cedb3f8d0ef9abc7cf
      https://github.com/WebKit/WebKit/commit/7c5509f22cb96221a2a556cedb3f8d0ef9abc7cf
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/xhr/responsexml-media-type-expected.txt
    M Source/WebCore/loader/TextResourceDecoder.cpp
    M Source/WebCore/platform/MIMETypeRegistry.cpp

  Log Message:
  -----------
  Stop treating "text/xsl" as a XML MIME type
https://bugs.webkit.org/show_bug.cgi?id=257360

Reviewed by Youenn Fablet.

Stop treating "text/xsl" as a XML MIME type, as per:
- https://mimesniff.spec.whatwg.org/#xml-mime-type

Neither Blink nor Gecko treat it as a valid XML MIME type.

* LayoutTests/imported/w3c/web-platform-tests/xhr/responsexml-media-type-expected.txt:
* Source/WebCore/platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::isXMLMIMEType):

Canonical link: https://commits.webkit.org/264585@main




More information about the webkit-changes mailing list