<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Do not show context menu when right clicking on a scrollbar"
href="https://bugs.webkit.org/show_bug.cgi?id=153493#c11">Comment # 11</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Do not show context menu when right clicking on a scrollbar"
href="https://bugs.webkit.org/show_bug.cgi?id=153493">bug 153493</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>Ok, I know what the problem is. The crash is in WTR, when handling contextClick. GTK and EFL use WKBundlePageCopyContextMenuItems that always returns a valid array, even if it's empty when there's not contexct menu, but other ports use WKBundlePageCopyContextMenuAtPointInWindow() that can return nullptr. The returned value is used below without any null check. I don't know why we need different code for EFL and GTK here, and I don't know why WebPage::contextMenuAtPointInWindow() can return nullptr, but WebPage::contextMenu() doesn't. But this is an exiting issue in any case so I'll open a new bug.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>