Reviewers: felix8a,

Description:
* Consistently send more "hints" to the container's URI policy
  upon invocation.
* Modify "target" attribute handling so that the server side
  cajoler always produces markup with target="_blank" then always
  consults a default and whitelist supplied by the container on
  the client side for rewriting.

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

Affected files:
  M     src/com/google/caja/lang/html/html4-attributes.json
  M     src/com/google/caja/plugin/CssDynamicExpressionRewriter.java
  M     src/com/google/caja/plugin/UnsafeUriLiteral.java
  M     src/com/google/caja/plugin/caja.js
  M     src/com/google/caja/plugin/domado.js
  M     src/com/google/caja/plugin/es53-frame-group.js
  M     src/com/google/caja/plugin/html-emitter.js
  M     src/com/google/caja/plugin/html-sanitizer.js
  M     src/com/google/caja/plugin/sanitizecss.js
  M     src/com/google/caja/plugin/ses-frame-group.js
  M     src/com/google/caja/plugin/stages/RewriteHtmlStage.java
  M     src/com/google/caja/plugin/templates/HtmlAttributeRewriter.java
  M     src/com/google/caja/plugin/templates/SafeHtmlMaker.java
  M     src/com/google/caja/plugin/templates/TemplateCompiler.java
  M     src/com/google/caja/plugin/templates/TemplateSanitizer.java
  M     tests/com/google/caja/lang/html/HtmlSchemaTest.java
  M     tests/com/google/caja/plugin/CssDynamicExpressionRewriterTest.java
  M     tests/com/google/caja/plugin/GeneralBrowserTest.java
  M     tests/com/google/caja/plugin/HtmlCompiledPluginTest.java
  M     tests/com/google/caja/plugin/container.js
  M     tests/com/google/caja/plugin/es53-test-client-uri-rewriting.js
  M     tests/com/google/caja/plugin/es53-test-domado-dom-guest.html
  M     tests/com/google/caja/plugin/es53-test-domado-forms-guest.html
  A  +  tests/com/google/caja/plugin/es53-test-target-attribute-presets.js
  M     tests/com/google/caja/plugin/sanitizecss_test.js
  M     tests/com/google/caja/plugin/templates/TemplateCompilerTest.java
  M     tests/com/google/caja/plugin/templates/TemplateSanitizerTest.java
M tests/com/google/caja/plugin/templates/template-compiler-golden1-dynamic.html M tests/com/google/caja/plugin/templates/template-compiler-golden1-dynamic.js M tests/com/google/caja/plugin/templates/template-compiler-golden1-nulluripol.html M tests/com/google/caja/plugin/templates/template-compiler-golden1-nulluripol.js M tests/com/google/caja/plugin/templates/template-compiler-golden1-static.html M tests/com/google/caja/plugin/templates/template-compiler-golden1-static.js
  M     tests/com/google/caja/service/HtmlHandlerTest.java


Reply via email to