Revision: 5447
Author:   [email protected]
Date:     Wed Jun 12 15:14:07 2013
Log:      Remove unused 'tamingProxies' weak map from Domado.
https://codereview.appspot.com/10245043

The last use of tamingProxies was removed in r5213 when general
pseudo-nodes were removed.

[email protected]

http://code.google.com/p/google-caja/source/detail?r=5447

Modified:
 /trunk/src/com/google/caja/plugin/domado.js

=======================================
--- /trunk/src/com/google/caja/plugin/domado.js Fri Jun  7 13:30:31 2013
+++ /trunk/src/com/google/caja/plugin/domado.js Wed Jun 12 15:14:07 2013
@@ -1932,10 +1932,6 @@
       var nodeAmp = TameNodeConf.amplifying;
       var nodeAmplify = TameNodeConf.amplify;

- // A map from tame nodes to their expando proxies, used when only the tame
-      // node is available and the proxy is needed to return to the client.
-      var tamingProxies = new WeakMap();
-
       var tameException = taming.tameException;

       /**
@@ -1956,7 +1952,6 @@
             delete privates.proxyHandler;  // no longer needed

             TameNodeConf.confide(proxiedNode, taming, node);
-            tamingProxies.set(node, proxiedNode);

             // special case for ES5/3 lack of interposition on 'length'
rulebreaker.copyLengthPropertyIfUninterceptable(node, proxiedNode);

--

--- 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