Comments below. I confess I haven't really reviewed rule re-ordering. Also untested, but I'm about to do that, so more mail may follow :-)
LGTM, modulo comments. http://codereview.appspot.com/10044/diff/36/215 File src/com/google/caja/cajita.js (right): http://codereview.appspot.com/10044/diff/36/215#newcode2342 Line 2342: handle: frozenFunc(function handleOnly(newModule){ return newModule; }) Why handleOnly? http://codereview.appspot.com/10044/diff/36/210 File src/com/google/caja/parser/quasiliteral/CajitaRewriter.java (right): http://codereview.appspot.com/10044/diff/36/210#newcode1174 Line 1174: Pair<Expression, Expression> rPair = reuse(nymize(r, propertyName, "meth"), scope, mq); Line wrap. http://codereview.appspot.com/10044/diff/36/207 File src/com/google/caja/parser/quasiliteral/DefaultValijaRewriter.java (right): http://codereview.appspot.com/10044/diff/36/207#newcode1245 Line 1245: Identifier fcaller = new Identifier(nym(node, f.getName(), "caller")); Line wrap. http://codereview.appspot.com/10044/diff/36/207#newcode1288 Line 1288: Identifier fcaller = new Identifier(nym(node, fname.getName(), "caller")); Line wrap. http://codereview.appspot.com/10044/diff/36/207#newcode1332 Line 1332: Identifier fcaller = new Identifier(nym(node, fname.getName(), "caller")); Line wrap. http://codereview.appspot.com/10044/diff/36/207#newcode1357 Line 1357: public ParseTreeNode fire(ParseTreeNode node, Scope scope, MessageQueue mq) { Line wrap. http://codereview.appspot.com/10044/diff/36/207#newcode1385 Line 1385: public ParseTreeNode fire(ParseTreeNode node, Scope scope, MessageQueue mq) { Line wrap. http://codereview.appspot.com/10044/diff/36/207#newcode1406 Line 1406: public ParseTreeNode fire(ParseTreeNode node, Scope scope, MessageQueue mq) { Line wrap. http://codereview.appspot.com/10044/diff/36/209 File src/com/google/caja/parser/quasiliteral/RewriterMessageType.java (right): http://codereview.appspot.com/10044/diff/36/209#newcode104 Line 104: + "Please report this error at: http://code.google.com/p/google-caja/issues/", Line wrap. http://codereview.appspot.com/10044/diff/36/203 File tests/com/google/caja/parser/quasiliteral/CajitaRewriterTest.java (right): http://codereview.appspot.com/10044/diff/36/203#newcode2076 Line 2076: * Although the golden output here tests many extraneous things, the point of I still hate golden output tests! (I don't expect you to fix this right now) http://codereview.appspot.com/10044 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to http://groups.google.com/group/google-caja-discuss To unsubscribe, email [EMAIL PROTECTED] -~----------~----~----~----~------~----~------~--~---
