mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Implement Trusted types document write sinks (#36824)
Implements the Document.write algorithm covering Trusted HTML. Part of #36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com> Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
43edab336a
commit
c00e0aae61
9 changed files with 142 additions and 107 deletions
|
@ -129,9 +129,9 @@ partial /*sealed*/ interface Document {
|
|||
[CEReactions, Throws]
|
||||
undefined close();
|
||||
[CEReactions, Throws]
|
||||
undefined write(DOMString... text);
|
||||
undefined write((TrustedHTML or DOMString)... text);
|
||||
[CEReactions, Throws]
|
||||
undefined writeln(DOMString... text);
|
||||
undefined writeln((TrustedHTML or DOMString)... text);
|
||||
|
||||
// user interaction
|
||||
readonly attribute Window?/*Proxy?*/ defaultView;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue