<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:mrobinson@webkit.org" title="Martin Robinson <mrobinson@webkit.org>"> <span class="fn">Martin Robinson</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled"
href="https://bugs.webkit.org/show_bug.cgi?id=153835">bug 153835</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Attachment #270583 Flags</td>
<td>review?
</td>
<td>review+
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled"
href="https://bugs.webkit.org/show_bug.cgi?id=153835#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled"
href="https://bugs.webkit.org/show_bug.cgi?id=153835">bug 153835</a>
from <span class="vcard"><a class="email" href="mailto:mrobinson@webkit.org" title="Martin Robinson <mrobinson@webkit.org>"> <span class="fn">Martin Robinson</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=270583&action=diff" name="attach_270583" title="Patch">attachment 270583</a> <a href="attachment.cgi?id=270583&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=270583&action=review">https://bugs.webkit.org/attachment.cgi?id=270583&action=review</a>
<span class="quote">> Tools/ChangeLog:9
> + the context menu event is not hanlded, but we are using the</span >
Nit: hanlded -> handled
<span class="quote">> Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp:558
> - size_t entriesSize = WKArrayGetSize(menuEntries.get());
> + size_t entriesSize = menuEntries ? WKArrayGetSize(menuEntries.get()) : 0;</span >
Perhaps better to simply return early in this case?</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>