Closed Bug 73640 Opened 23 years ago Closed 23 years ago

uriloader should support true weak references

Categories

(Core :: Networking, defect, P2)

x86
Windows 2000
defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: alecf, Assigned: alecf)

References

Details

(Whiteboard: fix in hand)

Attachments

(3 files)

I was trying to re-implement the browser's nsIURIContentListener (part of the
evil nsBrowserInstance) but I kept getting bit by the fact that
nsIURILoader::RegisterContentListener keeps a non-refcounted pointer to the
object passed in.. this doesn't play nicely with JS and results in a crash when
you read a mail message.
so, I fixed it and it's callers. patches forthcoming.
the current nsBrowserInstance already supports weak refs, so I didn't have to
change that. I will attach the C++->JS conversion in bug 46200.
Blocks: 46200
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: fix in hand
Target Milestone: --- → mozilla0.9
you and all your white space changes =)

sr=mscott
r=jag with the understanding that nsBrowserInstance should be changed if you
weren't ripping that out of it already (bug 46200)...
fix is in
marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: tever → bbaetz
VERIFIED with lxr
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: