Closed Bug 1355842 Opened 8 years ago Closed 3 years ago

Fix and re-enable layout/base/tests/test_reftests_with_caret.html on Android

Categories

(Core :: Layout, enhancement, P3)

Unspecified
Android
enhancement

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: RyanVM, Assigned: masayuki)

Details

Attachments

(6 files)

Attached file test log
As part of getting layout/base/tests running on Android again, it was determined that test_reftests_with_caret.html is currently permafailing. In the interests of getting the directory running again, the test has been disabled for now until it can be fixed and re-enabled.
Priority: -- → P3

NI myself to see if we can re-enable these now.

Flags: needinfo?(ryanvm)

Lots of failures still on Android:
https://treeherder.mozilla.org/logviewer?job_id=360330118&repo=try&lineNumber=5750

Masayuki, do you have any thoughts on what's going on here?

Flags: needinfo?(ryanvm) → needinfo?(masayuki)

About input-password-RTL-input.html: It assumes that editor.password.mask_delay pref is 0 by default, but only on Android, it's not treated as so with the default settings (-1). So, explicitly specifying the mask delay can fix this.

About bug956530-1.html: It checks selection range after selecting all text in <input> from JS and set focus to the <input> after blurring by synthesized mouse clicks. However, only on Android, there is no caret nor selected range. I'm not sure whether this is intentional behavior on Android or not. Ask somebody who is working on Android.

About timeout of bug1097242-1.html: It tries to non-selectable and non-editable <span> element in <div contenteditable> with a click, but the <div> does not get focus with this, that's the reason of the timeout, but I don't know why it fails on Android.

Flags: needinfo?(masayuki)

My job was here: https://treeherder.mozilla.org/jobs?repo=try&revision=89f135fd40c23a5d15fef7dda70ba859f0041d1f

The patch includes a fix to dump the reftest failure results even in Android.

The failure of bug956530-1.html could be caused by failing to click the <input> element if so, it's same as bug1097242-1.html's failure.

Does apz.zoom-to-focused-input.enabled=false help this issue?

input-password-RTL-input seems to be password mask issue.

All of them are still disabled for some test failures. There are 3 patterns
failures:

  1. Tests with <input type="password"> assumes that last input character is
    masked immediately.
  2. Tests with synthesizing mouse button events in editable element
  3. Test with DnD

The first case can be fixed with disabling echoing last input character by the
pref.

The second case can be fixed with disabling "zoom to editable element" by the
pref.

The last case cannot be fixed, therefore I disable it on Android.

Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Attachment #9255181 - Attachment description: Bug 1355842 - Re-enable layout/base/tests/test_reftests_with_caret.html on Android → Bug 1355842 - Re-enable layout/base/tests/test_reftests_with_caret.html on Android r=emilio!
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/ba22a155be2e Re-enable layout/base/tests/test_reftests_with_caret.html on Android r=geckoview-reviewers,emilio,m_kato
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: