Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.8.0, 5.9.0 Alpha
-
None
-
Archlinux
-
I820155452461db90bf1df2ae8a8ec10ee752aab1
Description
When opening https://code-maven.com/try/examples/js/prevent_leaving_the_page.html and then entering another URL, Chromium displays a "Do you want to leave this site?" dialogbox.
QtWebEngine simply displays an empty confirmation box (without text), and this doesn't seem to be overridable. I think there should be a QWebEnginePage::javaScriptConfirmLeave(const QUrl securityOrigin, const QString &msg) or so for this, or at the very least, a better text should be displayed.
Attachments
For Gerrit Dashboard: QTBUG-58673 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
185469,3 | Fix empty dialogs on window.onbeforeunload | 5.8 | qt/qtwebengine | Status: MERGED | +2 | 0 |
186584,1 | WIP: Add QWebEnginePage::javascriptConfirmUnload method | dev | qt/qtwebengine | Status: ABANDONED | -2 | 0 |
187881,4 | Call javaScriptConfirm for unload dialogs | 5.9 | qt/qtwebengine | Status: MERGED | +2 | 0 |