Added pass condition testJam
authortvyas
Thu, 03 May 2012 15:24:11 -0700
branchtestJam
changeset 52 95626e561635
parent 51 52bab77694f6
Added pass condition
tests/csp/submitted/mozilla/assertTrue.php
--- a/tests/csp/submitted/mozilla/assertTrue.php	Thu May 03 15:19:42 2012 -0700
+++ b/tests/csp/submitted/mozilla/assertTrue.php	Thu May 03 15:24:11 2012 -0700
@@ -9,7 +9,7 @@
 header("Content-Type: text/javascript");
 
 	print("(function () { if(typeof " . $_GET["varName"] . "=='undefined') {
-				 test(function() {assert_true(" . $_GET["varName"] . ")}, \"assert_true with unsafeScript\"); 
+				 test(function() {assert_true(true)}, \"assert_true with unsafeScript\"); 
 		        	} else{
 				   test(function() {assert_true(" . $_GET["varName"] . ")}, \"assert_true with unsafeScript defined when it shouldn't be\"); 
 				}  })();");