Closed
Bug 706644
Opened 9 years ago
Closed 9 years ago
Going back from about:home still displays about:home
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 fixed, fennec11+)
VERIFIED
FIXED
People
(Reporter: steffen.wilberg, Assigned: mfinkle)
References
Details
Attachments
(1 file)
5.37 KB,
patch
|
blassey
:
review+
|
Details | Diff | Splinter Review |
Going back from about:home updates the location bar and session history, but doesn't display the content of the page loaded before about:home. 1. Open www.mozilla.org in a new tab. 2. Click the url bar, open about:home. 3. Press the back key. Expected result: back to www.mozilla.org Actual result: www.mozilla.org is displayed in the url bar, but about:home in the content. 4. Click the url bar, open bugzilla.mozilla.org. 5. Press the back key. Result: You're back on www.mozilla.org from step 1. So after step 3, we were indeed back on www.mozilla.org, as the url bar suggested, and it just didn't display the content of it.
Updated•9 years ago
|
Assignee: nobody → lucasr.at.mozilla
Assignee | ||
Updated•9 years ago
|
Assignee: lucasr.at.mozilla → mark.finkle
Priority: -- → P2
Assignee | ||
Comment 1•9 years ago
|
||
The problem here was that hideAboutHome was not being called when going back from about:home to the previous page in the session history. So I changed the code to use onLocationChange (handleLocationChange) as the place to show and hide the native about:home page. locationChange is always fired, even when loading from session history. So we check to see if we are loading into the active tab and we show if about:home and hide otherwise. Doing the show here also allows us to completely remove the "AboutHome:Show" message and code from aboutHome.xhtml I tested this patch: * load about:home, load google.com, load about:home (it showed and hid correctly) * After loading the above, I went back, back and forward, forward (it showed and hid correctly) * With an about:home open in a tab, I then added a new tab with google.com (it hid correctly) * I then switched back to the about:home tab (it showed correctly)
Attachment #578492 -
Flags: review?(blassey.bugs)
Updated•9 years ago
|
Attachment #578492 -
Flags: review?(blassey.bugs) → review+
Assignee | ||
Comment 2•9 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/c323962bf775
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 4•9 years ago
|
||
Retested bug with: Mozilla/5.0 (Android; Linux arm7l; rv:11.0a1) Gecko/20111205 Firefox/11.0a1 Fennec/11.0a1 Device: HTC Desire Z (Android 2.3) Back from "about:home" is working properly. Verifying bug.
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
tracking-fennec: --- → 11+
Updated•9 years ago
|
status-firefox11:
--- → fixed
Updated•2 months 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
•