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

Issue 4373043: preliminary es53 taming in shindig (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by felix8a
Modified:
14 years, 11 months ago
Reviewers:
Jasvir
CC:
dev-remailer_shindig.apache.org
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

with this patch, osapi doesn't work, flash doesn't work, but most other things should. I'm constructing the es53 frames with document.write because I thought it would be easier to debug than eval'ed script, but this causes somewhat odd behavior in chrome, so I'm rethinking that.

Patch Set 1 #

Total comments: 5

Patch Set 2 : halfway there #

Patch Set 3 : SocialActivitiesWorld.xml works #

Patch Set 4 : partial taming, works on chrome and firefox #

Patch Set 5 : fixes caja stripping in js servlet #

Patch Set 6 : gadgets.json now works #

Total comments: 4

Patch Set 7 : fixed comments #

Patch Set 8 : fix race condition #

Patch Set 9 : escape </script> #

Patch Set 10 : fix test failures #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+380 lines, -344 lines) Patch
M content/samplecontainer/examples/SocialActivitiesWorld.xml View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -4 lines 0 comments Download
M content/samplecontainer/samplecontainer.js View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
A features/src/main/javascript/features/caja-guest-frame/feature.xml View 1 1 chunk +26 lines, -0 lines 0 comments Download
A features/src/main/javascript/features/caja-taming-frame/feature.xml View 1 chunk +26 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/caja/feature.xml View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -4 lines 0 comments Download
M features/src/main/javascript/features/caja/taming.js View 1 2 3 4 5 6 7 8 9 2 chunks +114 lines, -31 lines 0 comments Download
M features/src/main/javascript/features/core.json/taming.js View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -2 lines 0 comments Download
M features/src/main/javascript/features/core.log/taming.js View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -4 lines 0 comments Download
M features/src/main/javascript/features/features.txt View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/flash/taming.js View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -131 lines 0 comments Download
M features/src/main/javascript/features/opensocial-base/feature.xml View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/opensocial-base/taming.js View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/opensocial-reference/taming.js View 1 2 3 4 5 6 7 8 9 3 chunks +50 lines, -46 lines 0 comments Download
M features/src/main/javascript/features/osapi.base/osapi.js View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -3 lines 0 comments Download
M features/src/main/javascript/features/osapi.base/taming.js View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -10 lines 0 comments Download
M features/src/main/javascript/features/osapi/taming.js View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M features/src/main/javascript/features/settitle/feature.xml View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M features/src/main/javascript/features/tabs/taming.js View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -3 lines 0 comments Download
M features/src/main/javascript/features/taming/taming.js View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -6 lines 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/Gadget.java View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -0 lines 1 comment Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/render/Renderer.java View 1 2 3 4 5 6 7 8 9 3 chunks +1 line, -10 lines 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/render/RenderingGadgetRewriter.java View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/CajaContentRewriter.java View 1 2 3 4 5 6 7 8 9 6 chunks +56 lines, -64 lines 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultJsUriManager.java View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/JsUriManager.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M java/gadgets/src/test/java/org/apache/shindig/gadgets/servlet/CajaContentRewriterTest.java View 1 2 3 4 5 6 7 8 9 3 chunks +5 lines, -17 lines 0 comments Download
M java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultJsUriManagerTest.java View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M java/server/src/test/java/org/apache/shindig/server/endtoend/EndToEndTest.java View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 12
Jasvir
http://codereview.appspot.com/4373043/diff/1/features/src/main/javascript/features/caja-guest-frame/feature.xml File features/src/main/javascript/features/caja-guest-frame/feature.xml (right): http://codereview.appspot.com/4373043/diff/1/features/src/main/javascript/features/caja-guest-frame/feature.xml#newcode24 features/src/main/javascript/features/caja-guest-frame/feature.xml:24: <script src="res://com/google/caja/plugin/es53-guest-frame.js"/> --> Extraneous --> http://codereview.appspot.com/4373043/diff/1/features/src/main/javascript/features/caja/taming.js File features/src/main/javascript/features/caja/taming.js (right): ...
15 years ago (2011-04-06 17:58:10 UTC) #1
felix8a
updated snapshot
14 years, 12 months ago (2011-04-14 22:31:20 UTC) #2
felix8a
new snapshot; pass caja=1 query parameter to JS servlet for cajoled gadgets (otherwise taming files ...
14 years, 12 months ago (2011-04-15 17:38:35 UTC) #3
felix8a
gadgets.json now works
14 years, 12 months ago (2011-04-16 00:01:49 UTC) #4
Jasvir
Looking good. http://codereview.appspot.com/4373043/diff/13001/features/src/main/javascript/features/opensocial-reference/taming.js File features/src/main/javascript/features/opensocial-reference/taming.js (right): http://codereview.appspot.com/4373043/diff/13001/features/src/main/javascript/features/opensocial-reference/taming.js#newcode25 features/src/main/javascript/features/opensocial-reference/taming.js:25: // TODO(felix8a) Please include a description of ...
14 years, 11 months ago (2011-04-18 15:57:18 UTC) #5
felix8a
http://codereview.appspot.com/4373043/diff/13001/features/src/main/javascript/features/opensocial-reference/taming.js File features/src/main/javascript/features/opensocial-reference/taming.js (right): http://codereview.appspot.com/4373043/diff/13001/features/src/main/javascript/features/opensocial-reference/taming.js#newcode25 features/src/main/javascript/features/opensocial-reference/taming.js:25: // TODO(felix8a) On 2011/04/18 15:57:18, jasvir wrote: > Please ...
14 years, 11 months ago (2011-04-18 16:30:10 UTC) #6
felix8a
updated snapshot
14 years, 11 months ago (2011-04-18 16:37:09 UTC) #7
felix8a
found a race condition: in some cases tamingFrame's done function will fail because it gets ...
14 years, 11 months ago (2011-04-19 00:50:52 UTC) #8
felix8a
in some situations, shindig will inline caja/taming.js in html. this is a problem because taming.js ...
14 years, 11 months ago (2011-04-19 01:16:06 UTC) #9
felix8a
oops, forgot to run mvn without tests disabled, some of the easymock checks fail. fixing...
14 years, 11 months ago (2011-04-19 19:11:34 UTC) #10
felix8a
"mvn test" passes cleanly now
14 years, 11 months ago (2011-04-19 21:52:50 UTC) #11
Jasvir
14 years, 11 months ago (2011-04-19 23:12:29 UTC) #12
LGTM

http://codereview.appspot.com/4373043/diff/11003/java/gadgets/src/main/java/o...
File java/gadgets/src/main/java/org/apache/shindig/gadgets/Gadget.java (right):

http://codereview.appspot.com/4373043/diff/11003/java/gadgets/src/main/java/o...
java/gadgets/src/main/java/org/apache/shindig/gadgets/Gadget.java:228: return
getAllFeatures().contains("caja");
Nice.
Sign in to reply to this message.

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