apply r5447 to auto-tests

git-svn-id: http://svn.openlayers.org/trunk/openlayers@5449 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-12-17 01:30:16 +00:00
parent 430906ff22
commit 2f1c17446b

View File

@@ -934,6 +934,8 @@ Test.AnotherWay._test_page_onload=function()
}
}else { // otherwise (not IE) it ought to work like this
for( var i in Test.AnotherWay._g_test_iframe) {
// Hack to prevent failure in FF3.0b1
if (i == "innerWidth" || i == "innerHeight") { continue; }
if( typeof( Test.AnotherWay._g_test_iframe[i] )=='function' ) {
if( i.substring( 0, 4 )=="test" ) {
test_page.test_objects.push( new Test.AnotherWay._test_object_t( i ) );