svnlabs / google-caja

Automatically exported from code.google.com/p/google-caja
0 stars 1 forks source link

Native Proxy test does not work with ES6 Proxies #1919

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/google-caja/source/browse/trunk/src/com/google/caja/se
s/startSES.js#1144

The test condition should be changed to `global.Proxy && global.Proxy.create && 
...`. Adding support for direct proxies would be desirable, but may require 
more work.

Related: https://bugzilla.mozilla.org/show_bug.cgi?id=892903

Original issue reported on code.google.com by andrebar...@googlemail.com on 15 May 2014 at 12:49

GoogleCodeExporter commented 9 years ago
Unfortunately migrating fully to the direct proxy API has to wait until we are 
ready to stop maintaining the ES5/3 branch, because ES5/3 implements the old 
proxy design.

Fixing the feature tests we can do right away, though.

Original comment by kpreid@google.com on 15 May 2014 at 6:21

GoogleCodeExporter commented 9 years ago
@r5685

Original comment by kpreid@google.com on 16 May 2014 at 4:44