--- a/tests/cors/submitted/opera/staging/basic.htm Wed Nov 21 17:14:07 2012 +0100
+++ b/tests/cors/submitted/opera/staging/basic.htm Wed Nov 21 17:20:18 2012 +0100
@@ -27,13 +27,12 @@
assert_true(client.response.indexOf("hest_er_best") != -1, "Got response");
else
assert_false(!!client.response, "Got CORS-disallowed response");
- console.log("dis worked");
+ client = new XMLHttpRequest();
client.open("GET", url + "resources/cors-makeheader.php?get_value=hest_er_best&" + this.count);
client.onreadystatechange = this.step_func(function(e) {
// Second request, test that it passes with the allowed-origin
if (client.readyState < 4) return;
- console.log(client.response);
assert_true(client.response.indexOf("hest_er_best") != -1, "Got CORS-allowed response");
this.done();
});