Fix build: Revert "Add potential future APIs for postmessage"

This reverts commit 37bd8907cb94be69c9bd4c308e49c38524e87269.
4 files changed