Commits

Christian Krebs committed 89d13c6

Added cross origin test.

Comments (0)

Files changed (1)

tests/cross-origin/index.html

   var x = new XMLHttpRequest();
   x.onload = function()
   {
-    console.log("success", this.responseText);
+    document.querySelector("pre").textContent = "success, response text:\n" +  this.responseText;
   }
   x.open("GET", "http://graph.facebook.com/fql");
   x.send();
-};
-</script>
+}
+</script>
+<pre></pre>