Starting from Qt 5.12.0, QWebEngineDownloadItem knows which page
requested the download, so there's no more need to record calls to
WebEnginePage::acceptNavigationRequest and use them to try to guess the
correct page.
WebEngineDownloadManager still keeps a list of all pages because,
according to the documentation, QWebEngineDownloadItem::page() can
return nullptr "if the download was not triggered by content in a page".
If this happens, one of the pages (chosen arbitrarily) is used.