Added support for easily importing additional environment variables into the SCons build.

Optimized strict equality checks.

Fixed crash in indexed setters on objects without a corresponding getter (issue 298).

Re-enabled script compilation cache.


git-svn-id: http://v8.googlecode.com/svn/trunk@1682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index cf5c5a5..dd705d2 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -2383,11 +2383,16 @@
   ExpectBoolean("undetectable||false", false);
 
   ExpectBoolean("undetectable==null", true);
+  ExpectBoolean("null==undetectable", true);
   ExpectBoolean("undetectable==undefined", true);
+  ExpectBoolean("undefined==undetectable", true);
   ExpectBoolean("undetectable==undetectable", true);
 
+
   ExpectBoolean("undetectable===null", false);
-  ExpectBoolean("undetectable===undefined", true);
+  ExpectBoolean("null===undetectable", false);
+  ExpectBoolean("undetectable===undefined", false);
+  ExpectBoolean("undefined===undetectable", false);
   ExpectBoolean("undetectable===undetectable", true);
 }
 
@@ -2418,11 +2423,16 @@
   ExpectBoolean("undetectable||false", false);
 
   ExpectBoolean("undetectable==null", true);
+  ExpectBoolean("null==undetectable", true);
   ExpectBoolean("undetectable==undefined", true);
+  ExpectBoolean("undefined==undetectable", true);
   ExpectBoolean("undetectable==undetectable", true);
 
+
   ExpectBoolean("undetectable===null", false);
-  ExpectBoolean("undetectable===undefined", true);
+  ExpectBoolean("null===undetectable", false);
+  ExpectBoolean("undetectable===undefined", false);
+  ExpectBoolean("undefined===undetectable", false);
   ExpectBoolean("undetectable===undetectable", true);
 }