[tor-commits] [flashproxy/js] Remove the custom "same-origin error" message.
dcf at torproject.org
dcf at torproject.org
Sat Apr 7 12:16:54 UTC 2012
commit 6089495ad4ad099a06be32ae41e4ee7d124fcc20
Author: David Fifield <david at bamsoftware.com>
Date: Sat Apr 7 02:05:51 2012 -0700
Remove the custom "same-origin error" message.
I am also seeing this for "connection refused."
---
flashproxy.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/flashproxy.js b/flashproxy.js
index df049c1..33dd85b 100644
--- a/flashproxy.js
+++ b/flashproxy.js
@@ -374,8 +374,6 @@ function FlashProxy() {
if (xhr.readyState === xhr.DONE) {
if (xhr.status === 200)
this.fac_complete(xhr.responseText);
- else if (xhr.status === 0 && xhr.statusText === "")
- puts("Facilitator: same-origin error.");
else
puts("Facilitator: can't connect: got status " + repr(xhr.status) + " and status text " + repr(xhr.statusText) + ".");
}
More information about the tor-commits
mailing list