16

No browser.search.region pref on Android

 2 years ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1747096
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Closed Bug 1747096 Opened 1 month ago Closed 28 days ago

No browser.search.region pref on Android

Categories

(Toolkit :: Form Autofill, defect)

Toolkit ▾
Form Autofill ▾

Unspecified

Android

Tracking

(bug RESOLVED as FIXED)

RESOLVED FIXED

97 Branch

Tracking Status firefox97 --- fixed

People

(Reporter: sgalich, Assigned: sgalich)

References

Details

This will affect our logic when we decide if credit card or address autofill will work on the device or not.

Severity: -- → S2

Currently, we cannot show credit card autofill in Fenix Nightly because browser.search.region is not set on Nightly and also confirmed on Beta. This automatically returns false when trying to determine whether or not autofill is supported since in https://searchfox.org/mozilla-central/rev/b605f01915c5704a55e9f485101b7be7d20a55df/toolkit/components/formautofill/FormAutofill.jsm#93. Regression caused from Bug 1745248.

I have confirmed that manually setting browser.search.region through about:config will fix the issue

  1. Go to about:config and confirm there’s no browser.search.region
  2. Add a credit card in the settings.
  3. Navigate to https://checkout.stripe.dev/preview
  4. Confirm no “Select credit card” dialog when selecting the card number input
  5. Add browser.search.region entry with US
  6. Close and restart Nightly
  7. Navigate to https://checkout.stripe.dev/preview
  8. Confirm “Select credit card” dialog shows when selecting the card number input
Assignee: nobody → sgalich
Attachment #9256566 - Attachment description: Bug 1747096 - No browser.search.region pref on Android r=gl!,dimi? → Bug 1747096 - No browser.search.region pref on Android r=gl!,dlee?
See Also: → 1747284
Status: NEW → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in before you can comment on or make changes to this bug.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK