Closed
Bug 1395168
Opened 7 years ago
Closed 7 years ago
Add a tests for key synthesis
Categories
(Firefox for Android Graveyard :: Keyboards and IME, enhancement)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(1 file)
9.99 KB,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
Add tests for when we synthesize key events, including a test for bug 1387889.
Assignee | ||
Comment 1•7 years ago
|
||
Add tests for synthesizing keys, including test for dummy keys and test
for wrong metastate for synthesized non-English keys (i.e. bug 1387889).
Attachment #8902705 -
Flags: review?(esawin)
Comment 2•7 years ago
|
||
Comment on attachment 8902705 [details] [diff] [review]
Add tests for key synthesis (v1)
Review of attachment 8902705 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/tests/browser/robocop/robocop_input.html
@@ +82,5 @@
> + case "keydown":
> + case "keypress":
> + case "keyup":
> + key_log += event.type + ":" + event.key + "," +
> + get_key_metastate(event) + ";";
Template-strings might be nice for this.
@@ +85,5 @@
> + key_log += event.type + ":" + event.key + "," +
> + get_key_metastate(event) + ";";
> + break;
> + default:
> + key_log += "unknown;"
Missing ;.
Attachment #8902705 -
Flags: review?(esawin) → review+
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b0066ef926e1
Add tests for key synthesis; r=esawin
![]() |
||
Comment 4•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•