| <html> |
| <head> |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| } |
| |
| function debug(str) { |
| document.getElementById('console').innerHTML += str + "<br>"; |
| } |
| </script> |
| </head> |
| <body> |
| <object> |
| <p>This test verifies that an <embed> tag is rendered along with other fallback content when an <object> fails to load. On success, you should see this text, followed by 'PASS'.</p> |
| <embed name="plugin" type="application/x-blink-test-plugin"> |
| </object> |
| <div id="console"></div> |
| <script> |
| document.querySelector("embed").addEventListener("message", function (message) { |
| debug("PASS"); |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }); |
| </script> |
| </body> |
| </html> |