}
public void testJSNotAllowedHtmlPropertyPassTru() throws Exception {
HtmlRenderedAttr[] attrs = {
//_AccesskeyProperty
new HtmlRenderedAttr("accesskey"),
//_UniversalProperties
new HtmlRenderedAttr("dir"),
new HtmlRenderedAttr("lang"),
new HtmlRenderedAttr("title"),
//_FocusBlurProperties
new HtmlRenderedAttr("onfocus"),
new HtmlRenderedAttr("onblur"),
//_ChangeSelectProperties
new HtmlRenderedAttr("onchange"),
new HtmlRenderedAttr("onselect"),
//_EventProperties
new HtmlRenderedAttr("onclick", "onclick", "onclick=\""),
new HtmlRenderedAttr("ondblclick"),
new HtmlRenderedAttr("onkeydown"),
new HtmlRenderedAttr("onkeypress"),
new HtmlRenderedAttr("onkeyup"),
new HtmlRenderedAttr("onmousedown"),
new HtmlRenderedAttr("onmousemove"),
new HtmlRenderedAttr("onmouseout"),
new HtmlRenderedAttr("onmouseover"),
new HtmlRenderedAttr("onmouseup"),
//_StyleProperties
new HtmlRenderedAttr("style"),
new HtmlRenderedAttr("styleClass", "styleClass", "class=\"styleClass\""),
//_TabindexProperty
new HtmlRenderedAttr("tabindex")
};
HtmlCheckAttributesUtil.checkRenderedAttributes(
commandButton, facesContext, writer, attrs);
if(HtmlCheckAttributesUtil.hasFailedAttrRender(attrs)) {