<input type="search" placeholder="Test FAILED!" id="test"> | |
<script> | |
function delayedTest() | |
{ | |
var searchField = document.getElementById("test"); | |
searchField.setAttribute("placeholder", "Test Passed"); | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
} | |
setTimeout(delayedTest, 100); | |
if (window.testRunner) | |
testRunner.waitUntilDone(); | |
</script> |