Reviewers: ihab.awad,

Description:
http://code.google.com/p/google-caja/issues/detail?id=1075

1. bridal only attaches to real events if the event name
   corresponds to an html whitelisted attribute '*:onfoo'.
   focus/blur is whitelisted for specific tags, not for '*',
   so the whitelist check fails, and no handler gets attached.
   this change fixes that.

2. DomitaTest is prone to false positives because
   the string 'all tests passed' gets added to the title
   before all tests finish running.
   this change fixes that.

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

Affected files:
  M     src/com/google/caja/plugin/bridal.js
  M     tests/com/google/caja/plugin/DomitaTest.java
  M     tests/com/google/caja/plugin/domita_test.html
  M     tests/com/google/caja/plugin/domita_test_untrusted.html
  M     tests/com/google/caja/plugin/jsunit.js


Reply via email to