Closed
Bug 306833
Opened 19 years ago
Closed 11 years ago
update nsDocShell.cpp so that more errors can be "human readable"
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
WORKSFORME
Firefox 2
People
(Reporter: beltzner, Unassigned)
References
()
Details
Attachments
(1 file)
7.25 KB,
patch
|
Details | Diff | Splinter Review |
nsDocShell has a set of logic that diagnoses http and page load errors and turns them into either errors that are "human readable", meaning the URI and other data is passed along with the error type ... http://lxr.mozilla.org/mozilla/source/docshell/base/nsDocShell.cpp#2842 .. or errors that "require simple formatting", which only return the error type: http://lxr.mozilla.org/mozilla/source/docshell/base/nsDocShell.cpp#2907 The new netError pages (landed at the time of Gecko 1.8) could benefit from more "human readable" errors which can echo back the problem URI. This bug requests that the following error states be converted/moved to "human readable" errors: - deniedPortAccess - netReset - malformedURI - redirectLoop - unknownSocketType
Reporter | ||
Comment 1•19 years ago
|
||
For reference, see bug 306409 and bug 305998.
Whiteboard: late-l10n
Version: 1.5 Branch → Trunk
Updated•19 years ago
|
Assignee: nobody → bugs.mano
Whiteboard: late-l10n
Target Milestone: --- → Firefox1.6-
Comment 2•19 years ago
|
||
This is a proposal for the final handling. I added all mentioned errors to the human readable processing. I'm not really sure what string we should use for 'unknownSocketType'. Is scheme the correct one? Further I reordered the list of errors to find each of them a bit easier by name. I don't ask for review at this moment. I hope we could iterate to reach the final code.
Assignee: bugs.mano → hskupin
Status: NEW → ASSIGNED
Updated•15 years ago
|
Assignee: hskupin → nobody
Status: ASSIGNED → NEW
Comment 3•11 years ago
|
||
Being bold and resolving as WFM. If there are still bits which are unfixed, please reopen! :-)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•