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
This commit is contained in:
crschmidt
2007-12-20 03:23:39 +00:00
parent 5babc73615
commit 3b7e63a488
2 changed files with 4 additions and 4 deletions

View File

@@ -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');

View File

@@ -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);