<!DOCTYPE html> | |
<link href="notexist.css" id="link" rel="stylesheet"> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.waitUntilDone(); | |
} | |
onload = function(){ | |
setTimeout(function(){ | |
document.body.offsetTop; | |
link.setAttribute("sizes", ""); | |
link.setAttribute("disabled", ""); | |
requestAnimationFrame(function(){ | |
if (window.testRunner) | |
testRunner.notifyDone(); | |
}); | |
}, 0); | |
}; | |
</script> | |
<p>PASS if not crashed</p> |