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

dcf at torproject.org dcf at torproject.org
Mon Apr 9 04:08:43 UTC 2012


commit 6dedfa121284bb686b83e278b3bb19822c992d88
Author: David Fifield <david at bamsoftware.com>
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)





More information about the tor-commits mailing list