5 testRunner
.dumpAsText();
9 var obj
= document
.getElementById("test");
10 var s
= window
.getSelection();
11 // The cleardocumentduringnew attribute intends to clear document.body when the
12 // embed element is loaded and it is used for only tests. See:
13 // https://code.google.com/p/chromium/codesearch#chromium/src/content/shell/tools/plugin/main.cpp&q=cleardocumentduringnew&type=cs&sq=package:chromium&l=247
14 // It causes a timing issue that |obj| exists on Linux but not on Windows.
19 document
.body
.innerHTML
= "PASS";
22 <body onload=
"runTest()">
24 <object id=
"test"></object>
25 <embed type=
"application/x-webkit-test-netscape" cleardocumentduringnew
></embed>