Closed Bug 794520 Opened 12 years ago Closed 12 years ago

Replace string.contains with string.endsWith in formatValue

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 18

People

(Reporter: jaws, Assigned: jaws)

References

Details

Attachments

(1 file)

Attached patch Patch (deleted) — Splinter Review
From https://bugzilla.mozilla.org/show_bug.cgi?id=781588#c41, > Comment on attachment 663537 [details] [diff] [review] > Patch v6 > > >+ if (!domain.contains(baseDomain)) { > Should this be endsWith? I tested this out and the browser_urlHighlight.js test still passes.
Attachment #665032 - Flags: review?(felipc)
Attachment #665032 - Flags: review?(felipc) → review+
Component: Tabbed Browser → Location Bar
Flags: in-testsuite+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: