5 testRunner.dumpAsText();
6 document.write(
"<title>");
7 document.title =
"Property";
8 document.write(
"Written</title>");
12 var expected =
"PropertyWritten";
13 if (document.title == expected)
14 document.getElementById(
"console").innerHTML =
"PASS";
16 document.getElementById(
"console").innerHTML = (
"FAIL:" + document.title +
"!=" + expected);
20 <body onload=
"test()">
21 <p>Test for
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=25567">Bug
25567</a></p>
23 Test if document.title is given from both DOM and document.write() without any crash.
25 <pre id=
"console"></pre>