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

Issue 1671103002: Prevent remaining keypress actions if textInput was canceled (Closed)

Created:
4 years, 10 months ago by chongz
Modified:
4 years, 10 months ago
Reviewers:
dtapuska, skobes
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Return true if the 'textInput' event was handled by Chrome or event listeners to match Edge's behaviour. Might affect some EditorCommand but they are either Chrome only or supportedFromMenuOrKeyBinding(). BUG=355103 Committed: https://crrev.com/a3422513370fbca5b3bc2cfb5a4962692552b672 Cr-Commit-Position: refs/heads/master@{#374251}

Patch Set 1 #

Patch Set 2 : Added layout test #

Total comments: 1

Patch Set 3 : Use pageUp+space combination instead of timeout in layouttests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -1 line) Patch
A third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled-expected.txt View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
chongz
Can I have a review please? Thanks!
4 years, 10 months ago (2016-02-05 19:54:47 UTC) #2
dtapuska
On 2016/02/05 19:54:47, chongz wrote: > Can I have a review please? Thanks! Can we ...
4 years, 10 months ago (2016-02-05 20:00:36 UTC) #3
chongz
Can I have a review on the layout test please? Thanks!
4 years, 10 months ago (2016-02-08 13:45:39 UTC) #4
dtapuska
https://codereview.chromium.org/1671103002/diff/20001/third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html File third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html (right): https://codereview.chromium.org/1671103002/diff/20001/third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html#newcode41 third_party/WebKit/LayoutTests/fast/events/space-scroll-textinput-canceled.html:41: }, 10); Is this reliable? Should we instead register ...
4 years, 10 months ago (2016-02-08 13:50:07 UTC) #5
chongz
Updated layout test. The logic now is to do a pageUp first then press space ...
4 years, 10 months ago (2016-02-08 16:17:53 UTC) #6
dtapuska
On 2016/02/08 16:17:53, chongz wrote: > Updated layout test. The logic now is to do ...
4 years, 10 months ago (2016-02-08 16:23:52 UTC) #7
chongz
Hi skobes, can I have a review on the CL please? Thanks!
4 years, 10 months ago (2016-02-08 17:48:06 UTC) #10
skobes
lgtm
4 years, 10 months ago (2016-02-08 23:17:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1671103002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1671103002/40001
4 years, 10 months ago (2016-02-08 23:20:30 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-09 01:18:16 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 01:19:37 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a3422513370fbca5b3bc2cfb5a4962692552b672
Cr-Commit-Position: refs/heads/master@{#374251}

Powered by Google App Engine
This is Rietveld 408576698