Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cfe83d0fa5bcf6c925c095e765d6fbf57082297e
https://github.com/WebKit/WebKit/commit/cfe83d0fa5bcf6c925c095e765d6fbf57082297e
Author: Luke Warlow <[email protected]>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/trusted-types/block-string-assignment-to-Document-write-expected.txt
M Source/WebCore/dom/DOMImplementation.cpp
M Source/WebCore/dom/Document+HTML.idl
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
M Source/WebKitLegacy/mac/DOM/DOMHTMLDocument.mm
Log Message:
-----------
Update implementation of TT enforcement for document.write(ln)
https://bugs.webkit.org/show_bug.cgi?id=273819
Reviewed by Darin Adler.
This patch switches document.write and writeln to use a union IDL type and
single call to default policy.
See whatwg/html#10328
*
LayoutTests/imported/w3c/web-platform-tests/trusted-types/block-string-assignment-to-Document-write-expected.txt:
* Source/WebCore/dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createHTMLDocument):
* Source/WebCore/dom/Document+HTML.idl:
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::write):
(WebCore::Document::writeln):
* Source/WebCore/dom/Document.h:
* Source/WebKitLegacy/mac/DOM/DOMHTMLDocument.mm:
(-[DOMHTMLDocument write:]):
(-[DOMHTMLDocument writeln:]):
Canonical link: https://commits.webkit.org/279904@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