JavaScript Tests - fix window detection in test for bug 367121

This commit is contained in:
bclary@bclary.com 2008-02-08 12:51:08 -08:00
parent 68bdd59ba6
commit 78f303f067

View File

@ -91,4 +91,7 @@ function handleLoad()
jsTestDriverEnd();
}
window.onload = handleLoad;
if (typeof window != 'undefined')
{
window.onload = handleLoad;
}