blob: f86522b20c26f912eda46daa99cdf7c256bdb4e7 [file] [log] [blame]
<html>
<body>
<embed name="plg" type="application/x-webkit-test-netscape"></embed>
<p>Test for <a href="https://bugs.webkit.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.testRunner)
testRunner.dumpAsText();
function MyCallback() {
document.getElementById('res').innerHTML = 'SUCCESS';
}
try {
plg.testCallback('MyCallback');
} catch (ex) {
alert("Exception: " + ex.description);
}
</script>
</body>
</html>