browser(firefox): fix input composition when TIP is stolen by user (#10238)
When firefox is automated + interacted with manually, input composition might get stolen from Text Input Processor. Re-requiring TIP every time seems to fix this. References #5460
This commit is contained in:
parent
3a64da7a54
commit
0fa8073ab6
|
|
@ -1,2 +1,2 @@
|
|||
1303
|
||||
Changed: yurys@chromium.org Thu 04 Nov 2021 12:26:04 PM PDT
|
||||
1304
|
||||
Changed: aslushnikov@gmail.com Wed Nov 10 21:36:03 HST 2021
|
||||
|
|
|
|||
|
|
@ -522,8 +522,8 @@ class Frame {
|
|||
textInputProcessor() {
|
||||
if (!this._textInputProcessor) {
|
||||
this._textInputProcessor = Cc["@mozilla.org/text-input-processor;1"].createInstance(Ci.nsITextInputProcessor);
|
||||
this._textInputProcessor.beginInputTransactionForTests(this._docShell.DOMWindow);
|
||||
}
|
||||
this._textInputProcessor.beginInputTransactionForTests(this._docShell.DOMWindow);
|
||||
return this._textInputProcessor;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
1304
|
||||
Changed: lushnikov@chromium.org Fri Nov 5 12:27:32 HST 2021
|
||||
Changed: lushnikov@chromium.org Wed Nov 10 21:36:03 HST 2021
|
||||
|
|
|
|||
|
|
@ -522,8 +522,8 @@ class Frame {
|
|||
textInputProcessor() {
|
||||
if (!this._textInputProcessor) {
|
||||
this._textInputProcessor = Cc["@mozilla.org/text-input-processor;1"].createInstance(Ci.nsITextInputProcessor);
|
||||
this._textInputProcessor.beginInputTransactionForTests(this._docShell.DOMWindow);
|
||||
}
|
||||
this._textInputProcessor.beginInputTransactionForTests(this._docShell.DOMWindow);
|
||||
return this._textInputProcessor;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue