Open Bug 711906 Opened 13 years ago Updated 4 years ago

Remove EventUtils.sendKey()

Categories

(Core :: DOM: UI Events & Focus Handling, enhancement, P4)

enhancement

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

()

Details

EventUtils.sendKey() just adds "VK_" prefix to the key name and calls synthesizeKey(). There is no reason which should be existing. We should remove it.
Component: DOM: Events → Event Handling
I am not sure if it should be removed, as we are replacing uses of synthesizeKey with sendKey in Bug 720087.
Blocks: 720087
(In reply to Karun Dambiec from comment #1)
> I am not sure if it should be removed, as we are replacing uses of
> synthesizeKey with sendKey in Bug 720087.

If we recommend these functions instead of synthesizeKey, we should make all of syntheizeKey feature available by them.
(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #0)
> EventUtils.sendKey() just adds "VK_" prefix to the key name and calls
> synthesizeKey(). There is no reason which should be existing. We should
> remove it.

sendKey() is easier to use and goes along sendChar() and sendString()...


(In reply to Masayuki Nakano (:masayuki) (Mozilla Japan) from comment #2)
> If we recommend these functions instead of synthesizeKey, we should make all
> of syntheizeKey feature available by them.

I don't know whether these functions need to support more features,
but we clearly need a module owner decision about whether to remove or use these functions.
Component: Event Handling → User events and focus handling

Resetting assignee which I don't work on in this several months.

Assignee: masayuki → nobody
Status: ASSIGNED → NEW
Severity: normal → S3
Type: defect → enhancement
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.