()
| 34 | }); |
| 35 | |
| 36 | function supportsOnEvents() { |
| 37 | const link = document.createElement('link'); |
| 38 | const linkPropDesc = Object.getOwnPropertyDescriptor(link, 'onerror'); |
| 39 | return !(linkPropDesc && linkPropDesc.value === null); |
| 40 | } |
| 41 | (<any>supportsOnEvents).message = 'Supports HTMLLinkElement#onxxx patching'; |
| 42 | |
| 43 | ifEnvSupports(supportsOnEvents, function () { |
nothing calls this directly
no test coverage detected
searching dependent graphs…