Closed Bug 305659 Opened 19 years ago Closed 19 years ago

Typo in nsBrowserContentHandler.js

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox1.5

People

(Reporter: Waldo, Assigned: Waldo)

References

()

Details

(Keywords: fixed1.8)

Attachments

(1 file)

The QueryInterface method of the module in nsBrowserContentHandler.js should
check if the passed IID is nsISupports or nsIModule, but instead it checks if
the passed IID is *both* nsISupports and nsIModule, which clearly will never happen.
Attached patch PatchSplinter Review
Attachment #193600 - Flags: review?(benjamin)
Version: 1.5 Branch → unspecified
Comment on attachment 193600 [details] [diff] [review]
Patch

That's pretty impressive... how does this actually work?
Attachment #193600 - Flags: review?(benjamin) → review+
(In reply to comment #2)
> (From update of attachment 193600 [details] [diff] [review] [edit])
> That's pretty impressive... how does this actually work?

Presumably no one's ever attempting to QI the module to anything, and they're
just assuming it implements the nsIModule interface.  Anyway, patch checked in,
marking FIXED...
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox1.6-
Comment on attachment 193600 [details] [diff] [review]
Patch

It's been suggested that I ask for branch approval for this patch.  It's
low-risk and fixes behavior that's clearly broken, so it's definitely
branch-quality material.
Attachment #193600 - Flags: approval1.8b4?
Flags: blocking1.8b4+
Attachment #193600 - Flags: approval1.8b4? → approval1.8b4+
Patch checked in on 1.8 branch.
Keywords: fixed1.8
Target Milestone: Firefox 2 → Firefox 2 alpha1
Target Milestone: Firefox 2 alpha1 → Firefox 2
Target Milestone: Firefox 2 → Firefox1.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: