Don't test reprojection in Opera, since we get different results, and
we still want this to b reported as a success, but log them to debug so that people are aware the test is being skipped. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5468 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -211,7 +211,10 @@
|
||||
(window.location.host == "localhost") ||
|
||||
(window.location.host == "openlayers.org");
|
||||
|
||||
if(validkey) {
|
||||
if (OpenLayers.Util.getBrowserName() == "opera") {
|
||||
t.plan(1);
|
||||
t.debug_print("Can't test google reprojection in Opera.");
|
||||
} else if(validkey) {
|
||||
t.plan(5);
|
||||
var map = new OpenLayers.Map('map');
|
||||
var layer = new OpenLayers.Layer.Google("Google");
|
||||
|
||||
Reference in New Issue
Block a user