Closed Bug 781852 Opened 13 years ago Closed 5 years ago

Remove getTitle from Tab

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: wesj, Unassigned, NeedInfo)

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Tabs has a getTitle method. margaret noticed that we never use because they also have a getDisplayTitle method that's better (returns the url if there is no page title). In fact, its caused crashes for me when I tried to use it on accident for launcher shortcuts. Probably better not to keep around if we don't need it.
Attachment #650920 - Attachment is patch: true
Attachment #650920 - Flags: review?(margaret.leibovic)
So we don't want a way to get the <title> of a document, if one is given?
Comment on attachment 650920 [details] [diff] [review] Patch I thought we already removed this at one point, and I added it back in bug 730039. Anyway, we need it for insertLocalTabs in TabsAccessor, so we can't take this patch. Looking at m-c, I think this patch did already land at one point anyway; look at addBookmark: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/Tab.java#389
Attachment #650920 - Flags: review?(margaret.leibovic) → review-
Is this bug still active?
Flags: needinfo?(wjohnston2000)
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: