mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 667388 - Make the chrome-to-content Xray wrapper derive CrossCompartmentWrapper. r=mrbkap
The current situation seems incorrect, especially given the behavior of CrossOriginWrapper and XrayProxy. Currently it doesn't matter, but it probably will in the future.
This commit is contained in:
parent
4a0cc78ae2
commit
563b97de8f
@ -318,7 +318,7 @@ WrapperFactory::Rewrap(JSContext *cx, JSObject *obj, JSObject *wrappedProto, JSO
|
||||
if (proxy) {
|
||||
wrapper = &XrayProxy::singleton;
|
||||
} else {
|
||||
typedef XrayWrapper<CrossCompartmentSecurityWrapper> Xray;
|
||||
typedef XrayWrapper<CrossCompartmentWrapper> Xray;
|
||||
usingXray = true;
|
||||
wrapper = &Xray::singleton;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user