This ensures that postMessage called in a callback does not crash. PASS