Closed Bug 526686 Opened 16 years ago Closed 16 years ago

Sprinkle some QueryInterface methods around exposed objects

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.3a1

People

(Reporter: Waldo, Assigned: Waldo)

Details

Attachments

(1 file)

It would have been helpful for sicking, for example, if Response.prototype had one.
This adds QI methods to all the objects httpd.js exposes. I also added a little bit of testing to make sure QI methods are present and respond when prodded with the most specific XPCOM interface. Last, I took a step I've meant to do for a long time and renamed nsIHttpRequestMetadata to nsIHttpRequest, for symmetry with nsIHttpResponse, since I had to add more users of the request interface. (There's one large hunk rearranging ServerIdentity.prototype, but it contains no substantive changes -- the diff algorithm just isn't recognizing that a small hunk is being moved rather than a large hunk.) I don't think it's really worth anyone's time to review these changes, the majority of which are straightforward and uncomplicated, so I'll probably land this sometime soon. There are a couple other changes elsewhere with which this might conflict (I haven't closely examined those patches so I may be wrong), so I don't plan to land this until any overlaps are resolved.
Assignee: nobody → jwalden+bmo
Status: NEW → ASSIGNED
Turns out I was wrong, and there shouldn't be any conflicts. Pushed to m-c: http://hg.mozilla.org/mozilla-central/rev/e7e60de2a842
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Component: httpd.js → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: