postMessage spec fix

postMessage is async, this waits 150ms before checking for it
Merge pull request #2627 from SergioCrisostomo/message-spec-fix

postMessage spec fix