mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
script: Implement trusted types for Range.createContextualFragment
(#38874)
Part of #36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
d94929dbed
commit
3708d493b9
5 changed files with 28 additions and 20 deletions
|
@ -68,7 +68,7 @@ interface Range : AbstractRange {
|
|||
// https://dvcs.w3.org/hg/innerhtml/raw-file/tip/index.html#extensions-to-the-range-interface
|
||||
partial interface Range {
|
||||
[CEReactions, NewObject, Throws]
|
||||
DocumentFragment createContextualFragment(DOMString fragment);
|
||||
DocumentFragment createContextualFragment((TrustedHTML or DOMString) fragment);
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom-view/#extensions-to-the-range-interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue