OpenLayers OpenLayers

Changeset 3306

Show
Ignore:
Timestamp:
06/09/07 07:22:28 (1 year ago)
Author:
crschmidt
Message:

Our recent change to not catch and hide exceptions silently is causing this
test to break, because the destroy gets called before the layer loads, so the
features are attempted to be pushed into somethig that has been set to null.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/Layer/test_GeoRSS.html

    r3208 r3306  
    2929        } ); 
    3030    } 
    31      
    3231    function test_01_Layer_GeoRSS_AtomParsing (t) { 
    3332        t.plan( 6 ); 
     
    108107        var map = new OpenLayers.Map('map'); 
    109108        map.addLayer(layer); 
     109        t.delay_call( 1, function() {   
    110110        layer.destroy(); 
    111111        t.eq( layer.map, null, "layer.map is null after destroy" ); 
     112        }); 
    112113    } 
    113114  // -->