[webkit-changes] [WebKit/WebKit] 9fc59f: Implement trusted types integration with execCommand

Luke Warlow noreply at github.com
Mon Mar 4 17:39:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9fc59f12a6f2f4fc8289f4ec367d0944a3a2b4b1
      https://github.com/WebKit/WebKit/commit/9fc59f12a6f2f4fc8289f4ec367d0944a3a2b4b1
  Author: Luke Warlow <lwarlow at igalia.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/trusted-types/block-Document-execCommand-expected.txt
    M Source/WebCore/dom/Document+HTML.idl
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/dom/TrustedHTML.h

  Log Message:
  -----------
  Implement trusted types integration with execCommand
https://bugs.webkit.org/show_bug.cgi?id=267690

Reviewed by Youenn Fablet and Ryosuke Niwa.

Call trustedTypeCompliantString from within document execCommand when command is insertHTML.

* LayoutTests/imported/w3c/web-platform-tests/trusted-types/block-Document-execCommand-expected.txt:
* Source/WebCore/dom/Document+HTML.idl:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::execCommand):
* Source/WebCore/dom/Document.h:
* Source/WebCore/dom/TrustedHTML.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list