mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
17 lines
342 B
HTML
17 lines
342 B
HTML
<html>
|
|
<head>
|
|
<title>PostMessage Test</title>
|
|
<script>
|
|
var messagesReceived = 0;
|
|
window.addEventListener("message", messageReceived, false);
|
|
function messageReceived(event) {
|
|
messagesReceived++;
|
|
document.body.appendChild(document.createTextNode('Message ' + messagesReceived + '.'));
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
Test page.
|
|
</body>
|
|
</html>
|