| Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| index 905d7365cc9cec5397c4eedc2e66a98e6d0254fb..de1bfaf5eda74520edf54693dbbe4d0cf91b6f53 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| @@ -1994,6 +1994,7 @@ TEST_F(WebViewTest, CompositionNotCancelledByBackspace)
|
| // Press Backspace and verify composition didn't get cancelled. This is to verify the fix
|
| // for crbug.com/429916.
|
| WebKeyboardEvent keyEvent;
|
| + keyEvent.domKey = Platform::current()->domKeyEnumFromString("\b");
|
| keyEvent.windowsKeyCode = VKEY_BACK;
|
| keyEvent.setKeyIdentifierFromWindowsKeyCode();
|
| keyEvent.type = WebInputEvent::RawKeyDown;
|
| @@ -2176,6 +2177,7 @@ static void openDateTimeChooser(WebView* webView, HTMLInputElement* inputElement
|
| inputElement->focus();
|
|
|
| WebKeyboardEvent keyEvent;
|
| + keyEvent.domKey = Platform::current()->domKeyEnumFromString(" ");
|
| keyEvent.windowsKeyCode = VKEY_SPACE;
|
| keyEvent.type = WebInputEvent::RawKeyDown;
|
| keyEvent.setKeyIdentifierFromWindowsKeyCode();
|
| @@ -2804,6 +2806,7 @@ TEST_F(WebViewTest, FirstUserGestureObservedKeyEvent)
|
| EXPECT_EQ(0, client.getUserGestureNotificationsCount());
|
|
|
| WebKeyboardEvent keyEvent;
|
| + keyEvent.domKey = Platform::current()->domKeyEnumFromString(" ");
|
| keyEvent.windowsKeyCode = VKEY_SPACE;
|
| keyEvent.type = WebInputEvent::RawKeyDown;
|
| keyEvent.setKeyIdentifierFromWindowsKeyCode();
|
|
|