mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
JavaScript Tests - fix window detection in test for bug 367121
This commit is contained in:
parent
68bdd59ba6
commit
78f303f067
@ -91,4 +91,7 @@ function handleLoad()
|
||||
jsTestDriverEnd();
|
||||
}
|
||||
|
||||
window.onload = handleLoad;
|
||||
if (typeof window != 'undefined')
|
||||
{
|
||||
window.onload = handleLoad;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user