Reviewers: felix8a,

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

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

Affected files:
  M     src/com/google/caja/plugin/domado.js


Index: src/com/google/caja/plugin/domado.js
===================================================================
--- src/com/google/caja/plugin/domado.js        (revision 5446)
+++ src/com/google/caja/plugin/domado.js        (working copy)
@@ -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