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

[tor-commits] [flashproxy/js] Add a dummy window object for flashproxy-test.js.



commit 6dedfa121284bb686b83e278b3bb19822c992d88
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Thu Apr 5 01:27:50 2012 -0700

    Add a dummy window object for flashproxy-test.js.
---
 flashproxy-test.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/flashproxy-test.js b/flashproxy-test.js
index 6250eac..1961740 100755
--- a/flashproxy-test.js
+++ b/flashproxy-test.js
@@ -10,6 +10,8 @@ if ("-v" in arguments)
 var num_tests = 0;
 var num_failed = 0;
 
+var window = {location: {search: "?"}};
+
 load("flashproxy.js");
 
 function objects_equal(a, b)

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