26 lines
591 B
HTML
26 lines
591 B
HTML
<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>
|