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

Issue 2061123005: Revert of [DomKey] Expose Korean special keys on Korean keyboard layout only (Closed)

Created:
4 years, 6 months ago by tommycli
Modified:
4 years, 6 months ago
Reviewers:
chongz, Wez
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of [DomKey] Expose Korean special keys on Korean keyboard layout only (patchset #2 id:20001 of https://codereview.chromium.org/2046193002/ ) Reason for revert: Breaks Windows Unit DrMemory tests. Sorry. https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Unit%20(DrMemory%20full)%20(5) First breaking build: https://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Unit%20(DrMemory%20full)%20(5) Error: UNADDRESSABLE ACCESS: reading 0x00001d2c-0x00001d30 4 byte(s) within 0x00001d2c-0x00001d30 # 0 system call NtUserLoadKeyboardLayoutEx UNICODE_STRING.Buffer # 1 USER32.dll!SetSystemCursor +0x6c (0x75780272 <USER32.dll+0x70272>) # 2 USER32.dll!OpenWindowStationW +0xa7b (0x7576babf <USER32.dll+0x5babf>) # 3 USER32.dll!LoadKeyboardLayoutW +0x14 (0x7576bb2c <USER32.dll+0x5bb2c>) # 4 ui::PlatformKeyMapTest_KoreanSpecificKeys_Test::TestBody [ui\events\keycodes\platform_key_map_win_unittest.cc:309] # 5 testing::internal::HandleExceptionsInMethodIfSupported<> [testing\gtest\src\gtest.cc:2458] Note: @0:00:18.236 in thread 3168 Suppression (error hash=#54506E6D47A9FB57#): For more info on using suppressions see http://dev.chromium.org/developers/how-tos/using-drmemory#TOC-Suppressing-error-reports-from-the- { UNADDRESSABLE ACCESS name=<insert_a_suppression_name_here> system call NtUserLoadKeyboardLayoutEx UNICODE_STRING.Buffer USER32.dll!SetSystemCursor USER32.dll!OpenWindowStationW USER32.dll!LoadKeyboardLayoutW *!ui::PlatformKeyMapTest_KoreanSpecificKeys_Test::TestBody *!testing::internal::HandleExceptionsInMethodIfSupported<> } UNADDRESSABLE ACCESS: reading 0x00001d28-0x00001d2a 2 byte(s) within 0x00001d28-0x00001d2a # 0 system call NtUserLoadKeyboardLayoutEx UNICODE_STRING.Length # 1 USER32.dll!SetSystemCursor +0x6c (0x75780272 <USER32.dll+0x70272>) # 2 USER32.dll!OpenWindowStationW +0xa7b (0x7576babf <USER32.dll+0x5babf>) # 3 USER32.dll!LoadKeyboardLayoutW +0x14 (0x7576bb2c <USER32.dll+0x5bb2c>) # 4 ui::PlatformKeyMapTest_KoreanSpecificKeys_Test::TestBody [ui\events\keycodes\platform_key_map_win_unittest.cc:309] # 5 testing::internal::HandleExceptionsInMethodIfSupported<> [testing\gtest\src\gtest.cc:2458] Note: @0:00:18.236 in thread 3168 Suppression (error hash=#EBB09B57A8C7AF19#): For more info on using suppressions see http://dev.chromium.org/developers/how-tos/using-drmemory#TOC-Suppressing-error-reports-from-the- { UNADDRESSABLE ACCESS name=<insert_a_suppression_name_here> system call NtUserLoadKeyboardLayoutEx UNICODE_STRING.Length USER32.dll!SetSystemCursor USER32.dll!OpenWindowStationW USER32.dll!LoadKeyboardLayoutW *!ui::PlatformKeyMapTest_KoreanSpecificKeys_Test::TestBody *!testing::internal::HandleExceptionsInMethodIfSupported<> } Original issue's description: > [DomKey] Expose Korean special keys on Korean keyboard layout only > > Korean keyboard has special keys "HangulMode" and "HanjaMode", we should > only expose them when the system layout is Korean. Otherwise we should > return "Unidentified". > > This matches Firefox and windows virtual key. > > Note: This also works with JIS keyboard + Korean layout, because we are > mapping DomKey based on KeyboardCode instead of DomCode. > > BUG=612736 > > Committed: https://crrev.com/bdcfb5a1816f1bad537d7611c7ccb972b550339c > Cr-Commit-Position: refs/heads/master@{#399783} TBR=wez@chromium.org,chongz@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=612736 Committed: https://crrev.com/a9248145f2dca37ab3492980ce884787818223ab Cr-Commit-Position: refs/heads/master@{#399907}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -55 lines) Patch
M ui/events/keycodes/platform_key_map_win.cc View 4 chunks +10 lines, -27 lines 0 comments Download
M ui/events/keycodes/platform_key_map_win_unittest.cc View 2 chunks +0 lines, -28 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
tommycli
Created Revert of [DomKey] Expose Korean special keys on Korean keyboard layout only
4 years, 6 months ago (2016-06-15 15:54:53 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2061123005/1
4 years, 6 months ago (2016-06-15 15:55:44 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-15 15:56:46 UTC) #5
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-15 15:56:49 UTC) #6
commit-bot: I haz the power
4 years, 6 months ago (2016-06-15 15:59:19 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a9248145f2dca37ab3492980ce884787818223ab
Cr-Commit-Position: refs/heads/master@{#399907}

Powered by Google App Engine
This is Rietveld 408576698