* @static * @param {Window} win * @return {undefined|function(string,(ArrayBufferView|Blob|FormData|null|string)=):boolean}
(win)
| 75 | * @return {undefined|function(string,(ArrayBufferView|Blob|FormData|null|string)=):boolean} |
| 76 | */ |
| 77 | static getSendBeacon(win) { |
| 78 | if (!win.navigator.sendBeacon) { |
| 79 | return undefined; |
| 80 | } |
| 81 | return win.navigator.sendBeacon.bind(win.navigator); |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * @static |
no outgoing calls
no test coverage detected