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

Issue 116069: A applet-free testbed (Closed)

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

Description

A caja testbed that uses the cajoling service instead of an applet to perform the cajoling. (See http://10.latest.caja.appspot.com for an example of it running). * Adds a series of examples of the attacks caja prevents and interactions it supports * Adds gwt libraries needed to use the front-end during development * The changes to Normalizer are needed to handle the varing availability of java's Normalizer depending on the version of Java and on AppEngine

Patch Set 1 #

Patch Set 2 : A applet-free testbed #

Total comments: 61

Patch Set 3 : A applet-free testbed #

Patch Set 4 : A applet-free testbed #

Patch Set 5 : A applet-free testbed #

Patch Set 6 : A applet-free testbed #

Patch Set 7 : A applet-free testbed #

Patch Set 8 : A applet-free testbed #

Patch Set 9 : A applet-free testbed #

Patch Set 10 : A applet-free testbed #

Patch Set 11 : A applet-free testbed #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+2058 lines, -22 lines) Patch
A appengine-web.xml View 1 chunk +11 lines, -0 lines 1 comment Download
M build.xml View 1 2 3 4 5 6 7 5 chunks +95 lines, -0 lines 4 comments Download
A src/com/google/caja/demos/playground/Playground.css View 1 chunk +73 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/Playground.html View 6 1 chunk +57 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/Playground.gwt.xml View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/CajolingServiceResult.java View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/Playground.java View 1 2 1 chunk +82 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/PlaygroundService.java View 1 chunk +38 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/PlaygroundServiceAsync.java View 1 chunk +27 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/ui/Example.java View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/ui/Menu.java View 1 chunk +38 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/client/ui/PlaygroundView.java View 1 2 3 4 1 chunk +350 lines, -0 lines 0 comments Download
A src/com/google/caja/demos/playground/server/GWTCajolingServiceImpl.java View 1 2 3 4 5 6 7 1 chunk +146 lines, -0 lines 0 comments Download
M src/com/google/caja/parser/Normalizer.java View 1 2 3 4 1 chunk +6 lines, -4 lines 0 comments Download
M src/com/google/caja/reporting/MessageLevel.java View 3 4 1 chunk +3 lines, -1 line 0 comments Download
M src/com/google/caja/service/CajolingService.java View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M src/com/google/caja/service/HtmlHandler.java View 1 2 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M tests/com/google/caja/service/TestHttpServletRequest.java View 2 chunks +6 lines, -0 lines 2 comments Download
M tests/com/google/caja/service/TestHttpServletResponse.java View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/java/appengine/ABOUT View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/java/appengine/COPYING View 1 chunk +97 lines, -0 lines 0 comments Download
A third_party/java/appengine/README View 1 chunk +98 lines, -0 lines 0 comments Download
A third_party/java/appengine/README.ORM View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/java/appengine/RELEASE_NOTES.ORM View 1 chunk +106 lines, -0 lines 0 comments Download
A third_party/java/appengine/bin/appcfg.cmd View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/java/appengine/bin/appcfg.sh View 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/java/appengine/bin/dev_appserver.cmd View 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/java/appengine/bin/dev_appserver.sh View 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/java/appengine/config/sdk/logging.properties View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/java/appengine/config/user/ant-macros.xml View 1 chunk +106 lines, -0 lines 0 comments Download
A third_party/java/appengine/config/user/log4j.properties View 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/java/appengine/config/user/logging.properties View 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/java/appengine/lib/appengine-tools-api.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/impl/appengine-api.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/impl/appengine-api-stubs.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/impl/appengine-local-runtime.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/appengine-local-runtime-shared.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/geronimo-el_1.0_spec-1.0.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/geronimo-jsp_2.1_spec-1.0.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/geronimo-servlet_2.5_spec-1.2.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/jsp/LICENSE View 1 chunk +203 lines, -0 lines 0 comments Download
A third_party/java/appengine/lib/shared/jsp/ant-1.6.5.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/jsp/ant-launcher-1.6.5.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/jsp/commons-el-1.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/jsp/commons-logging-1.1.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/jsp/jasper-compiler-5.0.28.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/shared/jsp/jasper-runtime-5.0.28.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/jsp/LICENSE View 1 chunk +203 lines, -0 lines 0 comments Download
A third_party/java/appengine/lib/tools/jsp/jakarta-jstl-1.1.2.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/jsp/jakarta-standard-1.1.2.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/asm-3.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/datanucleus-core-1.1.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/datanucleus-enhancer-1.1.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/datanucleus-jpa-1.1.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/geronimo-jpa_3.0_spec-1.1.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/geronimo-jta_1.1_spec-1.1.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/tools/orm/jdo2-api-2.3-SNAPSHOT.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/appengine-api-1.0-sdk-1.2.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/orm/datanucleus-appengine-1.0.0.final.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/orm/datanucleus-core-1.1.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/orm/datanucleus-jpa-1.1.0.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/orm/geronimo-jpa_3.0_spec-1.1.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/orm/geronimo-jta_1.1_spec-1.1.1.jar View Binary file 0 comments Download
A third_party/java/appengine/lib/user/orm/jdo2-api-2.3-SNAPSHOT.jar View Binary file 0 comments Download
A third_party/java/gwt/gwt-dev-mac.jar View Binary file 0 comments Download
A third_party/java/gwt/gwt-servlet.jar View Binary file 0 comments Download
A third_party/java/gwt/gwt-user.jar View Binary file 0 comments Download
M tools/myvn View 8 2 chunks +22 lines, -14 lines 0 comments Download
A web.xml View 5 6 7 8 9 1 chunk +29 lines, -0 lines 2 comments Download

Messages

Total messages: 9
Jasvir
16 years, 6 months ago (2009-09-10 21:36:37 UTC) #1
Jasvir
Sorry - this is not ready for review yet.
16 years, 6 months ago (2009-09-10 21:38:48 UTC) #2
ihab.awad
http://codereview.appspot.com/116069/diff/2001/2029 File build.xml (right): http://codereview.appspot.com/116069/diff/2001/2029#newcode58 Line 58: <!-- servlet dir - needs to be called ...
16 years, 5 months ago (2009-10-09 02:04:47 UTC) #3
ihab.awad
I patched this in and tried it; I got -- BUILD FAILED /google-caja/build.xml:129: The following ...
16 years, 4 months ago (2009-11-25 00:08:01 UTC) #4
Jasvir Nagra
This is because the patch includes binary checkins to third_party which are not captured by ...
16 years, 4 months ago (2009-11-25 00:43:59 UTC) #5
Jasvir
Snapshot * build copies all the necessary libraries to WEB-INF * myvn creates a .project ...
16 years, 4 months ago (2009-11-26 01:36:58 UTC) #6
Jasvir
ping
16 years, 3 months ago (2009-12-01 23:54:50 UTC) #7
ihab.awad
LGTM -- cool! :) http://codereview.appspot.com/116069/diff/15069/14004 File appengine-web.xml (right): http://codereview.appspot.com/116069/diff/15069/14004#newcode3 appengine-web.xml:3: <application>caja</application> Indentation gorp. http://codereview.appspot.com/116069/diff/15069/14071 File ...
16 years, 3 months ago (2009-12-03 22:53:26 UTC) #8
Jasvir
16 years, 3 months ago (2009-12-10 22:57:42 UTC) #9
http://codereview.appspot.com/116069/diff/15069/14071
File build.xml (right):

