Reviewers: Jasvir,

Description:
This reworks CssRewriterTest so that we can use tests specified in
JavaScript
both in the Java version and to test the JavaScript version.

A later CL will wire the tests into sanitize-css-test.html.

This change also factors out sanitizeCss from html-emitter, moving it to
sanitize-css.js.

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

Affected files:
  M     src/com/google/caja/plugin/html-emitter.js
  M     src/com/google/caja/plugin/sanitizecss.js
  M     tests/com/google/caja/plugin/CssRewriterTest.java
  A     tests/com/google/caja/plugin/css-stylesheet-tests.js
  M     tests/com/google/caja/util/CajaTestCase.java


Reply via email to