Git init
[framework/web/webkit-efl.git] / LayoutTests / fast / replaced / invalid-object-with-fallback.html
1 <html>
2     <head>
3         <script>
4             if (window.layoutTestController)
5                 layoutTestController.dumpAsText();
6
7             function debug(str) {
8                 document.getElementById('console').innerHTML += str + "<br>";
9             }
10         </script>
11     </head>
12     <body>
13         <object>
14             <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>
15             <embed name="plugin" type="application/x-webkit-test-netscape">
16         </object>
17         <div id="console"></div>
18         <script>
19             var plugin = document.plugin;
20             if (plugin && plugin.getURL)
21                 debug("PASS");
22             else
23                 debug("FAIL");
24         </script>
25     </body>
26 </html>