chromium/third_party/blink/web_tests/fast/replaced/invalid-object-with-fallback.html

<html>
    <head>
        <script>
            if (window.testRunner) {
                testRunner.dumpAsText();
            }

            function debug(str) {
                document.getElementById('console').innerHTML += str + "<br>";
            }
        </script>
    </head>
    <body>
        <object>
            <p>This test verifies that an &lt;embed&gt; tag is rendered along with other fallback content when an &lt;object&gt; fails to load.  On success, you should see this text, followed by 'PASS'.</p>
            <embed name="plugin" type="application/x-webkit-test-webplugin">
        </object>
        <div id="console"></div>
        <script>
            var plugin = document.plugin;
            if (plugin && plugin instanceof HTMLEmbedElement)
                debug("PASS");
            else
                debug("FAIL");            
        </script>
    </body>
</html>