Closed
Bug 128560
Opened 22 years ago
Closed 22 years ago
Fail when Async Proxy methods are passed out or in-out params
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.0
People
(Reporter: nisheeth_mozilla, Assigned: dougt)
References
Details
(Keywords: topembed+)
Attachments
(1 file)
2.01 KB,
patch
|
jband_mozilla
:
review+
rpotts
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
Currently, we don't check method invocations on async proxy objects to see whether out or in-out parameters are being passed. Since such parameters have indeterminate values in the async case, we want to return an explicit error when such parameters are passed to methods through the async proxy.
Reporter | ||
Updated•22 years ago
|
Keywords: mozilla1.0
Assignee | ||
Comment 1•22 years ago
|
||
During converstion from a mini variant to a full variant, we check to see if the paramater is a dipper. If it is, we fail. This will cause the Async call to return an error code and NOT post an event.
Assignee | ||
Updated•22 years ago
|
Severity: normal → critical
Target Milestone: --- → mozilla1.0
Comment 2•22 years ago
|
||
Moving Netscape owned 0.9.9 and 1.0 bugs that don't have an nsbeta1, nsbeta1+, topembed, topembed+, Mozilla0.9.9+ or Mozilla1.0+ keyword. Please send any questions or feedback about this to adt@netscape.com. You can search for "Moving bugs not scheduled for a project" to quickly delete this bugmail.
Target Milestone: mozilla1.0 → mozilla1.2
Assignee | ||
Comment 3•22 years ago
|
||
ugh. moving back to moz1.0 tm.
Comment 4•22 years ago
|
||
Comment on attachment 72272 [details] [diff] [review] Fail if we detect a dipper in an async proxy. sr=rpotts@netscape.com... after changing the NS_ERROR_FAILURE to a more 'proxy specific' failure code. (as dougt and i discussed)
Attachment #72272 -
Flags: superreview+
Comment 5•22 years ago
|
||
Comment on attachment 72272 [details] [diff] [review] Fail if we detect a dipper in an async proxy. >+ if (mProxyType & PROXY_ASYNC && paramInfo.IsDipper()) Maybe I'm a wimp, but I'd rather see: if ((mProxyType & PROXY_ASYNC) && paramInfo.IsDipper())
Attachment #72272 -
Flags: review+
Assignee | ||
Comment 6•22 years ago
|
||
both suggestions added. thanks.
Comment 7•22 years ago
|
||
Comment on attachment 72272 [details] [diff] [review] Fail if we detect a dipper in an async proxy. a=asa (on behalf of drivers) for checkin to the 1.0 trunk
Attachment #72272 -
Flags: approval+
Assignee | ||
Comment 8•22 years ago
|
||
Checking in src/nsProxyEvent.cpp; /cvsroot/mozilla/xpcom/proxy/src/nsProxyEvent.cpp,v <-- nsProxyEvent.cpp new revision: 1.70; previous revision: 1.69 done Fix checked into trunk. Nisheeth, does this also need to land on any branch??
Assignee | ||
Comment 9•22 years ago
|
||
Looking at 125466, I do not think that this is meant for .99. Marking fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•