Closed Bug 928671 Opened 10 years ago Closed 10 years ago

Respect browser.urlbar.trimURLs

Categories

(Firefox for Android Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 27

People

(Reporter: evilpie, Assigned: evilpie)

Details

Attachments

(1 file)

Attached patch trim-androidSplinter Review
Somebody on reddit was asking about this (http://www.reddit.com/r/firefox/comments/1osqyw/firefox_24_android_address_url_wonder_bar_we_they/) and it seemed to be quite easy to implement.
Attachment #819400 - Flags: review?(wjohnston)
Assignee: nobody → evilpies
Status: NEW → ASSIGNED
Comment on attachment 819400 [details] [diff] [review]
trim-android

Review of attachment 819400 [details] [diff] [review]:
-----------------------------------------------------------------

::: mobile/android/base/BrowserToolbar.java
@@ +238,5 @@
>                  });
>              }
>  
>              @Override
> +            public void prefValue(String pref, boolean value) {

If you're not going to explicitly check the pref, lets at least add a comment to both of these methods about what pref they're handling.

@@ +249,5 @@
> +                    @Override
> +                    public void run() {
> +                        updateTitle();
> +                    }
> +                });

Move this repeated code to a separate shared private method.
Attachment #819400 - Flags: review?(wjohnston) → review+
https://hg.mozilla.org/mozilla-central/rev/f9d56fbbdbd6
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
Status: RESOLVED → VERIFIED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.