Closed
Bug 300863
Opened 19 years ago
Closed 19 years ago
No history created for "unknown protocol" error page
Categories
(Core :: DOM: Navigation, defect, P1)
Core
DOM: Navigation
Tracking
()
VERIFIED
FIXED
mozilla1.8beta4
People
(Reporter: minghong, Assigned: Biesinger)
References
()
Details
Attachments
(1 file, 2 obsolete files)
3.25 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050712 Firefox/1.0+ URL history is not created for XUL error pages, making it impossible to go back to the previous page when the link followed has error. Reproducible: Always Steps to Reproduce: 1. Visit the URL provided in a new tab (to avoid the previous history that may confuse you) 2. Click on one of the links 3. Look at the toolbar Actual Results: Backward button is grayed out. Expected Results: Allow me to go backward since I didn't have klik installed. Workaround: reload the error page. It will bring you back to the "previous page".
Reporter | ||
Updated•19 years ago
|
Blocks: blazinglyfastback
Comment 1•19 years ago
|
||
Confirmed, but this happens without the bfcache too, so this doesn't block bug 274784. Nominating 1.8b4 since XUL error pages are now enabled by default and the changes required will probably need testing. Nominating 1.1 because this will be a fairly visible bug.
No longer blocks: blazinglyfastback
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.8b4?
Flags: blocking-aviary1.1?
Comment 2•19 years ago
|
||
My history is full of "Page Load Error"'s including the addresses. When I load a series of existing and non-existing pages I can navigate through them back and forward. The existing pages are pulled from the cache but the non-existing pages are requested once more. So I assume I misunderstand the bug. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050714 Firefox/1.0+ ID:2005071422
Comment 3•19 years ago
|
||
Well, I tried the same again with the very latest build and a shining new profile, but exactly the same result. When I reload the error page it reloads the address that caused the error page. Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050715 Firefox/1.0+ ID:2005071501
Assignee | ||
Comment 4•19 years ago
|
||
hm... seems to only happen with "unknown protocol"?
Assignee: nobody → cbiesinger
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → mozilla1.8beta4
Reporter | ||
Comment 5•19 years ago
|
||
Christian, you're right. Changed the summary.
Summary: No history created for error pages → No history created for "unknown protocol" error page
Assignee | ||
Comment 6•19 years ago
|
||
urg, I forgot that only newURI worked for unknown protocols, not newChannel...
Assignee | ||
Comment 7•19 years ago
|
||
this almost works, except that the urlbar is wrong in some cases
Updated•19 years ago
|
Flags: blocking1.8b4?
Flags: blocking1.8b4+
Flags: blocking-aviary1.5?
Assignee | ||
Comment 8•19 years ago
|
||
Comment on attachment 189617 [details] [diff] [review] patch v0.5 ok, the urlbar issue will need a frontend patch, requesting review on this one in the meantime
Attachment #189617 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 9•19 years ago
|
||
OK, I think this is correct. If a user selects something from the dropdown, we should use that as value, and not overwrite it with the part that the user typed (nsBrowserStatusHandler would overwrite it with what they typed). this is an issue because there is no onStateChange for this case.
Attachment #190251 -
Flags: superreview?(jag)
Attachment #190251 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Comment 10•19 years ago
|
||
So this fires onLocationChange and such without a channel? Isn't that a violation of the nsIWebProgressListener API? Do we need to just synthesize a channel here?
Assignee | ||
Comment 11•19 years ago
|
||
http://lxr.mozilla.org/seamonkey/source/uriloader/base/nsIWebProgressListener.idl#305 sounds like this won't be a violation... and there is no "and such", only onLocationChange is fired.
Comment 12•19 years ago
|
||
Comment on attachment 189617 [details] [diff] [review] patch v0.5 Ah, ok. If all we fire is OnLocationChange, then this is fine.
Attachment #189617 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Updated•19 years ago
|
Attachment #189617 -
Flags: superreview?(darin)
Comment 13•19 years ago
|
||
Comment on attachment 189617 [details] [diff] [review] patch v0.5 I think we should rename OnLoadingSite to OnNewChannel ;-) sr=darin
Attachment #189617 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Comment 14•19 years ago
|
||
Comment on attachment 189617 [details] [diff] [review] patch v0.5 makes error pages behave a lot better with shistory in the case of unknown protocol errors.
Attachment #189617 -
Flags: approval1.8b4?
Assignee | ||
Comment 15•19 years ago
|
||
Comment on attachment 190251 [details] [diff] [review] xpfe patch this patch is actually pointless given bug 286811
Attachment #190251 -
Attachment is obsolete: true
Attachment #190251 -
Flags: superreview?(jag)
Attachment #190251 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•19 years ago
|
Attachment #189617 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 16•19 years ago
|
||
Attachment #189617 -
Attachment is obsolete: true
Assignee | ||
Comment 17•19 years ago
|
||
Checking in docshell/base/nsDocShell.cpp; /cvsroot/mozilla/docshell/base/nsDocShell.cpp,v <-- nsDocShell.cpp new revision: 1.706; previous revision: 1.705 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•