Reviewers: jasvir,
Description:
The addition of UriUtil.resolve to ResolveUriStage broke a bunch of
tests. It quite correctly points out that test:///myTestName and
unknown:///unknown are not useful as base URIs. So I just changed
tests to make it not raise UriUtil.normalize's hackles.
Please review this at http://codereview.appspot.com/1861042/show
Affected files:
M src/com/google/caja/lang/css/css-extensions-defs.json
M src/com/google/caja/lang/css/css-extensions-whitelist.json
M src/com/google/caja/plugin/CssValidator.java
M src/com/google/caja/plugin/stages/ResolveUriStage.java
M src/com/google/caja/plugin/templates/TemplateSanitizer.java
M tests/com/google/caja/plugin/CssRewriterTest.java
M tests/com/google/caja/plugin/CssValidatorTest.java
M tests/com/google/caja/plugin/stages/ResolveUriStageTest.java
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-static.html
M
tests/com/google/caja/plugin/templates/template-compiler-golden1-static.js
M tests/com/google/caja/reporting/HtmlSnippetProducerTest.java
M tests/com/google/caja/util/CajaTestCase.java