<html>
<head>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
</head>
<body style='margin: 0px'>
This test passes as long as it does not crash.
<div>
    <div><object data="resources/encrypted-image.pdf"></object></div>
    <div><embed src="resources/encrypted-image.pdf" type="application/pdf"></embed></div>
</div>
</body>
</html>