From 424f6084d7225491722e721561faafa028c3ee41 Mon Sep 17 00:00:00 2001
From: Luke Warlow The
+ HTMLString
ScriptURLString
TrustedHTML
TrustedHTML
or DOMString)... text);
+ [CEReactions] undefined writeln((TrustedHTML
or DOMString)... text);
// user interaction
readonly attribute WindowProxy? defaultView;
@@ -112309,9 +112312,51 @@ document.body.appendChild(frame)
document.write(...)
method steps are to run the
- document write steps with this and a string that is the concatenation
- of all arguments passed.
Let string be the empty string.
Let isTrusted be true.
For each value in text:
+If value is a TrustedHTML
object:
Append value's associated data + to string.
Otherwise: + +
Set isTrusted to false.
Append value to string.
If isTrusted is false:
+ +Set string to the result of invoking the Get Trusted Type compliant string algorithm with TrustedHTML
, this's relevant global
+ object, string, and "Document write"
.
Run the document write steps with this and + string.
The document.writeln(...)
method steps are to run the
- document write steps with this and a string that is the concatenation
- of all arguments passed and U+000A LINE FEED.
Let string be the empty string.
Let isTrusted be true.
For each value in text:
+If value is a TrustedHTML
object:
Append value's associated data + to string.
Otherwise: + +
Set isTrusted to false.
Append value to string.
If isTrusted is false:
+ +Set string to the result of invoking the Get Trusted Type compliant string algorithm with TrustedHTML
, this's relevant global
+ object, string, and "Document writeln"
.
Append U+000A LINE FEED to string
Run the document write steps with this and + string.