Keyboard.jsm could possibly ignores received messages

RESOLVED WONTFIX

Status

()

Core
DOM
RESOLVED WONTFIX
4 years ago
4 years ago

People

(Reporter: ting, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
+++ This bug was initially created as a clone of Bug #1066515 +++

This is a spin off from bug 1066515 comment 79.

Since Keyboard.jsm remembers only the last registered keyboard ID (_keyboardID) and receiveMessage() ignores the message if it the ID is unmatched, so whenever there are multiple active keyboards the message could pssibly be dropped.

STR:
As an example, if test_bug1043828.html deactivate keyboardB, and tries to getText from keyboardA, the test will simply timed out since Keyboard:GetText is ignored.
(Reporter)

Comment 1

4 years ago
John, any ideas?
Flags: needinfo?(jlu)
Replied you bug 1066515 on comment 81 :)
Flags: needinfo?(jlu)
When gaia is running, we only allow one keyboard app to be active and prevent other keyboard apps to interact with Keyboard.jsm.
It should not be bug.
Alright, let's wontfix this bug for now.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.