RESOLVED INVALID 43231
wxWebView crashes if no Top Level Parent Window available
https://bugs.webkit.org/show_bug.cgi?id=43231
Summary wxWebView crashes if no Top Level Parent Window available
Malcolm MacLeod
Reported 2010-07-29 20:54:27 PDT
Created attachment 63023 [details] Patch to correct TLW behaviour In some situations when a wxWebView is created it is unable to find a top level (grand)parent window. The code currently assumes it will always be able to do this so in these instances it either crashes or behaves erratically, I attach a patch below that attempts to handle the situation more gracefully as well as warning about the problem when in debug mode.
Attachments
Patch to correct TLW behaviour (1.34 KB, patch)
2010-07-29 20:54 PDT, Malcolm MacLeod
no flags
Malcolm MacLeod
Comment 1 2010-08-02 13:08:32 PDT
It appears that the solution is not as simple as I thought and that the attached patch does not really fix it fully. This will have to be approached in another way. The latest trunk version seems to be addressing this so I am withdrawing the report.
Note You need to log in before you can comment on or make changes to this bug.