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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/dom/dynamic-markup-insertion/document-writeln/document.writeln-03.html

Issue 1483983003: Import web-platform-tests@7dda9a13574b33d55a73e995e3d1f1fbd4da0f2b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>document.writeln with multiple arguments</title>
3 <link rel="author" title="Sebmaster" href="mailto:wpt@smayr.name">
4 <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-writ eln%28%29">
5 <link rel="help" href="https://html.spec.whatwg.org/multipage/#documents-in-the- dom">
6 <script src="../../../../../../resources/testharness.js"></script>
7 <script src="../../../../../../resources/testharnessreport.js"></script>
8 <div id="log"></div>
9 <script>
10 test(function() {
11 var iframe = document.createElement("iframe");
12 document.body.appendChild(iframe);
13 var doc = iframe.contentDocument;
14 doc.open();
15 doc.writeln('a', 'b');
16 doc.close();
17 assert_equals(doc.documentElement.textContent, "ab\n");
18 }, "Calling document.writeln with multiple arguments");
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698