chromium/third_party/blink/web_tests/fast/dom/HTMLDocument/document-write-variadic.html

<!DOCTYPE html>
<html>
<body>
<p>Check the behavior of HTMLDocument.write() / writeln().</p>
You should see exactly 2 'PASS' lines below:<br>
<script>
if (window.testRunner)
  testRunner.dumpAsText();

// Check that HTMLDocument.write() / writeln() accept several string arguments.
document.write('P', 'A', 'SS', "<br>");
document.writeln('P', 'A', 'SS', "<br>");
document.write("<br>");
</script>

You should see exactly 2 'null' lines below:<br>
<script>
document.write(null);
document.write("<br>");
document.writeln(null);
document.write("<br><br>");
</script>
You should see exactly 2 'undefined' lines below:<br>
<script>
document.write(undefined);
document.write("<br>");
document.writeln(undefined);
document.write("<br>");

document.write("");
document.writeln("");

document.write();
document.writeln();
</script>
</body>
</html>