Closed Bug 1246330 Opened 9 years ago Closed 9 years ago

Incorrect domain highlight

Categories

(Firefox :: Address Bar, defect)

43 Branch
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox44 --- wontfix
firefox45 - unaffected
firefox46 --- unaffected
firefox47 --- unaffected

People

(Reporter: toni.mozilla, Assigned: toni.mozilla)

References

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0 Build ID: 20160105164030 Steps to reproduce: 1. Enter following address to the address bar: https://www.google.fi#asd 2. Do not enter to the site. Change cursor to the another place eg. click search bar Actual results: The string 'le.fi#asd' is boldfaced. Expected results: The string google.fi should be boldfaced.
Here is a path to the boldface regexp: /mozilla-central/blob/master/browser/base/content/urlbarBindings.xml .. which is matchedURL = value.match(/^((?:[a-z]+:\/\/)?(?:[^\/]+@)?)(.+?)(?::\d+)?(?:\/|$)/);
Severity: normal → minor
Component: Untriaged → Location Bar
OS: Unspecified → All
Hardware: Unspecified → All
Gijs, do you know if we're expected to support that sytnax? looks like the fixup corrects it properly once confirmed
Flags: needinfo?(gijskruitbosch+bugs)
(In reply to Marco Bonardo [::mak] from comment #3) > Gijs, do you know if we're expected to support that sytnax? looks like the > fixup corrects it properly once confirmed It's not hard to improve that regex, no, so I believe we should do that.
Flags: needinfo?(gijskruitbosch+bugs)
Toni, would you mind making your suggestion in form of an actual patch we can review?
Flags: needinfo?(toni.huttunen)
Flags: needinfo?(toni.huttunen)
Comment on attachment 8716628 [details] [diff] [review] firefox-patch.txt let's keep this on the radar. Gijs if you come to this review before me, feel free to steal it.
Attachment #8716628 - Flags: review?(mak77)
Assignee: nobody → toni.huttunen
Status: NEW → ASSIGNED
Depends on: 1199601
Comment on attachment 8716628 [details] [diff] [review] firefox-patch.txt putting this on hold while we handle the dependency bug.
Attachment #8716628 - Flags: review?(mak77)
Marco, are you planning to request an uplift to beta soon? Thanks
Flags: needinfo?(mak77)
Summary: Incorrect domain hilight → Incorrect domain highlight
(In reply to Sylvestre Ledru [:sylvestre] from comment #9) > Marco, are you planning to request an uplift to beta soon? Thanks This hasn't landed on Nightly yet. Please also see bug 1199601.
Flags: needinfo?(mak77)
I think this is now fixed by bug 1199601. Toni, can you verify this on current nightly or beta (7 or later)? Thank you!
Flags: needinfo?(toni.huttunen)
It works! @ beta45.0b8
Flags: needinfo?(toni.huttunen)
(In reply to Toni Huttunen from comment #12) > It works! @ beta45.0b8 Great, thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: