Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
None
-
None
-
6644981dfde2ad24186156d5c31a74c686b5557a
Description
When a QWebEngineDownloadItem changes its state to DownloadInterrupted, there's no way to figure out what error happened.
Chromium seems to provide that information, at least there's a list of possible values in chromium/content/public/browser/download_interrupt_reason_values.h.
I'd imagine an API with an error() method (returning an enum value) and an errorString() method (chromium seems to have std::string CONTENT_EXPORT DownloadInterruptReasonToString( DownloadInterruptReason error);.
Attachments
For Gerrit Dashboard: QTBUG-56839 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
176620,9 | Add DownloadInterruptReason to Q(Quick)WebEngineDownloadItem | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
180359,9 | Add methods for textual description of DownloadInterruptReason | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
188910,2 | demobrowser: Show download interruption reason | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |