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

Issue 1148803002: Synthesize proper keyIdentifier for devtools protocol key events. (Closed)

Created:
5 years, 7 months ago by mharanczyk
Modified:
5 years, 7 months ago
Reviewers:
dgozman, pfeldman
CC:
chromium-reviews, darin-cc_chromium.org, jam, yurys, pfeldman, devtools-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Synthesize proper keyIdentifier for devtools protocol key events. When bug 472077 moved devtools protocol key handling to browser one part of code that sythesized keyIdentifier was lost (it was prevoiusly handled in InspectorInputClient::dispatchKeyEvent and removed in https://codereview.chromium.org/1063653002/patch/40001/50004). Restore that functionality else sending some key events (like enter) is not handled correctly. BUG= Committed: https://crrev.com/387858480cc7aec410fe8c776ccc15abfaf873ae Cr-Commit-Position: refs/heads/master@{#331546}

Patch Set 1 #

Patch Set 2 : Added browser test #

Patch Set 3 : Line endings #

Patch Set 4 : More line endings.... #

Total comments: 2

Patch Set 5 : Minor style fix: keyIdentifier -> key_identifier #

Patch Set 6 : Do all the queued work when message is dispatched synchronously in test. #

Patch Set 7 : Attempt to fix test flakiness. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -13 lines) Patch
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 1 2 3 4 5 6 3 chunks +61 lines, -2 lines 0 comments Download
M content/browser/devtools/protocol/input_handler.cc View 2 3 3 chunks +13 lines, -11 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
mharanczyk
PTAL.
5 years, 7 months ago (2015-05-20 10:34:40 UTC) #2
dgozman
Thank you for the fix! How did you encounter the problem? Perhaps, we can add ...
5 years, 7 months ago (2015-05-21 21:24:17 UTC) #3
mharanczyk
On 2015/05/21 21:24:17, dgozman_ooo wrote: > Thank you for the fix! How did you encounter ...
5 years, 7 months ago (2015-05-25 07:34:53 UTC) #4
mharanczyk
I've added browser test for devtools protocol, could you please take a look at it?
5 years, 7 months ago (2015-05-25 13:56:24 UTC) #5
dgozman
lgtm https://codereview.chromium.org/1148803002/diff/60001/content/browser/devtools/protocol/devtools_protocol_browsertest.cc File content/browser/devtools/protocol/devtools_protocol_browsertest.cc (right): https://codereview.chromium.org/1148803002/diff/60001/content/browser/devtools/protocol/devtools_protocol_browsertest.cc#newcode100 content/browser/devtools/protocol/devtools_protocol_browsertest.cc:100: if (base::MessageLoop::current()->is_running()) I probably don't understand something, but ...
5 years, 7 months ago (2015-05-25 16:02:10 UTC) #6
mharanczyk
https://codereview.chromium.org/1148803002/diff/60001/content/browser/devtools/protocol/devtools_protocol_browsertest.cc File content/browser/devtools/protocol/devtools_protocol_browsertest.cc (right): https://codereview.chromium.org/1148803002/diff/60001/content/browser/devtools/protocol/devtools_protocol_browsertest.cc#newcode100 content/browser/devtools/protocol/devtools_protocol_browsertest.cc:100: if (base::MessageLoop::current()->is_running()) On 2015/05/25 16:02:10, dgozman_ooo wrote: > I ...
5 years, 7 months ago (2015-05-26 07:45:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148803002/80001
5 years, 7 months ago (2015-05-26 07:58:27 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148803002/100001
5 years, 7 months ago (2015-05-26 09:26:58 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-26 12:28:28 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148803002/120001
5 years, 7 months ago (2015-05-26 13:58:39 UTC) #19
mharanczyk
Sorry for commit-bot message spam, I had to root out test flakiness which I could ...
5 years, 7 months ago (2015-05-26 15:33:48 UTC) #20
dgozman
On 2015/05/26 15:33:48, mharanczyk wrote: > Sorry for commit-bot message spam, I had to root ...
5 years, 7 months ago (2015-05-26 16:43:53 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-26 19:21:10 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1148803002/120001
5 years, 7 months ago (2015-05-27 07:49:20 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 7 months ago (2015-05-27 07:53:58 UTC) #26
commit-bot: I haz the power
5 years, 7 months ago (2015-05-27 07:54:54 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/387858480cc7aec410fe8c776ccc15abfaf873ae
Cr-Commit-Position: refs/heads/master@{#331546}

Powered by Google App Engine
This is Rietveld 408576698