2009-09-10 11:11:30 -07:00
|
|
|
<head>
|
|
|
|
<title>NPNV*NPObject accessibility tests</title>
|
2010-08-24 10:29:34 -07:00
|
|
|
<script type="application/javascript" src="/MochiKit/packed.js"></script>
|
|
|
|
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
2009-09-10 11:11:30 -07:00
|
|
|
|
|
|
|
<body onload="runTests()">
|
|
|
|
<embed id="plugin1" type="application/x-test" width="400" height="400"></embed>
|
|
|
|
|
|
|
|
<script class="testbody" type="application/javascript">
|
|
|
|
dump('lastScript');
|
|
|
|
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
|
|
|
|
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>
|