221222223224225226227228229
"resource:///com/google/caja/lang/css/css-extensions-fns.json"), mq)); } public HtmlSchema getHtmlSchema(MessageQueue mq) { return new HtmlSchema( whitelist(htmlElementWhitelistUri, mq), whitelist(htmlAttributeWhitelistUri, mq)); }
261262263264265266267268269
} @Override protected boolean runPipeline(Jobs jobs) throws Exception { mq.getMessages().clear(); HtmlSchema schema = HtmlSchema.getDefault(mq); return new ResolveUriStage(schema).apply(jobs) && new RewriteHtmlStage(schema, new StubJobCache()).apply(jobs); }