OpenLayers OpenLayers

Changeset 5447

Show
Ignore:
Timestamp:
12/16/07 19:19:57 (1 year ago)
Author:
crschmidt
Message:

FF3.0b1 has a bug with testing innerWidth/innerHeight of frames. This will be fixed in later versions, but none are released yet.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/run-tests.html

    r4224 r5447  
    900900        }else { // otherwise (not IE) it ought to work like this 
    901901            for( var i in Test.AnotherWay._g_test_iframe) { 
    902                 if( typeof( Test.AnotherWay._g_test_iframe[i] )=='function' ) { 
     902                // Hack to prevent failure in FF3.0b1  
     903                if (i == "innerWidth" || i == "innerHeight") { continue; } 
     904                if( typeof( Test.AnotherWay._g_test_iframe[i] )=='function' ) { 
    903905                    if( i.substring( 0, 4 )=="test" ) { 
    904906                        test_page.test_objects.push( new Test.AnotherWay._test_object_t( i ) );