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 3061c98928
commit 333b6501a8

View File

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