Commit 57fee86e authored by Florian Bruhin's avatar Florian Bruhin Committed by Florian Bruhin
Browse files

Call javaScriptConfirm for unload dialogs


This unfortunately means we lose the ability to customize the title with the
default implementation, but it's still better than having a QMessageBox
hardcoded without being able to customize this behavior at all.

[ChangeLog][Qt WebEngineWidgets][QWebEnginePage] The javaScriptConfirm method is
now also called for unload dialogs (onbeforeunload handlers).

Task-number: QTBUG-58673
Change-Id: I82393da2593dc84e94d577ff28f5d6d8988df552
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@qt.io>
parent c69bceeb
Showing with 4 additions and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment