Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / title-content-write-set.html
blob55b6167d6625baa88f4e4ece16ec4926f05aa5a0
1 <html>
2 <head>
3 <SCRIPT>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6 document.write("<title>");
7 document.title = "Property";
8 document.write("Written</title>");
10 function test()
12 var expected = "PropertyWritten";
13 if (document.title == expected)
14 document.getElementById("console").innerHTML = "PASS";
15 else
16 document.getElementById("console").innerHTML = ("FAIL:" + document.title + "!=" + expected);
18 </SCRIPT>
19 </head>
20 <body onload="test()">
21 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=25567">Bug 25567</a></p>
22 <p>
23 Test if document.title is given from both DOM and document.write() without any crash.
24 </p>
25 <pre id="console"></pre>
26 </body>
27 </html>