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

Unified Diff: LayoutTests/fast/forms/text/text-window-lost-focus-change-event-expected.txt

Issue 205033004: Dispatch change and blur event for input type=text when window focus is changed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed toHTML conversion and added setFocus(true) for focus Created 6 years, 9 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: LayoutTests/fast/forms/text/text-window-lost-focus-change-event-expected.txt
diff --git a/LayoutTests/fast/forms/text/text-window-lost-focus-change-event-expected.txt b/LayoutTests/fast/forms/text/text-window-lost-focus-change-event-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..08594ce05ada228710647c75f2c9d5e363b7aef7
--- /dev/null
+++ b/LayoutTests/fast/forms/text/text-window-lost-focus-change-event-expected.txt
@@ -0,0 +1,13 @@
+Test when window out of focus, should dispatch both blur and change event
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS blurEventCounter is 0
+PASS changeEventCounter is 0
+PASS blurEventCounter is 1
+PASS changeEventCounter is 1
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/forms/text/text-window-lost-focus-change-event.html ('k') | Source/core/page/FocusController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698