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)
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?
| Assignee | ||
Comment 1•11 years ago
|
||
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)
Comment 2•11 years ago
|
||
Because someone will ask, Chrome uses the URL on errors too
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → margaret.leibovic
| Assignee | ||
Comment 3•11 years ago
|
||
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.
| Assignee | ||
Comment 4•11 years ago
|
||
(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.
Comment 5•11 years ago
|
||
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)
Comment 6•11 years ago
|
||
We used to send the documentURI.spec to Java in the Content:LocationChanged message:
http://hg.mozilla.org/mozilla-central/diff/ceffbd680e2c/mobile/android/chrome/content/browser.js
But we don't anymore
https://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#4053
| Assignee | ||
Comment 7•11 years ago
|
||
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.
| Assignee | ||
Comment 8•11 years ago
|
||
This should be fixed by bug 1018661.
Updated•11 years ago
|
tracking-fennec: ? → 32+
Updated•11 years ago
|
Target Milestone: --- → Firefox 32
Comment 9•11 years ago
|
||
Verified as fixed in build 32.0a1 (2014-06-06)
Device: Asus Transformer TF101 (Android 4.0.3)
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 10•11 years ago
|
||
I don't see the url just a notice that says closed tab.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 11•11 years ago
|
||
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 ago → 11 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 12•11 years ago
|
||
Verified then. It was not clear from the comments that we were not going to use the URL or domain suggestion.
Status: RESOLVED → VERIFIED
Updated•4 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
•