Reviewers: jasvir,

Description:
Made some minor changes to plugin_dispatchEvent___ since code in
javascript: URI does not have this or event bound differently than top
level script code.

Updated HtmlAttributeRewriter to use the new dispatch method, and to
store the handler someplace where the dispatch method can get at it
since href values are strings, while the setAttr for
onclick handlers takes a function instance as a value.

Modified bridal to workaround Firefox which runs javascript: URLs
in the frame specified by target.

Please review this at http://codereview.appspot.com/239041/show

Affected files:
  M     src/com/google/caja/demos/playground/client/ui/PlaygroundView.java
  M     src/com/google/caja/plugin/bridal.js
  M     src/com/google/caja/plugin/domita.js
  M     src/com/google/caja/plugin/templates/HtmlAttributeRewriter.java
  M     tests/com/google/caja/plugin/domita_test_untrusted.html
  M     tests/com/google/caja/plugin/templates/TemplateCompilerTest.java


Reply via email to