Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(67)

Issue 91107: Initial check in for securable modules (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 8 months ago by maoziqing
Modified:
16 years, 8 months ago
Reviewers:
ihab.awad
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Implementation for the simplest case: static module inlining

Patch Set 1 #

Total comments: 38

Patch Set 2 : Initial check in for securable modules #

Patch Set 3 : Initial check in for securable modules #

Total comments: 2

Patch Set 4 : Initial check in for securable modules #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -7 lines) Patch
M src/com/google/caja/parser/quasiliteral/CajitaRewriter.java View 1 2 3 7 chunks +134 lines, -4 lines 8 comments Download
M src/com/google/caja/parser/quasiliteral/RewriterMessageType.java View 1 2 3 1 chunk +21 lines, -1 line 0 comments Download
M src/com/google/caja/plugin/ExpressionSanitizerCaja.java View 1 chunk +2 lines, -1 line 0 comments Download
M tests/com/google/caja/parser/quasiliteral/CajitaRewriterTest.java View 1 2 3 4 chunks +47 lines, -1 line 2 comments Download
A tests/com/google/caja/parser/quasiliteral/c.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A tests/com/google/caja/parser/quasiliteral/foo/b.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5
maoziqing
16 years, 8 months ago (2009-07-13 23:14:50 UTC) #1
ihab.awad
http://codereview.appspot.com/91107/diff/1/7 File src/com/google/caja/parser/quasiliteral/CajitaRewriter.java (right): http://codereview.appspot.com/91107/diff/1/7#newcode203 Line 203: // what should we put as the expected ...
16 years, 8 months ago (2009-07-14 01:22:06 UTC) #2
maoziqing
http://codereview.appspot.com/91107/diff/1/7 File src/com/google/caja/parser/quasiliteral/CajitaRewriter.java (right): http://codereview.appspot.com/91107/diff/1/7#newcode203 Line 203: // what should we put as the expected ...
16 years, 8 months ago (2009-07-14 17:50:19 UTC) #3
ihab.awad
LGTM++ Ok to check in after dealing with existing comments. http://codereview.appspot.com/91107/diff/1028/18 File src/com/google/caja/parser/quasiliteral/CajitaRewriter.java (right): http://codereview.appspot.com/91107/diff/1028/18#newcode501 ...
16 years, 8 months ago (2009-07-14 20:33:44 UTC) #4
maoziqing
16 years, 8 months ago (2009-07-14 20:51:02 UTC) #5
Committed revision 3570.

http://codereview.appspot.com/91107/diff/1028/18
File src/com/google/caja/parser/quasiliteral/CajitaRewriter.java (right):

http://codereview.appspot.com/91107/diff/1028/18#newcode501
Line 501: substitutes="___.markFuncFreeze(function() {\n"
On 2009/07/14 20:33:45, ihab.awad wrote:
> Usually, we don't bother to terminate quasi expressions with "\n" ... it's
> probably good to remain consistent.

Done.

http://codereview.appspot.com/91107/diff/1028/18#newcode504
Line 504: + "      @body\n"
On 2009/07/14 20:33:45, ihab.awad wrote:
> Missing semicolon.

Done.

http://codereview.appspot.com/91107/diff/1028/18#newcode514
Line 514: + "  })();")
On 2009/07/14 20:33:45, ihab.awad wrote:
> Indent this line one step out.

Done.

http://codereview.appspot.com/91107/diff/1028/18#newcode537
Line 537: // error messages were logged in the function fetctStaticModule
On 2009/07/14 20:33:45, ihab.awad wrote:
> Trailing whitespace on this line. Also, fetchStaticModule mis-spelled.

Done.

http://codereview.appspot.com/91107/diff/1028/16
File tests/com/google/caja/parser/quasiliteral/CajitaRewriterTest.java (right):

http://codereview.appspot.com/91107/diff/1028/16#newcode2304
Line 2304: MessageLevel.FATAL_ERROR);
On 2009/07/14 20:33:45, ihab.awad wrote:
> Maybe add a test for the "cannot load dynamic" failure condition?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b