(_0)
| 15804 | return this[kEvents].progress; |
| 15805 | } |
| 15806 | set onprogress(fn) { |
| 15807 | webidl.brandCheck(this, _FileReader); |
| 15808 | if (this[kEvents].progress) { |
| 15809 | this.removeEventListener("progress", this[kEvents].progress); |
| 15810 | } |
| 15811 | if (typeof fn === "function") { |
| 15812 | this[kEvents].progress = fn; |
| 15813 | this.addEventListener("progress", fn); |
| 15814 | } else { |
| 15815 | this[kEvents].progress = null; |
| 15816 | } |
| 15817 | } |
| 15818 | get onload() { |
| 15819 | webidl.brandCheck(this, _FileReader); |
| 15820 | return this[kEvents].load; |
| 15821 | } |
| 15822 | set onload(fn) { |
no test coverage detected