175920, Null window references are not in the content area.

r=bugs4hj@netscape.net
sr=bryner@netscape.com
a=roc+moz@cs.cmu.edu
This commit is contained in:
caillon%returnzero.com 2006-07-29 05:41:25 +00:00
parent 5600776c4c
commit 5bbf5e01e0

View File

@ -42,6 +42,9 @@
**/
function isContentFrame(aFocusedWindow)
{
if (!aFocusedWindow)
return false;
var focusedTop = Components.lookupMethod(aFocusedWindow, 'top')
.call(aFocusedWindow);