Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

browser(firefox): fix input composition when TIP is stolen by user (#10238)

Andrey Lushnikov0fa8073ab653
diff --git a/browser_patches/firefox-beta/BUILD_NUMBER b/browser_patches/firefox-beta/BUILD_NUMBER
index e580183020..fa1cb8949a 100644
--- a/browser_patches/firefox-beta/BUILD_NUMBER
+++ b/browser_patches/firefox-beta/BUILD_NUMBER
@@ -1,2 +1,2 @@
-1303
-Changed: [email protected] Thu 04 Nov 2021 12:26:04 PM PDT
+1304
+Changed: [email protected] Wed Nov 10 21:36:03 HST 2021
diff --git a/browser_patches/firefox-beta/juggler/content/FrameTree.js b/browser_patches/firefox-beta/juggler/content/FrameTree.js
index 928ad67def..ccb49bf4e2 100644
--- a/browser_patches/firefox-beta/juggler/content/FrameTree.js
+++ b/browser_patches/firefox-beta/juggler/content/FrameTree.js
@@ -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;
}
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBER
index 55030b3878..3e4dd69e56 100644
--- a/browser_patches/firefox/BUILD_NUMBER
+++ b/browser_patches/firefox/BUILD_NUMBER
@@ -1,2 +1,2 @@
1304
-Changed: [email protected] Fri Nov 5 12:27:32 HST 2021
+Changed: [email protected] Wed Nov 10 21:36:03 HST 2021
diff --git a/browser_patches/firefox/juggler/content/FrameTree.js b/browser_patches/firefox/juggler/content/FrameTree.js
index 928ad67def..ccb49bf4e2 100644
--- a/browser_patches/firefox/juggler/content/FrameTree.js
+++ b/browser_patches/firefox/juggler/content/FrameTree.js
@@ -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;
}