Closed Bug 1961829 Opened 6 months ago Closed 5 months ago

Incorrect coloration of non http URLs in Android URLRenderer when ColoredUrl ToolbarFeature is enabled

Categories

(Firefox for Android :: Toolbar, defect)

All
Android
defect

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: michel, Assigned: michel)

References

Details

Attachments

(1 file)

Steps to reproduce

  1. Apply the patch from https://phabricator.services.mozilla.com/D244509 to enable the ColoredUrl ToolbarFeature
  2. Navigate to about:mozilla or open a PDF file in Fenix
  3. Navigate to http://localhost/

Expected behavior

I'm not sure and feedback would be very appreciated.

content:// URIs should probably not be colored at all.

about:mozilla should either not be colored at all or have the URL primary (textPrimary) color.

localhost should have the URL primary (textPrimary) color and colorRegistrableDomain should color the entire domain if it can't infer the registrable domain (eTLD+1).

Actual behavior

about:mozilla, the entire content:// URI when opening a PDF file and localhost all have the URL secondary (textSecondary) color.

Device information

  • Firefox version: 139 with patch enabling feature
  • Android device model: Sony Xperia 5 V
  • Android OS version: 15

Any additional information?

The severity field is not set for this bug.
:royang, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(royang)
Severity: -- → S3
Flags: needinfo?(royang)
Pushed by tthibaud@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a5eb2ecdb616 Only color HTTP(S) URIs and fallback to coloring the host in Android toolbar URLRenderer. r=tthibaud,android-reviewers
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: