Please patch in the following to get the tests to pass again --

--- tests/com/google/caja/plugin/es53-test-language-guest.html  (revision
5439)
+++ tests/com/google/caja/plugin/es53-test-language-guest.html  (working
copy)
@@ -691,12 +691,16 @@
 <script>
   jsunitRegister('testReferenceError',
                  function testReferenceError() {
-    expectFailure(function() {
-      testReferenceError_thisIsUndefined;
-    }, null, function(e) {
-      return e instanceof ReferenceError && e.message ===
-          '"testReferenceError_thisIsUndefined" is not defined in this
scope.';
-    });
+    if (inES5Mode) {
+      assertEquals(void 0, testReferenceError_thisIsUndefined);
+    } else {
+      expectFailure(function() {
+        testReferenceError_thisIsUndefined;
+      }, null, function(e) {
+        return e instanceof ReferenceError && e.message ===
+            '"testReferenceError_thisIsUndefined" is not defined in
this scope.';
+      });
+    }
     pass('testReferenceError');
   });
 </script>


https://codereview.appspot.com/9945043/

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to