Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp

Issue 2675363003: [InputEvent] Fire "insertCompositionText" during IME (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
index fd5cc2adac360f68a24e7040339fe9a1ba02c322..3f76e4e44e8f927f65e550a02fde9be9116b1ede 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
+++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp
@@ -1013,7 +1013,7 @@ TEST_F(InputMethodControllerTest, CompositionInputEventForDelete) {
// Delete the existing composition.
document().setTitle(emptyString);
controller().setComposition("", underlines, 0, 0);
- EXPECT_STREQ("beforeinput.data:;compositionend.data:;",
+ EXPECT_STREQ("beforeinput.data:;input.data:;compositionend.data:;",
document().title().utf8().data());
}
@@ -1067,7 +1067,7 @@ TEST_F(InputMethodControllerTest, CompositionInputEventForInsertEmptyText) {
document().setTitle(emptyString);
document().updateStyleAndLayout();
controller().commitText("", underlines, 1);
- EXPECT_STREQ("beforeinput.data:;compositionend.data:;",
+ EXPECT_STREQ("beforeinput.data:;input.data:;compositionend.data:;",
document().title().utf8().data());
}

Powered by Google App Engine
This is Rietveld 408576698