mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
JavaScript Tests - fix window detection in test for bug 367121
This commit is contained in:
parent
3061c98928
commit
333b6501a8
@ -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