Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.5.3
-
None
-
-
3fcf62c0c (dev), b9c8cfba0 (6.7), 3484a9bb1 (6.6)
Description
I have the following HTML document:
<!DOCTYPE html> <html> <head> <script>alert("\"");</script> <head> <body> </body> </html>
I add it as a resource as :/document.html and load it in Qt Web Engine like this:
QWebEngineView webEngineView;
webEngineView.load(QUrl("qrc:/document.html"));
webEngineView.show();
When I run this, I expect it to alert ", but instead it alerts ":
Attachments
For Gerrit Dashboard: QTBUG-119245 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
520243,6 | Fix text formatting in JS Dialogs | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
529568,2 | Fix text formatting in JS Dialogs | 6.7 | qt/qtwebengine | Status: MERGED | +2 | 0 |
530303,2 | Fix text formatting in JS Dialogs | 6.6 | qt/qtwebengine | Status: MERGED | +2 | 0 |