1. scope
  2. scope.bitbucket.org

Commits

Christian Krebs  committed 89d13c6

Added cross origin test.

  • Participants
  • Parent commits 0a78c1d
  • Branches default

Comments (0)

Files changed (1)

File tests/cross-origin/index.html

View file
   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>