()
| 15818 | get onload() { |
| 15819 | webidl.brandCheck(this, _FileReader); |
| 15820 | return this[kEvents].load; |
| 15821 | } |
| 15822 | set onload(fn) { |
| 15823 | webidl.brandCheck(this, _FileReader); |
| 15824 | if (this[kEvents].load) { |
| 15825 | this.removeEventListener("load", this[kEvents].load); |
| 15826 | } |
| 15827 | if (typeof fn === "function") { |
| 15828 | this[kEvents].load = fn; |
| 15829 | this.addEventListener("load", fn); |
| 15830 | } else { |
| 15831 | this[kEvents].load = null; |
| 15832 | } |
nothing calls this directly
no test coverage detected