Reviewers: kpreid2,

Description:
Fixes https://code.google.com/p/google-caja/issues/detail?id=1932

Please review this at https://codereview.appspot.com/130750044/

Affected files (+2, -2 lines):
  M     src/com/google/caja/ses/ejectorsGuardsTrademarks.js


Index: src/com/google/caja/ses/ejectorsGuardsTrademarks.js
===================================================================
--- src/com/google/caja/ses/ejectorsGuardsTrademarks.js (revision 5688)
+++ src/com/google/caja/ses/ejectorsGuardsTrademarks.js (working copy)
@@ -160,7 +160,7 @@
////////////////////////////////////////////////////////////////////////

     function makeSealerUnsealerPair() {
-      var boxValues = new WeakMap(true); // use key lifetime
+      var boxValues = new WeakMap();

       function seal(value) {
         var box = freeze({});
@@ -190,7 +190,7 @@
     // Trademarks
////////////////////////////////////////////////////////////////////////

-    var stampers = new WeakMap(true);
+    var stampers = new WeakMap();

     /**
      * Internal routine for making a trademark from a table.


--

--- 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/d/optout.

Reply via email to