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

Issue 116048: Enable Flash under Caja (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
16 years, 5 months ago by metaweta
Modified:
16 years, 4 months ago
CC:
google-caja-discuss_googlegroups.com
Base URL:
https://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Description

Bridge.swf - Adds the file Bridge.as - Adds logging to gadgets.log - Adds option to suppress logging flash.js - Changes the flash tag setup so it's not trivially susceptible to HTML/JavaScript injection attacks taming.js - Instead of using the event loop to poll for the option to use registerChannel, queue requests and process them when onFlashBridgeReady fires - formatting of taming tree - set size of bridge flash to zero

Patch Set 1 #

Total comments: 2

Patch Set 2 : Made louiscryan's changes #

Patch Set 3 : Worked around 10.0.18.32 #

Patch Set 4 : remove logging stuff again #

Patch Set 5 : Remove unused tokenMap #

Patch Set 6 : Tabs to spaces, long lines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+751 lines, -537 lines) Patch
M features/src/main/javascript/features/caja/taming.js View 1 2 chunks +654 lines, -519 lines 0 comments Download
M features/src/main/javascript/features/flash/flash.js View 3 chunks +26 lines, -18 lines 0 comments Download
A javascript/container/Bridge.as View 1 2 3 4 5 1 chunk +71 lines, -0 lines 0 comments Download
A javascript/container/Bridge.fla View Binary file 0 comments Download
A javascript/container/Bridge.swf View Binary file 0 comments Download

Messages

Total messages: 8
metaweta
Ping?
16 years, 5 months ago (2009-09-09 20:29:33 UTC) #1
louiscryan
Looks good to me. http://codereview.appspot.com/116048/diff/1/6 File features/src/main/javascript/features/caja/taming.js (right): http://codereview.appspot.com/116048/diff/1/6#newcode861 Line 861: //d.style.display = "none"; remove ...
16 years, 5 months ago (2009-09-10 01:03:13 UTC) #2
metaweta
On 2009/09/10 01:03:13, louiscryan wrote: > Looks good to me. > > http://codereview.appspot.com/116048/diff/1/6 > File ...
16 years, 5 months ago (2009-09-10 18:01:24 UTC) #3
metaweta
The latest flash update (10.0.32.18) broke LocalConnection for many people, including me. I have to ...
16 years, 5 months ago (2009-09-10 21:54:05 UTC) #4
metaweta
I uninstalled and reinstalled flash and restarted the browser a few times, and it finally ...
16 years, 5 months ago (2009-09-11 18:56:44 UTC) #5
metaweta
One slow but reliable alternative to the LocalConnection is using XMLSocket to bounce messages off ...
16 years, 5 months ago (2009-09-11 21:19:26 UTC) #6
metaweta
Another way for the future might be to use RTMFP (a udp-based protocol) and send ...
16 years, 5 months ago (2009-09-11 21:40:11 UTC) #7
metaweta
16 years, 4 months ago (2009-09-22 23:24:50 UTC) #8
These alternatives are all speculative; we should commit this patch.  Mac users
can vote up the issue with Adobe, and since caja is opt-in, this won't be more
than a minor problem.

The cajoler strips <object> and <embed> tags; if someday in the future we decide
to rewrite flash as part of the cajoler, we'll do it in a way that doesn't
depend on Shindig.

Since none of the code has changed (modulo removing one unused variable and some
whitespace) since last time you said LGTM, please commit.

Thanks!
Sign in to reply to this message.

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