(fn)
| 40 | // no time argument (always zero) and no arguments (you have to |
| 41 | // use a closure). |
| 42 | function setZeroTimeoutPostMessage(fn) { |
| 43 | timeouts.push(fn); |
| 44 | global.postMessage(messageName, '*'); |
| 45 | } |
| 46 | |
| 47 | function handleMessage(event) { |
| 48 | if (event.source == global && event.data == messageName) { |
nothing calls this directly
no outgoing calls
no test coverage detected