summaryrefslogtreecommitdiffstats
path: root/webkit/data
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/data')
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/plugins/plugin-document-has-focus-expected.txt3
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README10
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/keyboard-events-expected.txt11
3 files changed, 23 insertions, 1 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/plugins/plugin-document-has-focus-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/plugins/plugin-document-has-focus-expected.txt
new file mode 100644
index 0000000..07a9506
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/plugins/plugin-document-has-focus-expected.txt
@@ -0,0 +1,3 @@
+CONSOLE MESSAGE: line 1: PLUGIN: keyDown 'A'
+CONSOLE MESSAGE: line 1: PLUGIN: keyUp 'A'
+This tests that a full page plugin gets keyboard focus without the need to first click it. \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README
index b3f7df8..5e2667d 100644
--- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README
@@ -4,4 +4,12 @@ inner-html-display-none
-----------------------
The only difference is whitespace differences in the
-way functions are printed. \ No newline at end of file
+way functions are printed.
+
+
+keyboard-events
+---------------
+
+On Windows, windowless plugins get the shift state of the keyboard by quering the OS, since the
+WM_KEYDOWN message doesn't contain that information. This is impossible to simulate through
+eventSender(). \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/keyboard-events-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/keyboard-events-expected.txt
new file mode 100644
index 0000000..c944349
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/keyboard-events-expected.txt
@@ -0,0 +1,11 @@
+CONSOLE MESSAGE: line 17: PLUGIN: getFocusEvent
+CONSOLE MESSAGE: line 17: PLUGIN: mouseDown at (20, 20)
+CONSOLE MESSAGE: line 18: PLUGIN: mouseUp at (20, 20)
+CONSOLE MESSAGE: line 21: PLUGIN: keyDown 'A'
+CONSOLE MESSAGE: line 21: PLUGIN: keyUp 'A'
+CONSOLE MESSAGE: line 22: PLUGIN: keyDown 'B'
+CONSOLE MESSAGE: line 22: PLUGIN: keyUp 'B'
+CONSOLE MESSAGE: line 23: PLUGIN: keyDown 'C'
+CONSOLE MESSAGE: line 23: PLUGIN: keyUp 'C'
+
+This test checks if a plug-in can receive keyboard events sent from eventSender. This is a test for Bug 34936.