Closed Bug 1137051 Opened 9 years ago Closed 9 years ago

Don't show about-urls in the URL bar

Categories

(Firefox for iOS :: General, defect)

ARM
iOS 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fennec + ---

People

(Reporter: aaronmt, Assigned: wesj)

References

Details

Attachments

(1 file)

Perhaps it should continue to show 'Search or enter address' as a placeholder.
tracking-fennec: ? → -
Re-noming since this came up as a fix for bug 1123509, and that's tracking+.
tracking-fennec: - → ?
tracking-fennec: ? → +
Summary: Don't show about:home as selected text in the URL bar → Don't show about-urls in the URL bar
Assignee: nobody → wjohnston
This does a little strange dance of setting BrowserLocationView.url to nil if you set it to "about:home". I'm expecting that might be contentions :)
Attachment #8607940 - Flags: review?(bnicholson)
Comment on attachment 8607940 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/476

No argument here, makes sense to me. Might want to consider moving the about:home -> nil check outside of BrowserLocationView since that's more of an app detail than the URL bar responsibility, but not a big deal.

I'd double check your early return, though, as mentioned in the PR. I'm not sure didSet is recursive.
Attachment #8607940 - Flags: review?(bnicholson) → review+
Comment on attachment 8607940 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/476

I liked your idea about moving the about:home logic out of here enough that I just did it. Mind looking at a second commit?
Attachment #8607940 - Flags: review+ → review?(bnicholson)
Comment on attachment 8607940 [details] [review]
PR https://github.com/mozilla/firefox-ios/pull/476

Nice, I think I like this better too.
Attachment #8607940 - Flags: review?(bnicholson) → review+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: