Closed
Bug 199122
Opened 23 years ago
Closed 23 years ago
IDispatch logic should not depend on order of properties
Categories
(Core :: XPConnect, defect, P1)
Tracking
()
VERIFIED
FIXED
mozilla1.4alpha
People
(Reporter: dbradley, Assigned: dbradley)
References
Details
Attachments
(2 files)
|
24.06 KB,
application/octet-stream
|
Details | |
|
17.08 KB,
patch
|
adamlock
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
The IDispatch logic should not depend on the order that a property getter/setter
methods occur during enumerating the interface.
| Assignee | ||
Updated•23 years ago
|
| Assignee | ||
Comment 1•23 years ago
|
||
Moving back, will seek an a= when reviewed. IDispatch only changes, very low risk.
Target Milestone: mozilla1.4beta → mozilla1.4alpha
This is a test control with an odd IDL interface. The interface contains
parameterized parameters, and setters and getters which are seperated rather
than being defined together.
| Assignee | ||
Comment 3•23 years ago
|
||
*** Bug 199600 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 4•23 years ago
|
||
This patch actually addresses two problems. One is the property order. The
other is the parameterized property problem. The patch in bug 198668 had the
test for IsRetVal backwards, should be !IsRetVal. (Adam double check that but
it seems to be correct now). This was what was breaking in bug 199600.
There were two spots that needed to be fixed. One is the allocation of the
XPCDispInterface, as it needs to know how many unique entries there will be.
The other was the one filling out the actual member information.
I also took the liberty of cleaning up a few warnings. I took out the commented
out XPCDispParams::GetParamRef since it's not used.
| Assignee | ||
Updated•23 years ago
|
Attachment #118994 -
Flags: superreview?(alecf)
Attachment #118994 -
Flags: review?(adamlock)
Comment on attachment 118994 [details] [diff] [review]
Addresses the property method order issue
It looks okay in general (incl the parameterized fix). Have you had a chance to
run it over the sample control I provided? I just want to be sure that the
setter/getter order doesn't mean the getter funcdesc gets put in mFuncDesc by
mistake (i.e. via SetTypeInfo call).
If so r=adamlock
Attachment #118994 -
Flags: review?(adamlock) → review+
| Assignee | ||
Comment 6•23 years ago
|
||
Yes, it's working just fine.
Comment 7•23 years ago
|
||
Comment on attachment 118994 [details] [diff] [review]
Addresses the property method order issue
sr=alecf
nice liberal use of comments! :)
Comment 8•23 years ago
|
||
Comment on attachment 118994 [details] [diff] [review]
Addresses the property method order issue
sr=alecf
nice liberal use of comments! :)
Attachment #118994 -
Flags: superreview?(alecf) → superreview+
| Assignee | ||
Comment 9•23 years ago
|
||
Fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•