blob: 677c31e2b9a67b3a1b0997ee5bdf81d79fa561d9 [file] [log] [blame]
<html>
<body>
<embed name="plg" type="application/x-webkit-test-netscape"></embed>
<p>Test for <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=7708">bug 7708</a>:
REGRESSION: Flash callback to JavaScript function not working.</p>
<div id=res>FAILURE</div>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
function MyCallback() {
document.getElementById('res').innerHTML = 'SUCCESS';
}
try {
plg.testCallback('MyCallback');
} catch (ex) {
alert("Exception: " + ex.description);
}
</script>
</body>
</html>