CLOSED FIXED 38314
[Qt] REGRESSION(r57982): tst_qwebpage::showModalDialog() crashes
https://bugs.webkit.org/show_bug.cgi?id=38314
Summary [Qt] REGRESSION(r57982): tst_qwebpage::showModalDialog() crashes
Simon Hausmann
Reported 2010-04-29 01:33:32 PDT
r57982 caused the showModalDialog() unit test to regress/crash. This is caused by not always calling mainFrame() anymore, inside ChromeClientQt::createWindow. When returning from that function WebCore expects that a main frame exists.
Attachments
Patch (1.57 KB, patch)
2010-04-29 01:35 PDT, Simon Hausmann
vestbo: review+
Simon Hausmann
Comment 1 2010-04-29 01:35:52 PDT
Simon Hausmann
Comment 2 2010-04-29 01:42:20 PDT
Simon Hausmann
Comment 3 2010-04-29 01:44:48 PDT
Revision r58485 cherry-picked into qtwebkit-2.0 with commit 52345b219c57e8986cd399c148d85b7909a1dd6e
Yi Shen
Comment 4 2010-04-29 04:38:58 PDT
Sorry Simon, my patch causes the crash :( I will be careful next time
Note You need to log in before you can comment on or make changes to this bug.