Revert r6710: The new popup coe is going to need to change tests, so this
needs to wait. git-svn-id: http://svn.openlayers.org/trunk/openlayers@6711 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
function test_Ajax_loadUrl(t) {
|
||||
t.plan(1);
|
||||
var req = OpenLayers.Ajax.Request;
|
||||
OpenLayers.ProxyHost = "/?url=";
|
||||
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");
|
||||
}
|
||||
OpenLayers.loadURL("http://example.com/?format=image+kml");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user