If you start a download, pause the download for 2-3 minutes, and then resume, your download gets cancelled. Furthermore, if you attempt to download the same item again, the download does not appear in Brave and you can see the terminal being spammed with uncaught exceptions.
Actual result:
After resume, download shows as cancelled in UI. Here's what shows in the terminal:
An uncaught exception occurred in the main process Uncaught Exception:
TypeError: win.isDestroyed is not a function
at module.exports.updateElectronDownloadItem (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/browser/electronDownloadItem.js:46:19)
at DownloadItem.<anonymous> (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/filtering.js:669:9)
at emitOne (events.js:101:20)
at DownloadItem.emit (events.js:191:7)
Upon retry of download, terminal gets spammed with uncaught exceptions. Here's an example:
An uncaught exception occurred in the main process Uncaught Exception:
TypeError: downloadMap[downloadId].getReceivedBytes is not a function
at Object.keys.reduce (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/browser/electronDownloadItem.js:20:46)
at Array.reduce (<anonymous>)
at progressDownloadItems (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/browser/electronDownloadItem.js:19:50)
at module.exports.updateElectronDownloadItem (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/browser/electronDownloadItem.js:48:26)
at updateDownloadState (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/filtering.js:611:3)
at DownloadItem.<anonymous> (/Users/laurenwagner/BraveDocuments/Laptop/0.23-c68/Brave.app/Contents/Resources/app.asar/app/filtering.js:663:7)
at emitTwo (events.js:106:13)
at DownloadItem.emit (events.js:194:7)
Expected result:
Download should resume without issue.
Reproduces how often:
Easily
about:brave info:
0.23.72
Reproducible on current live release:
Yes, reproduced on 0.23.39 by @kjozwiak and myself
Here鈥檚 a gif of the issue (note - I paused the gif during the 2-3 minute wait period while the download was paused):

Could be related to #14805.
Possibly fixed with our next build... if not, let's push back to Release 5
Reproduced on Ubuntu 17.10 x64
Terminal output
An uncaught exception occurred in the main process Uncaught Exception:
TypeError: win.isDestroyed is not a function
at module.exports.updateElectronDownloadItem (/usr/lib/brave/resources/app.asar/app/browser/electronDownloadItem.js:46:19)
at DownloadItem.<anonymous> (/usr/lib/brave/resources/app.asar/app/filtering.js:667:9)
at emitOne (events.js:101:20)
at DownloadItem.emit (events.js:191:7)
This is fixed with brave-core. Should we close out here?
@rebron yup! let's close it out