Closed Bug 1729825 Opened 4 years ago Closed 4 years ago

Email address is not auto-filled on aliexpress.com

Categories

(Toolkit :: Password Manager: Site Compatibility, defect, P1)

Firefox 92
Desktop
All
defect

Tracking

()

RESOLVED FIXED
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- fixed
firefox92 --- fixed
firefox93 --- fixed
firefox94 --- fixed

People

(Reporter: ksenia, Assigned: dimi)

References

(Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

This was reported in https://github.com/webcompat/web-bugs/issues/85600

To reproduce:

  1. Open https://www.aliexpress.com/, hover on "Account" menu element and click on "Sign in" (or Register to create an account)
  2. Once prompted, save email and password
  3. Click on "Sign out" under the "Account", which should redirect back to the main page
  4. Attempt to login again

Expected:
Email is prefilled

Actual:
Email field is empty

This appears to be a regression:

Was this integration build good, bad, or broken? (type 'good', 'bad', 'skip', 'retry', 'back' or 'exit' and press Enter): good
240:58.82 INFO: Narrowed integration regression window from [4c48537b, 71ef95dc] (3 builds) to [5494e55d, 71ef95dc] (2 builds) (~1 steps left)
240:58.82 INFO: No more integration revisions, bisection finished.
240:58.82 INFO: Last good revision: 5494e55dcb1b8da26f5cf83a6fd78be22381e22a
240:58.82 INFO: First bad revision: 71ef95dc36a89dd2563c570b36eb7e94ffede541
240:58.82 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=5494e55dcb1b8da26f5cf83a6fd78be22381e22a&tochange=71ef95dc36a89dd2563c570b36eb7e94ffede541

Hi Dimi, could you please take a look?

Flags: needinfo?(dlee)
OS: Unspecified → All
Hardware: Unspecified → Desktop
Version: unspecified → Firefox 92

In Bug 1690865, we look for username/email keyword in a form to locate the username field instead of just using the previous <input> of the password field.
In www.aliexpress.com, the password field doesn't have an associated form, so we use the "rootElement" of the password field as its "form" (so it is the root docuemnt in this case). However, the document also has another invisible field with an email keyword, so the username searching algorithm picks the invisible field as the username field.

The markup of the invisible field:

<input class="alert-subscribe-input" data-role="input" placeholder="Please enter your email" type="text">

I guess the right solution for this bug is not filling data to an invisible field. Although I think this is something we should do, we hesitated to do it because visibility check is expensive. In Bug 1681985, I see the opportunity to have a faster visibility check, I'll do more test to compare the performance between :dthayer's c++ IsVisible implementation and js implementation (ex. IsVisible in fathom).

If we think we should deal with this issue ASAP, then I'll suggest we use site recipe to workaround first.

Component: Password Manager → Password Manager: Site Compatibility
Flags: needinfo?(dlee)

Changing severity to S3 because the website is still able to be used.

Severity: -- → S3
Priority: -- → P1
See Also: → 1247245
Assignee: nobody → dlee
Status: NEW → ASSIGNED

This is fixed after adding aliexpress to site recipe.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: