| <script src= "../resources/testharness.js"></script> |
| <script src= "../resources/testharnessreport.js"></script> |
| testRunner.setPluginSupportedMode("none"); |
| <p>A console log message should appear stating the plugin is unsupported.</p> |
| <embed id="plugin" type="application/x-webkit-test-netscape"></embed> |
| var test = async_test("Testing unsupported plug-in"); |
| setInterval(test.step_func(() => { |
| assert_true(++counter < 20, "Test timed out"); |
| let text = internals.unavailablePluginReplacementText(plugin); |
| assert_equals(text, "Unsupported Plug-in"); |