MacCatalyst asserts when command key is raised
<rdar://problem/53120393>
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.JavaScriptCore 0x000000012725677e WTFCrash + 14 (Assertions.cpp:305) 1 com.apple.WebCore 0x000000011491b77b WTFCrashWithInfo(int, char const*, char const*, int) + 27 2 com.apple.WebCore 0x0000000114b3d2bd WebCore::keyForKeyEvent(WebEvent*) + 493 (PlatformEventFactoryIOS.mm:199) 3 com.apple.WebKit 0x000000010cf6af12 WebIOSEventFactory::createWebKeyboardEvent(WebEvent*, bool) + 578 (WebIOSEventFactory.mm:82) 4 com.apple.WebKit 0x000000010cf6ac5b WebKit::NativeWebKeyboardEvent::NativeWebKeyboardEvent(WebEvent*, WebKit::NativeWebKeyboardEvent::HandledByInputMethod) + 75 (NativeWebKeyboardEventIOS.mm:38) 5 com.apple.WebKit 0x000000010cf6b62c WebKit::NativeWebKeyboardEvent::NativeWebKeyboardEvent(WebEvent*, WebKit::NativeWebKeyboardEvent::HandledByInputMethod) + 44 (NativeWebKeyboardEventIOS.mm:41) 6 com.apple.WebKit 0x000000010dc9615f -[WKContentView(WKInteraction) handleKeyWebEvent:] + 79 (WKContentViewInteraction.mm:4698) 7 com.apple.WebKit 0x000000010dc96026 -[WKContentView(WKInteraction) handleKeyEvent:] + 182 (WKContentViewInteraction.mm:4692) 8 com.apple.WebKit 0x000000010dc95efc -[WKContentView(WKInteraction) _handleKeyUIEvent:] + 316 (WKContentViewInteraction.mm:4672)
Created attachment 374146 [details] Patch
Committed r247454: <https://trac.webkit.org/changeset/247454>