Closed
Bug 803293
Opened 12 years ago
Closed 12 years ago
Remove some old code from BrowserApp
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: bnicholson, Assigned: bnicholson)
References
Details
Attachments
(1 file)
5.04 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Since we're stubbing the about:home tab now, we don't need the extra code to fake the tab by updating the tab title or calling showAboutHome() in initializeChrome(). This will be taken care of us when we get the SELECTED TabEvent. Doing this requires we call Tabs.registerOnTabsChangedListener() before initializeChrome() so it will get the tab events.
Attachment #672972 -
Flags: review?(mark.finkle)
Comment 1•12 years ago
|
||
Comment on attachment 672972 [details] [diff] [review] Remove some old code from BrowserApp >diff --git a/mobile/android/base/BrowserApp.java b/mobile/android/base/BrowserApp.java >+ case SELECTED: >+ if (Tabs.getInstance().isSelectedTab(tab)) { >+ if ("about:home".equals(tab.getURL())) > showAboutHome(); >- else >+ else > hideAboutHome(); >- maybeCancelFaviconLoad(tab); > } > break; >- case SELECTED: >- if ("about:home".equals(tab.getURL())) >- showAboutHome(); >- else >- hideAboutHome(); >- break; in the new code you put the showAboutHome/hideAboutHome block in an isSelectedTab check. Does that break anything?
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #1) > > in the new code you put the showAboutHome/hideAboutHome block in an > isSelectedTab check. Does that break anything? That change was only made for the SELECTED case, so that check should always evaluate to true.
Updated•12 years ago
|
Attachment #672972 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 3•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/8cab337969f3
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8cab337969f3
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•