diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 23:40:15 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 23:40:15 +0000 |
commit | 86a18d9f3b81fc6a7425ae20a84b17786605d762 (patch) | |
tree | 31067e682471b02ce89bff768af78dc0a007c60c /webkit/data | |
parent | d4e53eb321385290f47aaeecb041a9e693f9a24f (diff) | |
download | chromium_src-86a18d9f3b81fc6a7425ae20a84b17786605d762.zip chromium_src-86a18d9f3b81fc6a7425ae20a84b17786605d762.tar.gz chromium_src-86a18d9f3b81fc6a7425ae20a84b17786605d762.tar.bz2 |
Revert 41781 - 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
TBR=stuartmorgan@chromium.org
Review URL: http://codereview.chromium.org/990005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
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. |