Reviewers: metaweta,

Description:
Uses the acorn parser and escodegen serializer to rewrite:
* top level var decls to assignments on the global object
* typeof of undeclared variables to return the string "undefined"

Please review this at http://codereview.appspot.com/6827077/

Affected files:
  M     build.xml
  M     src/com/google/caja/ses/hookupSES.js
  M     src/com/google/caja/ses/hookupSESPlus.js
  A     src/com/google/caja/ses/mitigateGotchas.js
  M     src/com/google/caja/ses/startSES.js
  M     tests/com/google/caja/plugin/GeneralBrowserTest.java
  A     tests/com/google/caja/plugin/es53-test-gotchas-guest.html
  M     tests/com/google/caja/plugin/test-index.js
  A     third_party/js/acorn/acorn.js
  A     third_party/js/escodegen/escodegen.js
  A     third_party/js/escodegen/estraverse.js


Reply via email to