Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0446b6ec9aaa9a013071c69981e8df7c3a533f9b
      
https://github.com/WebKit/WebKit/commit/0446b6ec9aaa9a013071c69981e8df7c3a533f9b
  Author: Luke Warlow <lwar...@igalia.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/HTMLScriptElement-in-xhtml-document.tentative.https-expected.txt
    M Source/WebCore/xml/parser/XMLDocumentParser.cpp

  Log Message:
  -----------
  XMLDocumentParser incorrectly treated as an API change by script elements
https://bugs.webkit.org/show_bug.cgi?id=274519

Reviewed by Ryosuke Niwa.

The XMLDocumentParser acts as an API when appending leaf text nodes.
This is needed for the SVGTRefElement which relies on mutation events.

This patch changes the code to correctly call parserAppendData for XHTML 
documents.

* LayoutTests/TestExpectations:
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/HTMLScriptElement-in-xhtml-document.tentative.https-expected.txt:
* Source/WebCore/xml/parser/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::updateLeafTextNode):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to