Content not loaded when page loads a document with target="_blank"
Categories
(GeckoView :: General, defect, P1)
Tracking
(firefox85 wontfix, firefox86+ verified, firefox87 verified)
People
(Reporter: kbrosnan, Assigned: m_kato)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [geckoview:m87])
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
From github: https://github.com/mozilla-mobile/fenix/issues/16748.
Steps to reproduce
type something in the search box, then press the enter key on the keyboard, not a button on the web page, it will pop up a blank page
the first page died
Expected behavior
Actual behavior
Device information
- Android device: ?
- Fenix version: ?
Nightly 201123 17:01 (Build #2015777355)
AC: 68.0.20201122190139, 52be4ca37
GV: 85.0a1-20201122093438
AS: 67.0.0
Change performed by the Move to Bugzilla add-on.
Reporter | ||
Comment 1•4 years ago
|
||
Same behaviour on https://www.excite.com/.
- Type your query in search box.
- Press Enter on your keyboard. If you press the search button there, then the service work.
New page with about:blank opened. All Tabs will freezed; nothing work, not even refresh, until I Force Close or Kill Firefox.
Edit: Forgot;
- Firefox Nightly 201127 05:00 (Build #2015778025)
- Samsung SM-T555, Android 7.1.1 armv7
- Xiaomi Redmi 4A, Android 7.12 arm64
Reporter | ||
Comment 2•4 years ago
|
||
Maybe related to bug 1588027
Comment 4•4 years ago
•
|
||
8:38.59 INFO: No more integration revisions, bisection finished.
8:38.59 INFO: Last good revision: c84ca8e6e685d14d5877e55713f65ceaf3e51780
8:38.59 INFO: First bad revision: e29df844f897b1efc5f07f16925c89e1835ee60d
8:38.59 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c84ca8e6e685d14d5877e55713f65ceaf3e51780&tochange=e29df844f897b1efc5f07f16925c89e1835ee60d
Looks like this is a regression from Bug 1672095. Makoto, could you take a look?
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
Before landing bug 1612802, this still occurs. I have to check correct regression range.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
•
|
||
This seems to be regression by bug 1651705, not bug 1672095. Bug 1672095 is revert fix of bug 1612802 on Android only.
I guess that IME_BLUR is fired after SetOnBrowserChild
is called. Then we dispose current GeckoEditableChild
unfortunately...
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Assignee | ||
Comment 9•4 years ago
|
||
I need a kind of blocker class to use GeckoEditable and dispose it. Also, we cannot write unit test for this since this depends on naive key event and native browser implementation (creating new window and changing focus to it). gv-junit and mochitest are the lack of each functions.
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
|
||
NavigationDelegateTest
has no form submission test.
So I would like to add this.
Assignee | ||
Comment 12•4 years ago
|
||
This is a regression by bug 1651705.
After landing it, we use read-write lock to access GeckoEditableChild object.
But when using form submission with target=_blank, since we use some nested
event loop to open new window in same process, we may try to dispose
GeckoEditableChild even if it is still used. Then, it may be dead lock.
So I add a blocker class helper not to dispose GeckoEditableChild immediately.
Depends on D103741
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cf1ea09206ac
https://hg.mozilla.org/mozilla-central/rev/e9d727985226
Reporter | ||
Comment 15•4 years ago
•
|
||
[Tracking Requested - why for this release]: Might want to take this on Beta. Fixes a fairly easy to hit web compat issue on several sites including bing.com
Assignee | ||
Comment 16•4 years ago
|
||
Comment on attachment 9200601 [details]
Bug 1684967 - Don't dispose GeckoEditableChild during JNI call. r=#geckoview-reviewers
Beta/Release Uplift Approval Request
- User impact if declined: When user submits form data that has target=_blank, Fenix is no response forever.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Browse https://bbs.kafan.cn/forum.php?mobile=no
- Tap searchbox in content
- Tap enter key on software keyboard
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This issue is a dead lock when disposing Java object. This fix changes the timing of disposing it.
- String changes made/needed: no
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 17•4 years ago
|
||
Comment on attachment 9200601 [details]
Bug 1684967 - Don't dispose GeckoEditableChild during JNI call. r=#geckoview-reviewers
Approved for 86 beta, thanks.
Updated•4 years ago
|
Comment 18•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 19•4 years ago
|
||
Verified as fixed on the 86.0.0.beta5 and latest Nightly 2/16 with Samsung Galaxy S10+ (Android 10).
Please, note that after tapping on the enter button from the keyboard the search webpage displayed the correct information. (I used https://bbs.kafan.cn/forum.php?mobile=no and https://www.excite.com/)
Updated•4 years ago
|
Updated•4 years ago
|
Description
•