[webkit-changes] [WebKit/WebKit] 1ae029: Remove Trusted Types enforcement from toggleAttribute

Luke Warlow noreply at github.com
Wed Jun 12 09:56:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1ae029b5a34e88b0d89e96f50b70b502d7a47483
      https://github.com/WebKit/WebKit/commit/1ae029b5a34e88b0d89e96f50b70b502d7a47483
  Author: Luke Warlow <lwarlow at igalia.com>
  Date:   2024-06-12 (Wed, 12 Jun 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-toggleAttribute-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-toggleAttribute.html
    M Source/WebCore/dom/Element.cpp

  Log Message:
  -----------
  Remove Trusted Types enforcement from toggleAttribute
https://bugs.webkit.org/show_bug.cgi?id=275352

Reviewed by Darin Adler.

The DOM spec PR no longer enforced Trusted Types within toggleAttribute so this removes that from the implementation.

See https://github.com/whatwg/dom/pull/1268

* LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-toggleAttribute-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/trusted-types/Element-toggleAttribute.html: Added.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::toggleAttribute):

Canonical link: https://commits.webkit.org/279950@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