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:
@@ -934,6 +934,8 @@ Test.AnotherWay._test_page_onload=function()
|
|||||||
}
|
}
|
||||||
}else { // otherwise (not IE) it ought to work like this
|
}else { // otherwise (not IE) it ought to work like this
|
||||||
for( var i in Test.AnotherWay._g_test_iframe) {
|
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( typeof( Test.AnotherWay._g_test_iframe[i] )=='function' ) {
|
||||||
if( i.substring( 0, 4 )=="test" ) {
|
if( i.substring( 0, 4 )=="test" ) {
|
||||||
test_page.test_objects.push( new Test.AnotherWay._test_object_t( i ) );
|
test_page.test_objects.push( new Test.AnotherWay._test_object_t( i ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user