Bug 1712140 - Part 4: Add parseHTMLUnsafe and setHTMLUnsafe methods. r=dom-core,webidl,hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D193676
This commit is contained in:
@@ -5045,4 +5045,8 @@ EditorBase* Element::GetEditorWithoutCreation() const {
|
||||
return docShell ? docShell->GetHTMLEditorInternal() : nullptr;
|
||||
}
|
||||
|
||||
void Element::SetHTMLUnsafe(const nsAString& aHTML) {
|
||||
nsContentUtils::SetHTMLUnsafe(this, this, aHTML);
|
||||
}
|
||||
|
||||
} // namespace mozilla::dom
|
||||
|
||||
Reference in New Issue
Block a user