Merge pull request #4891 from ahocevar/fix-ie9-tests
Fix tests so they all pass in IE9
This commit is contained in:
@@ -386,7 +386,7 @@ describe('ol.array', function() {
|
||||
});
|
||||
it('extends an array in place with a big array', function() {
|
||||
var a = [];
|
||||
var i = 500000; // original test has 1.000.000, but that was too slow
|
||||
var i = 250000; // original test has 1.000.000, but that was too slow
|
||||
var bigArray = Array(i);
|
||||
while (i--) {
|
||||
bigArray[i] = i;
|
||||
|
||||
@@ -8,7 +8,7 @@ describe('ol.source.TileImage', function() {
|
||||
tileGrid: opt_tileGrid ||
|
||||
ol.tilegrid.createForProjection(proj, undefined, [2, 2]),
|
||||
tileUrlFunction: ol.TileUrlFunction.createFromTemplate(
|
||||
'data:image/gif;base64,R0lGODlhAQABAAAAACwAAAAAAQABAAA=')
|
||||
'data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=')
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user