зеркало из https://github.com/mozilla/pjs.git
Ensure that accesses to implicit XPCNativeWrappers are actually legal. bug 384750, r+sr=jst
This commit is contained in:
Родитель
45b29da1ec
Коммит
89cf796d03
|
@ -238,7 +238,7 @@ EnsureLegalActivity(JSContext *cx, JSObject *obj)
|
|||
}
|
||||
|
||||
// Otherwise, we're looking at a non-system file with a handle on an
|
||||
// implcit wrapper. This is a bug! Deny access.
|
||||
// implicit wrapper. This is a bug! Deny access.
|
||||
return ThrowException(NS_ERROR_XPC_SECURITY_MANAGER_VETO, cx);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче