Reviewers: MarkM,

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>

Please review this at http://codereview.appspot.com/5484068/

Affected files:
  M     src/com/google/caja/plugin/caja.js
  M     src/com/google/caja/plugin/html-emitter.js
  M     src/com/google/caja/ses/startSES.js


Reply via email to