Closed
Bug 261107
Opened 22 years ago
Closed 16 years ago
Exception [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" thrown from function anonymous(aWebProgress=XPComponent:{15}, aRequest=null:null, aLocation=XPComponent:{12}) in <chrome://navigator/content/nsBrowserStatusHandler.js> line 340.
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: timeless, Assigned: timeless)
References
(
URL
)
Details
Attachments
(1 file)
|
779 bytes,
patch
|
darin.moz
:
superreview-
|
Details | Diff | Splinter Review |
Exception ``[Exception... "Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"
location: "JS frame :: chrome://navigator/content/nsBrowserStatusHandler.js ::
anonymous :: line 340" data: no]'' thrown from function
anonymous(aWebProgress=XPComponent:{15}, aRequest=null:null,
aLocation=XPComponent:{12}) in
<chrome://navigator/content/nsBrowserStatusHandler.js> line 340.
Stopped for thrown exception.
#0: function anonymous(aWebProgress=XPComponent:{15}, aRequest=null:null,
aLocation=XPComponent:{12}) in
<chrome://navigator/content/nsBrowserStatusHandler.js> line 340
338: var hostPort = "";
339: try {
340: hostPort = locationURI.hostPort;
341: }
342: catch(ex) { }
Attachment #159801 -
Flags: superreview?(darin)
Attachment #159801 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 2•22 years ago
|
||
what's wrong with the try catch logic? how come this generated a visible
exception if caught? or are you using some special tool or option that shows
you handled exceptions? is it that locationURI is null? it should be a nsIURI
already. if it is not, then that is perhaps indicative of some other problem.
darin@meer.net: venkman shows you exceptions before they're caught.
the problem is that exceptions are expensive and they are also irritating when
you are trying to debug something else.
Comment 4•22 years ago
|
||
timeless: the patch does not look like it will help any.
if you were to use nsIURL rather than nsIURI (which is, I think, your intent),
it would be wrong, since an uri object can have a useful hostPort w/o
implementing nsIURL, even though we currently may have no such implementation in
mozilla.
Comment 5•22 years ago
|
||
Comment on attachment 159801 [details] [diff] [review]
only look for hostPort if the object implements nsIURI
minusing to get timeless's attention...
you only answered part of my question: "is it that locationURI is null?"
and what of biesi's question?
Attachment #159801 -
Flags: superreview?(darin) → superreview-
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
Summary: data: no]'' thrown from function anonymous(aWebProgress=XPComponent:{15}, aRequest=null:null, aLocation=XPComponent:{12}) in <chrome://navigator/content/nsBrowserStatusHandler.js> line 340. Exception ``[Exception... "Component returned failure code: 0x800… → Exception [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" thrown from function anonymous(aWebProgress=XPComponent:{15}, aRequest=null:null, aLocation=XPComponent:{12}) in <chrome://navigator/content/nsBrowserStatusHandler.js> line 340.
Comment 6•17 years ago
|
||
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
Updated•16 years ago
|
Attachment #159801 -
Flags: review?(neil)
Comment 7•16 years ago
|
||
I can't find any "hostPort" in nsBrowserStatusHandler.js any more.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•