Closed
Bug 74801
Opened 23 years ago
Closed 23 years ago
nsWBContentListener should go away
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: jud, Assigned: jud)
References
Details
(Keywords: memory-footprint)
Attachments
(3 files)
5.65 KB,
patch
|
Details | Diff | Splinter Review | |
1.54 KB,
patch
|
Details | Diff | Splinter Review | |
1.52 KB,
patch
|
Details | Diff | Splinter Review |
Currently nsWebBrowser uses an intermediary nsIURIContentListener to hook up the embeddor w/ the underlying nsIURIContentListener chain. This layer is extraneous as the embeddor can be hooked directly up to the underlying nsIURIContentListener (currently nsDSContentListener). The existing nsWBContentListener is doing nothing more than fowarding the exact same calls that the underlying nsDSContentListener is forwarding. The existing nsWBContentListener was added due to a regression last summer and the regression has since been fixed.
Assignee | ||
Updated•23 years ago
|
Assignee | ||
Comment 1•23 years ago
|
||
Comment 4•23 years ago
|
||
Good. The WBURIContentListener is, in most methods that it impls, just dead wood. Except in IsPreferred(), where it actually does something it does the wrong thing (says it's not preferred for text/plain) r=ccarlen
Assignee | ||
Comment 5•23 years ago
|
||
fix is in. thanks all.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 6•23 years ago
|
||
There are some lingering bugs from this checkin.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•23 years ago
|
||
Comment 8•23 years ago
|
||
The call down to the docshell has to get a GetInterface, not a QueryInterface. Because of that the call can return nsnull so it doesn't require an assertion. In the case where the GetInterface() to the docshell returns null the setter will return NS_ERROR_FAILURE. Maybe it should return NS_ERROR_NO_INTERFACE?
Comment 9•23 years ago
|
||
sr=shaver
Assignee | ||
Comment 11•23 years ago
|
||
n, I like the NS_ERROR_FAILURE return. NO_INTERFACE in these methods, to me, is more info than the caller should see. *thanks* for finding this. r=valeski
Assignee | ||
Comment 12•23 years ago
|
||
I went ahead and checked this in. thanks blizzard.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Comment 13•23 years ago
|
||
No problem.
Comment 14•23 years ago
|
||
*** Bug 75101 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
Comment 16•23 years ago
|
||
no trace of nsWBContentListener or WBURIContentListener in lxr.mozilla.org.
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•