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

Issue 5484068: Fallback CL for communication of top-level vars in script blocks (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 10 months ago by Jasvir
Modified:
13 years, 9 months ago
Reviewers:
MarkM
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Prototype idea for communication between script blocks - not for review. Works for toplevel vars and function decls. Has workarounds for upcaught exceptions and detecting top-level returns. Does not work for the following case: <script> var x = 1; function foo() { alert(x); } </script> <script> var x = 2; foo(); </script>

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -8 lines) Patch
M src/com/google/caja/plugin/caja.js View 1 chunk +1 line, -2 lines 0 comments Download
M src/com/google/caja/plugin/html-emitter.js View 1 chunk +3 lines, -2 lines 0 comments Download
M src/com/google/caja/ses/startSES.js View 4 chunks +96 lines, -4 lines 0 comments Download

Messages

Total messages: 1
Jasvir
14 years, 10 months ago (2011-12-13 20:59:34 UTC) #1

          
Sign in to reply to this message.

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