[webkit-changes] [WebKit/WebKit] 71674a: DOMParser::parseFromString doesn't need to use DOM...

Ryosuke Niwa noreply at github.com
Thu Jan 18 22:16:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 71674a689c42bd137dcd363f2376c7de26258ab9
      https://github.com/WebKit/WebKit/commit/71674a689c42bd137dcd363f2376c7de26258ab9
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M Source/WebCore/xml/DOMParser.cpp

  Log Message:
  -----------
  DOMParser::parseFromString doesn't need to use DOMImplementation::createDocument
https://bugs.webkit.org/show_bug.cgi?id=267745

Reviewed by Yusuke Suzuki.

Compare against the 5 allowed content types and directly invoke their constructors.

* Source/WebCore/xml/DOMParser.cpp:
(WebCore::DOMParser::parseFromString):

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




More information about the webkit-changes mailing list