Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: LayoutTests/fast/dom/HTMLDocument/document-write-variadic.html

Issue 59693007: Get rid of custom code for HTMLDocument.write() / writeln() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Extend layout test Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLDocument/document-write-variadic-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>Check the behavior of HTMLDocument.write() / writeln().</p>
5 You should see exactly 2 'PASS' lines below:<br>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9
10 // Check that HTMLDocument.write() / writeln() accept several string arguments.
11 document.write('P', 'A', 'SS', "<br>");
12 document.writeln('P', 'A', 'SS', "<br>");
13 document.write("<br>");
14 </script>
15
16 You should see exactly 2 'null' lines below:<br>
17 <script>
18 document.write(null);
19 document.write("<br>");
20 document.writeln(null);
21 document.write("<br><br>");
22 </script>
23 You should see exactly 2 'undefined' lines below:<br>
24 <script>
25 document.write(undefined);
26 document.write("<br>");
27 document.writeln(undefined);
28 document.write("<br>");
29
30 document.write("");
31 document.writeln("");
32
33 document.write();
34 document.writeln();
35 </script>
36 </body>
37 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLDocument/document-write-variadic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698