window.postMessage in layers.push test