Unreviewed, fix GTK debug build after r233131
authormcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Jun 2018 16:59:55 +0000 (16:59 +0000)
committermcatanzaro@igalia.com <mcatanzaro@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 24 Jun 2018 16:59:55 +0000 (16:59 +0000)
https://bugs.webkit.org/show_bug.cgi?id=186899
<rdar://problem/38222248>

This assertion was intended to be removed.

* UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp:
(WebKit::WebAutomationSession::platformSimulateKeyboardInteraction):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233133 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp

index ac0d23e..542a83d 100644 (file)
@@ -1,3 +1,14 @@
+2018-06-24  Michael Catanzaro  <mcatanzaro@igalia.com>
+
+        Unreviewed, fix GTK debug build after r233131
+        https://bugs.webkit.org/show_bug.cgi?id=186899
+        <rdar://problem/38222248>
+
+        This assertion was intended to be removed.
+
+        * UIProcess/Automation/gtk/WebAutomationSessionGtk.cpp:
+        (WebKit::WebAutomationSession::platformSimulateKeyboardInteraction):
+
 2018-06-21  Brian Burg  <bburg@apple.com>
 
         Web Automation: key actions should support multiple pressed virtual keys
index 95d73cb..415a18a 100644 (file)
@@ -296,8 +296,6 @@ static unsigned modifiersForKeyCode(unsigned keyCode)
 
 void WebAutomationSession::platformSimulateKeyboardInteraction(WebPageProxy& page, KeyboardInteraction interaction, WTF::Variant<VirtualKey, CharKey>&& key)
 {
-    ASSERT(virtualKey.has_value() || charKey.has_value());
-
     unsigned keyCode;
     WTF::switchOn(key,
         [&] (VirtualKey virtualKey) {