[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Remove the custom "same-origin error" message.



commit 6089495ad4ad099a06be32ae41e4ee7d124fcc20
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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) + ".");
             }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits