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

Issue 2885041: Add new version of FlashBridge for AS3

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by evn
Modified:
15 years, 5 months ago
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/src/com/google/caja/
Visibility:
Public.

Description

This class implements a synchronous bridge for SWF to SWF communication. It works by taking advantage of sharedEvents being synchronous and crossing sandbox origins. A developer would modify it's source code by changing: import flash.external.ExternalInterface to import com.google.caja.external.ExternalInterface this change can be done automatically by simply adding the com.google.caja package and modifying references to the package flash.external with com.google.external.

Patch Set 1 #

Total comments: 21

Patch Set 2 : Add new version of FlashBridge for AS3 #

Patch Set 3 : Add new version of FlashBridge for AS3 #

Patch Set 4 : Add new version of FlashBridge for AS3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -0 lines) Patch
A FlashBridge.as View 1 3 1 chunk +153 lines, -0 lines 0 comments Download
A FlashBridgeClient.as View 1 1 chunk +55 lines, -0 lines 0 comments Download
A FlashBridgeTest.as View 1 1 chunk +42 lines, -0 lines 0 comments Download
A Rewriter.as View 1 1 chunk +48 lines, -0 lines 0 comments Download
A events/ExternalInterfaceAddCallbackEvent.as View 1 1 chunk +20 lines, -0 lines 0 comments Download
A events/ExternalInterfaceCallEvent.as View 1 1 chunk +19 lines, -0 lines 0 comments Download
A events/FunctionCallEvent.as View 1 1 chunk +16 lines, -0 lines 0 comments Download
A events/FunctionResponseEvent.as View 1 1 chunk +21 lines, -0 lines 0 comments Download
A events/navigateToURLEvent.as View 1 1 chunk +17 lines, -0 lines 0 comments Download
A external/ExternalInterface.as View 1 1 chunk +47 lines, -0 lines 0 comments Download
A flashbridge.swf View Binary file 0 comments Download
A flashbridgetest.swf View Binary file 0 comments Download
A net/navigateToURL.as View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 9
evn
15 years, 5 months ago (2010-11-03 23:57:37 UTC) #1
Jasvir
Given that it needs Flex to compile this, please checkin a compiled version of the ...
15 years, 5 months ago (2010-11-04 19:16:12 UTC) #2
metaweta
Thanks, evn! It looks like there's a mix of tabs and spaces throughout the files; ...
15 years, 5 months ago (2010-11-04 20:14:41 UTC) #3
evn
Done most of the changes, another will come soon. http://codereview.appspot.com/2885041/diff/1/FlashBridge.as File FlashBridge.as (right): http://codereview.appspot.com/2885041/diff/1/FlashBridge.as#newcode89 FlashBridge.as:89: ...
15 years, 5 months ago (2010-11-04 23:24:57 UTC) #4
evn
Ok, now everything is really done. fixed the tabs and a few other style problems.. ...
15 years, 5 months ago (2010-11-04 23:39:51 UTC) #5
metaweta
LGTM
15 years, 5 months ago (2010-11-04 23:50:24 UTC) #6
evn
On 2010/11/04 23:50:24, metaweta wrote: > LGTM Added flashbridge.swf and flashbridgetest.swf as jas suggested.
15 years, 5 months ago (2010-11-05 00:50:56 UTC) #7
evn
evn@greencat:~/svn-changes/flashbridge/google-caja/src/com/google/caja$ ~/google-caja/tools/myvn submit /home/evn/google-caja/tools/myvn: line 282: ant-lib/runtests.current.patch: No such file or directory Running tests before ...
15 years, 5 months ago (2010-11-05 01:13:41 UTC) #8
metaweta
15 years, 5 months ago (2010-11-05 01:32:14 UTC) #9
You have to run myvn submit from the google-caja directory.

On Thu, Nov 4, 2010 at 6:13 PM,  <evn@google.com> wrote:
> evn@greencat:~/svn-changes/flashbridge/google-caja/src/com/google/caja$
> ~/google-caja/tools/myvn submit
> /home/evn/google-caja/tools/myvn: line 282:
> ant-lib/runtests.current.patch: No such file or directory
> Running tests before submission
> Buildfile: build.xml does not exist!
> Build failed
>
> How the submission works?
>
> http://codereview.appspot.com/2885041/
>



-- 
Mike Stay - metaweta@gmail.com
http://www.cs.auckland.ac.nz/~mike
http://reperiendi.wordpress.com
Sign in to reply to this message.

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