google-caja-discuss

[Prev] Thread [Next]  |  [Prev] Date [Next]

[Caja] Make any object throwable in Valija. Addresses issue 1036. metaweta Thu Jun 25 12:00:55 2009


Reviewers: MarkM,

Description:
Added a table to $v for storing exceptions.  Stores the object on throw,
retrieves it on catch.

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

Affected files:
  M     src/com/google/caja/cajita.js
  M     src/com/google/caja/parser/quasiliteral/CajitaRewriter.java
  M     src/com/google/caja/parser/quasiliteral/DefaultValijaRewriter.java
  M     src/com/google/caja/parser/quasiliteral/PermitTemplate.java
  M     src/com/google/caja/valija-cajita.js
M tests/com/google/caja/parser/quasiliteral/DefaultValijaRewriterTest.java