Commit 1c2faacb by Corentin Wallez Committed by Commit Bot

OSXWindow: Suppress a flaky crash when running end2end tests

For some reason while running the end2end tests, when the application gets an NSAppKitDefinedEventType with subtype NSApplicationActivateEventType (and of course window = 0), a null dereference happens. The crash seems timing dependent, since the root cause was not found and this is test code, add an ugly suppression. BUG=angleproject:1570 Change-Id: I3af2188ddae8ca3c0a4458e15a8af01e66215e3f Reviewed-on: https://chromium-review.googlesource.com/403049Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent 0bdfe4c8
...@@ -612,6 +612,11 @@ void OSXWindow::messageLoop() ...@@ -612,6 +612,11 @@ void OSXWindow::messageLoop()
{ {
break; break;
} }
if ([event type] == NSAppKitDefined)
{
continue;
}
[NSApp sendEvent: event]; [NSApp sendEvent: event];
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment