chromium/android_webview/test/data/post_message_null_or_undefined.html

<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>