http://codereview.appspot.com/116069/diff/15069/14071#newcode761
build.xml:761: <java failonerror="true" fork="true"
classname="com.google.gwt.dev.Compiler">
On 2009/12/03 22:53:27, ihab.awad wrote:
> Line wrap (& some other places too)

Done.

http://codereview.appspot.com/116069/diff/15069/14071#newcode797
build.xml:797: <replacevalue>${build.svnVersion}</replacevalue>
Yes it should.  Added.

On 2009/12/03 22:53:27, ihab.awad wrote:
> Should this task depend on "build.info" then?

http://codereview.appspot.com/116069/diff/15069/14006
File tests/com/google/caja/service/TestHttpServletRequest.java (right):

http://codereview.appspot.com/116069/diff/15069/14006#newcode39
tests/com/google/caja/service/TestHttpServletRequest.java:39: import
javax.servlet.http.HttpServletRequestWrapper;
On 2009/12/03 22:53:27, ihab.awad wrote:
> Unused import

Done.

http://codereview.appspot.com/116069/diff/15069/14070
File web.xml (right):

http://codereview.appspot.com/116069/diff/15069/14070#newcode19
web.xml:19: </servlet>
Files in ant-war but outside ant-war/WEB-INF are served statically.

On 2009/12/03 22:53:27, ihab.awad wrote:
> What serves the static files then?
Sign in to reply to this message.

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