mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-08 17:39:19 +00:00
22 lines
869 B
HTML
22 lines
869 B
HTML
<head>
|
|
<title>NPNV*NPObject accessibility tests</title>
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script type="application/javascript" src="utils.js"></script>
|
|
|
|
<body onload="runTests()">
|
|
<script class="testbody" type="application/javascript">
|
|
dump('lastScript\n');
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
setTestPluginEnabledState(SpecialPowers.Ci.nsIPluginTag.STATE_ENABLED);
|
|
|
|
function runTests() {
|
|
ok(document.getElementById('plugin1').pluginFoundElement, "plugin1.pluginFoundElement (NPNVPluginElementNPObject)", document.getElementById('plugin1').pluginFoundElement);
|
|
ok(window.pluginFoundWindow, "window.pluginFoundWindow (NPNVWindowNPObject)", window.pluginFoundWindow);
|
|
|
|
SimpleTest.finish();
|
|
}
|
|
</script>
|
|
|
|
<embed id="plugin1" type="application/x-test" width="400" height="400"></embed>
|