bug 580128 - Try to allow "XOWs" to see named frames.

This commit is contained in:
Andreas Gal 2010-10-10 15:41:30 -07:00
parent 1219a88f7e
commit 84f62c2607

View File

@ -6574,8 +6574,7 @@ nsWindowSH::NewResolve(nsIXPConnectWrappedNative *wrapper, JSContext *cx,
JSString *str = JSID_TO_STRING(id);
// Don't resolve named frames on native wrappers
if (!ObjectIsNativeWrapper(cx, obj)) {
{
nsCOMPtr<nsIDocShellTreeNode> dsn(do_QueryInterface(win->GetDocShell()));
PRInt32 count = 0;