RESOLVED FIXED 232460
Layout test is crashing inside WebChromeClient::createWindow
https://bugs.webkit.org/show_bug.cgi?id=232460
Summary Layout test is crashing inside WebChromeClient::createWindow
Per Arne Vollan
Reported 2021-10-28 15:35:58 PDT
The test fast/frames/sandboxed-iframe-close-top-noclose.html is crashing under WebChromeClient::createWindow.
Attachments
Patch (1.54 KB, patch)
2021-10-28 15:41 PDT, Per Arne Vollan
bfulgham: review+
Patch (1.65 KB, patch)
2021-10-28 16:13 PDT, Per Arne Vollan
no flags
Patch (1.66 KB, patch)
2021-10-28 20:23 PDT, Per Arne Vollan
no flags
Per Arne Vollan
Comment 1 2021-10-28 15:36:22 PDT
Per Arne Vollan
Comment 2 2021-10-28 15:41:34 PDT
Brent Fulgham
Comment 3 2021-10-28 15:47:08 PDT
Comment on attachment 442755 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442755&action=review r=me > Source/WebKitLegacy/mac/Plugins/Hosted/NetscapePluginHostManager.mm:315 > + if (hostProxy && !hostProxy->isMenuBarVisible()) { Should we log something when we have a set of plugin hosts with no host? Should we remove the m_pluginHosts entry if the value is nil?
Per Arne Vollan
Comment 4 2021-10-28 16:13:17 PDT
Per Arne Vollan
Comment 5 2021-10-28 16:19:46 PDT
(In reply to Brent Fulgham from comment #3) > Comment on attachment 442755 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=442755&action=review > > r=me > > > Source/WebKitLegacy/mac/Plugins/Hosted/NetscapePluginHostManager.mm:315 > > + if (hostProxy && !hostProxy->isMenuBarVisible()) { > > Should we log something when we have a set of plugin hosts with no host? > > Should we remove the m_pluginHosts entry if the value is nil? That is a good point. I have added logging in the latest patch. It would also be good to remove the items with nil value, although I did not include that in the latest patch, since there could possibly be side effects from doing that. Thanks for reviewing!
Per Arne Vollan
Comment 6 2021-10-28 20:23:03 PDT
EWS
Comment 7 2021-10-28 21:19:07 PDT
Committed r285018 (243662@main): <https://commits.webkit.org/243662@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442775 [details].
Note You need to log in before you can comment on or make changes to this bug.