(win)
| 287 | * @param {Window} win |
| 288 | */ |
| 289 | export function install(win) { |
| 290 | if (!win.fetch) { |
| 291 | Object.defineProperty(win, 'fetch', { |
| 292 | value: fetchPolyfill, |
| 293 | writable: true, |
| 294 | enumerable: true, |
| 295 | configurable: true, |
| 296 | }); |
| 297 | Object.defineProperty(win, 'Response', { |
| 298 | value: Response, |
| 299 | writable: true, |
| 300 | enumerable: false, |
| 301 | configurable: true, |
| 302 | }); |
| 303 | } |
| 304 | } |
nothing calls this directly
no outgoing calls
no test coverage detected