Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 82a50675769ac8060258ee90f73cf08d8f1d2d32
      
https://github.com/WebKit/WebKit/commit/82a50675769ac8060258ee90f73cf08d8f1d2d32
  Author: David Kilzer <[email protected]>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M Source/WebCore/dom/DocumentFragment.h
    M Source/WebCore/dom/Node.h
    M Source/WebCore/dom/XMLDocument.cpp
    M Source/WebCore/dom/XMLDocument.h
    M Source/WebCore/testing/js/WebCoreTestSupport.cpp
    M Source/WebCore/testing/js/WebCoreTestSupport.h

  Log Message:
  -----------
  Add test function for WebCore::DocumentFragment::parseXML
https://bugs.webkit.org/show_bug.cgi?id=262426
<rdar://116267317>

Reviewed by Darin Adler.

* Source/WebCore/dom/DocumentFragment.h:
(WebCore::DocumentFragment::parseXML):
- Export method for WebCoreTestSupport.
* Source/WebCore/dom/Node.h:
(WebCore::Node::eventTargetInterface):
- Drive-by fix to comment.
* Source/WebCore/dom/XMLDocument.cpp:
(WebCore::XMLDocument::createXHTML): Add.
- Move implementation into source file.
* Source/WebCore/dom/XMLDocument.h:
(WebCore::XMLDocument::createXHTML):
- Change to exported method declaration.
* Source/WebCore/testing/js/WebCoreTestSupport.cpp:
(WebCoreTestSupport::testDocumentFragmentParseXML): Add.
- Add test method.
* Source/WebCore/testing/js/WebCoreTestSupport.h:
(WebCoreTestSupport::testDocumentFragmentParseXML): Add.

Originally-landed-as: 267815.149@safari-7617-branch (9bc754a9deaf). 
rdar://119593187
Canonical link: https://commits.webkit.org/272327@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to