<html>
<head>
<title>reply</title>
<script>
myObject.onmessage = function (event) {
try {
myObject.postMessage(null);
} catch (e) {
myObject.postMessage(e.toString());
}
try {
myObject.postMessage(undefined);
} catch (e) {
myObject.postMessage(e.toString());
}
};
myObject.postMessage("Hello");
</script>
</head>
<body>
<div>post message waiting for reply</div>
</body>
</html>