We create the nsSOAPEncodingRegistyr object mRegistry in the nsSOAPEncoding constructor using new. Since we can't return failure from the constructor that call needs to be moved into an Init() method.
Hmm, good point. Could we hook in to the JS constructor for this object and call Init() from there, or do we use a generic one?
Ray and I had a long talk about this. I then investigated with dougt and dbradley and verified that do_CreateInstance gets called when you create an XPCOM object in JS (like we are doing here). So it looks like we will be able to make this change with no impact on script writers, or any existing scripts calling SOAP stuff.
This is going to be big and scary enough that I don't see it landing in 1.4f.
Target Milestone: --- → mozilla1.5alpha
Assignee: mozilla → nobody
Status: ASSIGNED → NEW
QA Contact: ashshbhatt → web-services
We dropped SOAP.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.