Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5c7dbebc70ff3f0124a15ca627ff827e8dbdddf1
      
https://github.com/WebKit/WebKit/commit/5c7dbebc70ff3f0124a15ca627ff827e8dbdddf1
  Author: Ziran Sun <[email protected]>
  Date:   2024-04-30 (Tue, 30 Apr 2024)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/resolve-spv.js
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-set-href-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-set-href.html
    M 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script.html
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    M Source/WebCore/svg/SVGAnimatedString.idl
    M Source/WebCore/svg/properties/SVGAnimatedPropertyImpl.h
    A Source/WebCore/svg/properties/SVGAnimatedString.cpp
    A Source/WebCore/svg/properties/SVGAnimatedString.h

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

Reviewed by Nikolas Zimmermann.

Modify the SVGAnimatedString interface to enforce Trusted Types.
It also split the tests of assignment of SVGScriptElement.href out to a 
separate test.

* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/support/resolve-spv.js:
 Added.
(promise_spv):
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-set-href-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script-set-href.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script.html:
* Source/WebCore/Sources.txt:
* Source/WebCore/svg/SVGAnimatedString.idl:
* Source/WebCore/svg/properties/SVGAnimatedPropertyImpl.h:
* Source/WebCore/svg/properties/SVGAnimatedString.cpp: Added.
(WebCore::SVGAnimatedString::setBaseVal):
* Source/WebCore/svg/properties/SVGAnimatedString.h: Added.
(WebCore::SVGAnimatedString::create):
(WebCore::SVGAnimatedString::SVGAnimatedString):
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:

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



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

Reply via email to