Tim points out I'm clearly not running the tests often enough by showing
that the Ajax test fails. Sorry to all; I'm a bad OL dev. git-svn-id: http://svn.openlayers.org/trunk/openlayers@6229 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
t.plan(1);
|
t.plan(1);
|
||||||
var req = OpenLayers.Ajax.Request;
|
var req = OpenLayers.Ajax.Request;
|
||||||
OpenLayers.ProxyHost = "/?url=";
|
OpenLayers.ProxyHost = "/?url=";
|
||||||
OpenLayers.Ajax.Request = function(uri) {
|
OpenLayers.Ajax.Request.prototype.request = function(uri) {
|
||||||
t.eq(uri, "/?url=http%3A%2F%2Fexample.com%2F%3Fformat%3Dimage%2Bkml", "URI matches what we expect from loadurl");
|
t.eq(uri, "/?url=http%3A%2F%2Fexample.com%2F%3Fformat%3Dimage%2Bkml", "URI matches what we expect from loadurl");
|
||||||
}
|
}
|
||||||
OpenLayers.loadURL("http://example.com/?format=image+kml");
|
OpenLayers.loadURL("http://example.com/?format=image+kml");
|
||||||
|
|||||||
Reference in New Issue
Block a user