diff --git a/tests/test_Control_Permalink.html b/tests/test_Control_Permalink.html
index 1d7f64a338..d98fd532a8 100644
--- a/tests/test_Control_Permalink.html
+++ b/tests/test_Control_Permalink.html
@@ -20,7 +20,11 @@
if (!map.getCenter()) map.zoomToMaxExtent();
map.addControl(control);
map.pan(5, 0);
- t.eq($('permalink').href, location+"?lat=0&lon=1.75781&zoom=2", "Panning sets permalink");
+ if (/MSIE/.test(navigator.userAgent)) {
+ t.eq($('permalink').href, "?lat=0&lon=1.75781&zoom=2", "Panning sets permalink");
+ } else {
+ t.eq($('permalink').href, location+"?lat=0&lon=1.75781&zoom=2", "Panning sets permalink");
+ }
}
function test_03_Control_Permalink_updateLinksBase (t) {
t.plan( 2 );
diff --git a/tests/test_Layer.html b/tests/test_Layer.html
index 8b17d8b2bb..f473cee5dd 100644
--- a/tests/test_Layer.html
+++ b/tests/test_Layer.html
@@ -99,7 +99,7 @@
var options = { projection: projection,
maxExtent: maxExtent,
maxResolution: maxResolution,
- numZoomLevels: numZoomLevels,
+ numZoomLevels: numZoomLevels
};
var layer = new OpenLayers.Layer('Test Layer', options);
diff --git a/tests/test_Layer_EventPane.html b/tests/test_Layer_EventPane.html
index 71cc8a8151..d1d5f1f6e9 100644
--- a/tests/test_Layer_EventPane.html
+++ b/tests/test_Layer_EventPane.html
@@ -56,7 +56,11 @@
// MOUSEMOVE test does not seem to work...
// t.plan( 2 );
- t.plan(1);
+ if (document.createEventObject) {
+ t.plan(3);
+ } else {
+ t.plan(1);
+ }
var map = new OpenLayers.Map('map');
layer = new OpenLayers.Layer.EventPane('Test Layer');
diff --git a/tests/test_Layer_Grid.html b/tests/test_Layer_Grid.html
index 5962ffb1bd..0e57706646 100644
--- a/tests/test_Layer_Grid.html
+++ b/tests/test_Layer_Grid.html
@@ -114,13 +114,13 @@
* -insertColumn
* -insertRow
- function test_07_Layer_Grid_moveTo(t) {
+ function 07_Layer_Grid_moveTo(t) {
}
- function test_08_Layer_Grid_insertColumn(t) {
+ function 08_Layer_Grid_insertColumn(t) {
}
- function test_09_Layer_Grid_insertRow(t) {
+ function 09_Layer_Grid_insertRow(t) {
}
*
diff --git a/tests/test_Layer_KaMap.html b/tests/test_Layer_KaMap.html
index 9a37a77891..ce310d9e67 100644
--- a/tests/test_Layer_KaMap.html
+++ b/tests/test_Layer_KaMap.html
@@ -107,13 +107,13 @@
* -insertColumn
* -insertRow
- function test_07_Layer_KaMap_moveTo(t) {
+ function 07_Layer_KaMap_moveTo(t) {
}
- function test_08_Layer_KaMap_insertColumn(t) {
+ function 08_Layer_KaMap_insertColumn(t) {
}
- function test_09_Layer_KaMap_insertRow(t) {
+ function 09_Layer_KaMap_insertRow(t) {
}
*
diff --git a/tests/test_Map.html b/tests/test_Map.html
index 2cc49f35ee..314453e065 100644
--- a/tests/test_Map.html
+++ b/tests/test_Map.html
@@ -154,7 +154,7 @@
/*** THIS IS A GOOD TEST, BUT IT SHOULD BE MOVED TO WMS.
* Also, it won't work until we figure out the viewSize bug
- function test_08_Map_px_lonlat_translation (t) {
+ function 08_Map_px_lonlat_translation (t) {
t.plan( 6 );
map = new OpenLayers.Map($('map'));
var baseLayer = new OpenLayers.Layer.WMS("Test Layer",