[Webkit-unassigned] [Bug 153835] [WTR] Crash in EventSendingController::contextClick() when context menu event is not handled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 3 23:04:21 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153835

--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
Comment on attachment 270583
  --> https://bugs.webkit.org/attachment.cgi?id=270583
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=270583&action=review

Thanks for the review!

>> Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp:558
>> +    size_t entriesSize = menuEntries ? WKArrayGetSize(menuEntries.get()) : 0;
> 
> Perhaps better to simply return early in this case?

Yes, indeed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160204/dcb4ddd8/attachment.html>


More information about the webkit-unassigned mailing list