blob: 49b4cc3fb05d1ecd86ed825b44707a88298dbc75 [file] [log] [blame]
<!DOCTYPE html>
<head>
<style>
embed, body { zoom: 61; }
</style>
</head>
<body onload=pdfonload()>
<p>This tests determining the PDF plugin does not crash upon a null onloadeddata variable.</p>
<div id="result">FAIL</div>
<embed id="testPlugin" type="application/pdf"></embed>
<script>
function pdfonload() {
testPlugin.onloadeddata = null;
if (window.testRunner)
testRunner.dumpAsText();
result.textContent = 'PASS';
}
</script>
</body>
</html>