[webkit-changes] [WebKit/WebKit] f8b7ee: Remove ParserContentPolicy::AllowPluginContent
Anne van Kesteren
noreply at github.com
Sun Dec 3 00:20:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f8b7eebd2e1daf72b27bbd5018924b1b3e194fc0
https://github.com/WebKit/WebKit/commit/f8b7eebd2e1daf72b27bbd5018924b1b3e194fc0
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-12-03 (Sun, 03 Dec 2023)
Changed paths:
M Source/WebCore/dom/DOMImplementation.cpp
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/DocumentFragment.h
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/ParserContentPolicy.h
M Source/WebCore/dom/Range.cpp
M Source/WebCore/dom/ScriptableDocumentParser.cpp
M Source/WebCore/dom/ShadowRoot.cpp
M Source/WebCore/editing/markup.cpp
M Source/WebCore/editing/markup.h
M Source/WebCore/html/parser/HTMLConstructionSite.cpp
M Source/WebCore/html/parser/HTMLDocumentParser.h
M Source/WebCore/html/parser/HTMLTreeBuilder.cpp
M Source/WebCore/xml/XMLHttpRequest.cpp
M Source/WebCore/xml/parser/XMLDocumentParser.h
M Source/WebKitLegacy/mac/WebView/WebFrame.mm
M Tools/TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp
Log Message:
-----------
Remove ParserContentPolicy::AllowPluginContent
https://bugs.webkit.org/show_bug.cgi?id=265319
rdar://119036905
Reviewed by Chris Dumez.
Now that plugins have been removed there's no clear need for this
policy. Let's see what tests the bots uncover for us.
* Source/WebCore/dom/DOMImplementation.cpp:
(WebCore::createXMLDocument):
(WebCore::DOMImplementation::createDocument):
(WebCore::DOMImplementation::createHTMLDocument):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::parseMarkupUnsafe):
* Source/WebCore/dom/DocumentFragment.h:
(WebCore::DocumentFragment::parseHTML):
(WebCore::DocumentFragment::parseXML):
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::replaceChildrenWithMarkup):
(WebCore::Element::setOuterHTML):
(WebCore::Element::insertAdjacentHTML):
* Source/WebCore/dom/ParserContentPolicy.h:
(WebCore::pluginContentIsAllowed): Deleted.
(WebCore::allowPluginContent): Deleted.
* Source/WebCore/dom/Range.cpp:
(WebCore::Range::createContextualFragment):
* Source/WebCore/dom/ScriptableDocumentParser.cpp:
(WebCore::ScriptableDocumentParser::ScriptableDocumentParser):
* Source/WebCore/dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::replaceChildrenWithMarkup):
* Source/WebCore/editing/markup.cpp:
(WebCore::createFragmentForTransformToFragment):
* Source/WebCore/editing/markup.h:
(WebCore::createFragmentFromMarkup):
* Source/WebCore/html/parser/HTMLConstructionSite.cpp:
(WebCore::HTMLConstructionSite::attachLater):
* Source/WebCore/html/parser/HTMLDocumentParser.h:
(WebCore::HTMLDocumentParser::parseDocumentFragment):
* Source/WebCore/html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processStartTagForInBody):
* Source/WebCore/xml/XMLHttpRequest.cpp:
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebKitLegacy/mac/WebView/WebFrame.mm:
(-[WebFrame _documentFragmentWithMarkupString:baseURLString:]):
* Tools/TestWebKitAPI/Tests/WebCore/HTMLParserIdioms.cpp:
(TestWebKitAPI::TEST):
Canonical link: https://commits.webkit.org/271436@main
More information about the webkit-changes
mailing list