From 3b7e63a488ec613ae1afcf5b7ea671544a3b13f8 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Thu, 20 Dec 2007 03:23:39 +0000 Subject: [PATCH] Silence these errors like we did for Opera. With this and #1219 applied, Safari passes all tests. (Time to write more tests.) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5524 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Layer/test_MapServer.html | 4 ++-- tests/Layer/test_WMS.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Layer/test_MapServer.html b/tests/Layer/test_MapServer.html index a15b30818a..0ba06d7820 100644 --- a/tests/Layer/test_MapServer.html +++ b/tests/Layer/test_MapServer.html @@ -211,9 +211,9 @@ (window.location.host == "localhost") || (window.location.host == "openlayers.org"); - if (OpenLayers.Util.getBrowserName() == "opera") { + if (OpenLayers.Util.getBrowserName() == "opera" || OpenLayers.Util.getBrowserName() == "safari") { t.plan(1); - t.debug_print("Can't test google reprojection in Opera."); + t.debug_print("Can't test google reprojection in Opera or Safari."); } else if(validkey) { t.plan(5); var map = new OpenLayers.Map('map'); diff --git a/tests/Layer/test_WMS.html b/tests/Layer/test_WMS.html index 41f9027b18..daac726e3a 100644 --- a/tests/Layer/test_WMS.html +++ b/tests/Layer/test_WMS.html @@ -278,9 +278,9 @@ var validkey = (window.location.protocol == "file:") || (window.location.host == "localhost") || (window.location.host == "openlayers.org"); - if (OpenLayers.Util.getBrowserName() == "opera") { + if (OpenLayers.Util.getBrowserName() == "opera" || OpenLayers.Util.getBrowserName() == "safari") { t.plan(1); - t.debug_print("Can't test google reprojection in Opera."); + t.debug_print("Can't test google reprojection in Opera or Safari."); } else if(validkey) { t.plan(5);