Home
last modified time | relevance | path

Searched refs:REJECT_ALL_ELEMENT_POLICY (Results 1 – 3 of 3) sorted by relevance

/external/owasp/sanitizer/src/tests/org/owasp/html/
DElementPolicyTest.java15 import static org.owasp.html.ElementPolicy.REJECT_ALL_ELEMENT_POLICY;
60 assertPassed(REJECT_ALL_ELEMENT_POLICY); in testJoin()
72 assertPassed(join(c, REJECT_ALL_ELEMENT_POLICY)); in testJoin()
73 assertPassed(join(REJECT_ALL_ELEMENT_POLICY, a_b)); in testJoin()
/external/owasp/sanitizer/src/main/org/owasp/html/
DElementPolicy.java74 if (p == REJECT_ALL_ELEMENT_POLICY) { in join()
76 } else if (out != REJECT_ALL_ELEMENT_POLICY) { in join()
110 public static final ElementPolicy REJECT_ALL_ELEMENT_POLICY field
DHtmlPolicyBuilder.java190 return allowElements(ElementPolicy.REJECT_ALL_ELEMENT_POLICY, elementNames); in disallowElements()
524 linkPolicy = ElementPolicy.REJECT_ALL_ELEMENT_POLICY; in compilePolicies()
590 if (ElementPolicy.REJECT_ALL_ELEMENT_POLICY.equals(elPolicy)) { in compilePolicies()