mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1492704 - 2. Don't update node during auto-fill focus event; r=droeh
Don't update the focused node in the node cache during auto-fill focus events, because we don't necessarily know if the focused node should be in the node cahce (e.g. the focused node could be from another window than the one we're handling currently). Differential Revision: https://phabricator.services.mozilla.com/D6758
This commit is contained in:
parent
04df1a8b78
commit
19435e0b46
@ -777,7 +777,6 @@ public class SessionAccessibility {
|
||||
final int id;
|
||||
if (message != null) {
|
||||
id = message.getInt("id");
|
||||
mAutoFillNodes.put(id, message);
|
||||
} else {
|
||||
id = View.NO_ID;
|
||||
}
|
||||
|
@ -734,7 +734,6 @@ public final class SessionTextInput {
|
||||
final int id;
|
||||
if (message != null) {
|
||||
id = message.getInt("id");
|
||||
mAutoFillNodes.put(id, message);
|
||||
} else {
|
||||
id = View.NO_ID;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user