Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / plugins / instance-available-before-stylesheets-loaded.html
blob46942415b313cb6225666f88eab4701221263579
1 <link rel="stylesheet" href="data:text/css,">
2 <embed id="plugin" type="application/x-webkit-test-netscape" width=100 height=100></embed>
3 <p id="result">
4 </p>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 var plugIn = document.getElementById("plugin");
11 document.getElementById("result").innerText = ("eventLoggingEnabled" in plugIn)
12 ? "PASS: Plugin instance available while waiting for style sheets to load"
13 : "FAIL: Plugin not instantiated on property access while waiting for style sheets to load";
15 </script>