Closed Bug 115318 Opened 23 years ago Closed 23 years ago

nsHTMLURIRefObject::GetNextURI returns wrong value when finished

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: akkzilla, Assigned: akkzilla)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The JS link checking code expects nsHTMLURIRefObject::GetNextURI to return
NS_ERROR_NOT_AVAILABLE when it has no more links, but that code apparently
didn't get checked in along with other fixes.  The sympton is this when running
Debug->Check Links:

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsIURIRefObject.GetNextURI]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)" 
location: "JS frame :: chrome://editor/content/ComposerCommands.js :: anonymous
:: line 1231"  data: no]
************************************************************

Patch coming, looking for review/sr.
Blocks: 108296
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
These changes went in along with the new dialog.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: