createInstanace and getService can create wrappers around wrappers

RESOLVED FIXED

Status

()

defect
P3
normal
RESOLVED FIXED
20 years ago
20 years ago

People

(Reporter: jband_mozilla, Assigned: jband_mozilla)

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

These methods in xpcjsid use nsIXPConnect::WrapNative rather than the XPCConvert
code. For JS components this ends up making a wrappedNative around a wrappedJS.
This is inconsistent.

It may be that we should expose the XPCConvert routines in some safe way for use
outside of xpconnect.

There is still an open question about how JS components *ought* to be exposed to
JS code.
Status: NEW → ASSIGNED
fix checked in. This involved changing the nsIXPConnect methods "wrapNative" and 
"wrapJS" to always route through the code in xpcconvert that deals with 
previously wrappped and DOM objects
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.