blob: 976ff6deca368828b6407c7a9c21db14d5ac1b17 [file] [log] [blame]
<!DOCTYPE html>
<html lang="en">
<head>
<title>Cross-Doc Test</title>
</head>
<script type="text/javascript" charset="utf-8">
function receiver(e) {
var result = "";
result += "data: " + e.data + "\n";
result += "origin: " + e.origin + "\n";
e.source.postMessage(result, "*");
}
addEventListener('message', receiver, false);
</script>
<body>
</body>
</html>