Bug 411054, Audit IsNativeAnonymous()/GetBindingParent() uses, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246523 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -856,7 +856,7 @@ nsScriptSecurityManager::CheckPropertyAccessImpl(PRUint32 aAction,
|
||||
{
|
||||
// No access to anonymous content from the web! (bug 164086)
|
||||
nsIContent *content = static_cast<nsIContent*>(aObj);
|
||||
if (content->IsNativeAnonymous()) {
|
||||
if (content->IsInNativeAnonymousSubtree()) {
|
||||
rv = NS_ERROR_DOM_SECURITY_ERR;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user