| OLD | NEW |
| 1 <link rel="stylesheet" href="data:text/css,"> | 1 <link rel="stylesheet" href="data:text/css,"> |
| 2 <embed id="plug-in" type="application/x-webkit-test-netscape" width=100 height=1
00></embed> | 2 <embed id="plugin" type="application/x-webkit-test-netscape" width=100 height=10
0></embed> |
| 3 <p id="result"> | 3 <p id="result"> |
| 4 </p> | 4 </p> |
| 5 <script> | 5 <script> |
| 6 if (window.testRunner) | 6 if (window.testRunner) |
| 7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
| 8 | 8 |
| 9 var plugIn = document.getElementById("plug-in"); | 9 var plugIn = document.getElementById("plugin"); |
| 10 | 10 |
| 11 document.getElementById("result").innerText = ("eventLoggingEnabled" in plug
In) | 11 document.getElementById("result").innerText = ("eventLoggingEnabled" in plug
In) |
| 12 ? "PASS: Plug-in instance available while waiting for style sheets to lo
ad" | 12 ? "PASS: Plugin instance available while waiting for style sheets to loa
d" |
| 13 : "FAIL: Plug-in not instantiated on property access while waiting for s
tyle sheets to load"; | 13 : "FAIL: Plugin not instantiated on property access while waiting for st
yle sheets to load"; |
| 14 | 14 |
| 15 </script> | 15 </script> |
| OLD | NEW |