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:
@@ -211,9 +211,9 @@
|
|||||||
(window.location.host == "localhost") ||
|
(window.location.host == "localhost") ||
|
||||||
(window.location.host == "openlayers.org");
|
(window.location.host == "openlayers.org");
|
||||||
|
|
||||||
if (OpenLayers.Util.getBrowserName() == "opera") {
|
if (OpenLayers.Util.getBrowserName() == "opera" || OpenLayers.Util.getBrowserName() == "safari") {
|
||||||
t.plan(1);
|
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) {
|
} else if(validkey) {
|
||||||
t.plan(5);
|
t.plan(5);
|
||||||
var map = new OpenLayers.Map('map');
|
var map = new OpenLayers.Map('map');
|
||||||
|
|||||||
@@ -278,9 +278,9 @@
|
|||||||
var validkey = (window.location.protocol == "file:") ||
|
var validkey = (window.location.protocol == "file:") ||
|
||||||
(window.location.host == "localhost") ||
|
(window.location.host == "localhost") ||
|
||||||
(window.location.host == "openlayers.org");
|
(window.location.host == "openlayers.org");
|
||||||
if (OpenLayers.Util.getBrowserName() == "opera") {
|
if (OpenLayers.Util.getBrowserName() == "opera" || OpenLayers.Util.getBrowserName() == "safari") {
|
||||||
t.plan(1);
|
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) {
|
} else if(validkey) {
|
||||||
t.plan(5);
|
t.plan(5);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user