Closed Bug 1018337 Opened 11 years ago Closed 11 years ago

page title for neterror pages is used for the undo close tab super toast

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox31 unaffected, firefox32 verified, fennec32+)

VERIFIED FIXED
Firefox 32
Tracking Status
firefox31 --- unaffected
firefox32 --- verified
fennec 32+ ---

People

(Reporter: kbrosnan, Assigned: Margaret)

References

Details

1) Load http://foo.mozilla.org or other non-existent page 2) Swipe or press the close button for the tab 3) super toast saying "Closed Problem loading page | Undo" Similar issues around invalid certificates as well. https://cacert.org for a testcase. Maybe we should use the url or domain?
Using the URL sounds like a good idea. wesj, is there a way for us to just generically know if a page is an error page?
Flags: needinfo?(wjohnston)
Because someone will ask, Chrome uses the URL on errors too
Assignee: nobody → margaret.leibovic
In bug 1018661, I'm changing this undo close tab toast to use the title/url we store in session store, rather than the one in the active browser. So, the solution to this bug would be to not store net error titles in session store, which is probably an overall win anyway, so they won't show up in the "Recent Tabs" panel I'm working on in bug 1004850.
(In reply to :Margaret Leibovic from comment #3) > So, the solution to this bug would be to not store net error titles in > session store, which is probably an overall win anyway, so they won't show > up in the "Recent Tabs" panel I'm working on in bug 1004850. Actually, it looks like we already do this. So this bug should be fixed when bug 1018661 lands.
Java knows about error pages using errorType: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/Tab.java#306 javascript seems to know using document.documentURI
Flags: needinfo?(wjohnston)
Luckily we don't need to worry about this, since session store gets its session history from docshell, and that doesn't save any error page title. So this will automatically work once bug 1018661 lands.
This should be fixed by bug 1018661.
Status: NEW → RESOLVED
Closed: 11 years ago
Depends on: 1018661
Resolution: --- → FIXED
tracking-fennec: ? → 32+
Target Milestone: --- → Firefox 32
Verified as fixed in build 32.0a1 (2014-06-06) Device: Asus Transformer TF101 (Android 4.0.3)
Status: RESOLVED → VERIFIED
I don't see the url just a notice that says closed tab.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
That's an expected change made in bug 1020730. The bug here is about the fact that we showed the error page title, which we still aren't doing, so this bug is still fixed.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Verified then. It was not clear from the comments that we were not going to use the URL or domain suggestion.
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.