Fixing orange due to fix for bug 390275.

This commit is contained in:
jst@mozilla.org 2007-08-09 16:53:23 -07:00
parent 350e5abb80
commit 407a3841df

View File

@ -6899,7 +6899,8 @@ nsGlobalWindow::SetTimeoutOrInterval(PRBool aIsInterval, PRInt32 *aReturn)
// inner (e.g. someone is calling setTimeout() on a reference to
// some other window).
if (callerInner->GetOuterWindow() == this) {
if (callerInner->GetOuterWindow() == this &&
callerInner->IsInnerWindow()) {
return callerInner->SetTimeoutOrInterval(aIsInterval, aReturn);
}