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

Issue 135051: Simpler taming of opensocial, gadgets and related apis (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by Jasvir
Modified:
15 years, 8 months ago
Reviewers:
johnfargo
CC:
shindig.remailer_gmail.com, google-caja-discuss_googlegroups.com
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Simpler taming of opensocial, gadgets and related apis #

Total comments: 11

Patch Set 3 : Responding to review comments #

Patch Set 4 : Cleaned up comments, added osapi taming to the CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+788 lines, -909 lines) Patch
M features/src/main/javascript/features/caja/taming.js View 1 2 3 2 chunks +45 lines, -872 lines 0 comments Download
M features/src/main/javascript/features/core.io/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/core.io/taming.js View 1 chunk +31 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/core/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M features/src/main/javascript/features/core/log.js View 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/core/taming.js View 1 2 3 1 chunk +60 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/dynamic-height/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/dynamic-height/taming.js View 1 chunk +31 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/flash/feature.xml View 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/flash/taming.js View 1 chunk +161 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/minimessage/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M features/src/main/javascript/features/minimessage/minimessage.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A features/src/main/javascript/features/minimessage/taming.js View 1 chunk +36 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/opensocial-jsonrpc/jsonrpccontainer.js View 1 2 3 2 chunks +14 lines, -32 lines 0 comments Download
M features/src/main/javascript/features/opensocial-reference/datarequest.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M features/src/main/javascript/features/opensocial-reference/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/opensocial-reference/taming.js View 1 chunk +154 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/osapi/feature.xml View 2 chunks +2 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/osapi/osapi.js View 2 chunks +4 lines, -1 line 0 comments Download
A features/src/main/javascript/features/osapi/taming.js View 1 chunk +57 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/pubsub/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/pubsub/taming.js View 1 chunk +31 lines, -0 lines 0 comments Download
A features/src/main/javascript/features/settitle/taming.js View 1 chunk +30 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/skins/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/skins/taming.js View 1 chunk +29 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/tabs/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M features/src/main/javascript/features/tabs/tabs.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A features/src/main/javascript/features/tabs/taming.js View 1 chunk +47 lines, -0 lines 0 comments Download
M features/src/main/javascript/features/views/feature.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A features/src/main/javascript/features/views/taming.js View 1 chunk +40 lines, -0 lines 0 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/JsFeatureLoader.java View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M pom.xml View 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
Jasvir
The original taming of opensocial was very verbose because any callbacks (which occur commonly in ...
15 years, 10 months ago (2009-10-19 22:28:15 UTC) #1
Jasvir
http://codereview.appspot.com/135051/diff/1027/48 File features/src/main/javascript/features/caja/taming.js (right): http://codereview.appspot.com/135051/diff/1027/48#newcode105 Line 105: var tamings___ = tamings___ || []; Changed from ...
15 years, 10 months ago (2009-10-19 22:35:45 UTC) #2
johnfargo
Aside from the rather minor comments below, my primary concern is that this adds bulk ...
15 years, 10 months ago (2009-10-20 21:53:57 UTC) #3
Jasvir
On 2009/10/20 21:53:57, johnfargo wrote: > Aside from the rather minor comments below, my primary ...
15 years, 10 months ago (2009-10-21 00:06:58 UTC) #4
Jasvir
http://codereview.appspot.com/135051/diff/1027/48 File features/src/main/javascript/features/caja/taming.js (right): http://codereview.appspot.com/135051/diff/1027/48#newcode115 Line 115: ___.grantFunc(imports.outers.console, 'log'); On 2009/10/20 21:53:57, johnfargo wrote: > ...
15 years, 10 months ago (2009-10-21 00:07:24 UTC) #5
Jasvir
http://codereview.appspot.com/135051/diff/1027/48 File features/src/main/javascript/features/caja/taming.js (right): http://codereview.appspot.com/135051/diff/1027/48#newcode105 Line 105: var tamings___ = tamings___ || []; This works ...
15 years, 10 months ago (2009-10-21 19:03:23 UTC) #6
Jasvir
15 years, 10 months ago (2009-10-26 06:18:01 UTC) #7
Snapshot.

On 2009/10/21 19:03:23, jasvir wrote:
> http://codereview.appspot.com/135051/diff/1027/48
> File features/src/main/javascript/features/caja/taming.js (right):
> 
> http://codereview.appspot.com/135051/diff/1027/48#newcode105
> Line 105: var tamings___ = tamings___ || [];
> This works for now.  Its vulnerable to a feature you don't trust resetting
this
> array entirely to prevent it from getting exposed to a gadget but if you have
a
> feature you don't trust, it can do anything anyways.
> 
> On 2009/10/20 21:53:57, johnfargo wrote:
> > Not that it's a big deal in this case, but maybe it should be. This is one
of
> a
> > few use cases I've seen arise that call for a clearer representation of the
> > feature dependency tree.
> 
> http://codereview.appspot.com/135051/diff/1027/46
> File features/src/main/javascript/features/flash/taming.js (right):
> 
> http://codereview.appspot.com/135051/diff/1027/46#newcode1
> Line 1: /*
> On 2009/10/20 21:53:57, johnfargo wrote:
> > Missing a corresponding feature.xml update for flash.
> 
> Done.
Sign in to reply to this message.

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