Chromium Code Reviews| Index: LayoutTests/fast/dom/HTMLDocument/document-write-variadic.html |
| diff --git a/LayoutTests/fast/dom/HTMLDocument/document-write-variadic.html b/LayoutTests/fast/dom/HTMLDocument/document-write-variadic.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8cf5055b83494faf629be4a39775f2d616650847 |
| --- /dev/null |
| +++ b/LayoutTests/fast/dom/HTMLDocument/document-write-variadic.html |
| @@ -0,0 +1,14 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<body> |
| +<p>Check that HTMLDocument.write() / writeln() accept several string arguments.</p> |
| +<p>You should see exactly 2 'PASS' messages below.</p> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + |
| +document.write('P', 'A', 'SS', "<br>"); |
| +document.writeln('P', 'A', 'SS'); |
|
haraken
2013/11/07 16:00:19
You might want to add:
document.writeln(null);
do
Inactive
2013/11/07 16:21:13
Done.
|
| +</script> |
| +</body> |
| +</html> |