<body> | |
PASS if no crash. | |
<iframe id="i" src="resources/iframe-with-canvas.html"></iframe> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
window.onload = function() { | |
c = i.contentDocument.getElementById("c"); | |
i.remove(); | |
c.captureStream(1.0); | |
}; | |
</script> | |
</body> |