From 4f7336749506dead4f348f37171eda7165b5abb3 Mon Sep 17 00:00:00 2001 From: "stuartmorgan@chromium.org" Date: Tue, 16 Mar 2010 22:47:20 +0000 Subject: Revert 41769 - Fix test_shell so that eventSender works for opened windows. I've also made focus go to the webview, just like what happens in Chrome. This is needed for https://bugs.webkit.org/show_bug.cgi?id=36147 and also fixes plugins/keyboardevents.html on Windows. Review URL: http://codereview.chromium.org/1011005 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/997008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41781 0039d316-1c4b-4281-b951-d872f2087c98 --- .../http/tests/plugins/plugin-document-has-focus-expected.txt | 3 --- .../platform/chromium-win/LayoutTests/plugins/README | 10 +--------- .../LayoutTests/plugins/keyboard-events-expected.txt | 11 ----------- 3 files changed, 1 insertion(+), 23 deletions(-) delete mode 100644 webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/plugins/plugin-document-has-focus-expected.txt delete mode 100644 webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/keyboard-events-expected.txt (limited to 'webkit/data') 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 deleted file mode 100644 index 07a9506..0000000 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/http/tests/plugins/plugin-document-has-focus-expected.txt +++ /dev/null @@ -1,3 +0,0 @@ -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 5e2667d..b3f7df8 100644 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/README @@ -4,12 +4,4 @@ inner-html-display-none ----------------------- The only difference is whitespace differences in the -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 +way functions are printed. \ 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 deleted file mode 100644 index c944349..0000000 --- a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/plugins/keyboard-events-expected.txt +++ /dev/null @@ -1,11 +0,0 @@ -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. -- cgit v1.1