OpenLayers OpenLayers

root/trunk/openlayers/tests/Request/XMLHttpRequest.html

Revision 7335, 389 bytes (checked in by tschaub, 7 months ago)

Adding cross-browser XMLHttpRequest functionality and convenience methods around it in the OpenLayers.Request namespace. Deprecating OpenLayers.Ajax.Request. Full support sync/async requests using all HTTP verbs now. r=elemoine (closes #1565)

Line 
1 <html>
2 <head>
3     <script src="../../lib/OpenLayers.js"></script>
4     <script type="text/javascript">
5         function test_constructor(t) {
6             t.plan(1);
7             t.ok(new OpenLayers.Request.XMLHttpRequest(),
8                  "constructor didn't fail and we trust the code is well tested in OpenLayers.Request methods");
9         }
10     </script>
11 </head>
12 <body>
13 </body>
14 </html>
Note: See TracBrowser for help on using the browser.