()
| 253 | |
| 254 | describe('onclick', function () { |
| 255 | function supportsOnClick() { |
| 256 | const div = document.createElement('div'); |
| 257 | const clickPropDesc = Object.getOwnPropertyDescriptor(div, 'onclick'); |
| 258 | return !( |
| 259 | EventTarget && |
| 260 | div instanceof EventTarget && |
| 261 | clickPropDesc && |
| 262 | clickPropDesc.value === null |
| 263 | ); |
| 264 | } |
| 265 | (<any>supportsOnClick).message = 'Supports Element#onclick patching'; |
| 266 | |
| 267 | ifEnvSupports(supportsOnClick, function () { |
nothing calls this directly
no test coverage detected
searching dependent graphs…