diff --git a/api/src/main/javascript/META-INF/resources/myfaces/_impl/quirks/_AjaxResponseQuirks.js b/api/src/main/javascript/META-INF/resources/myfaces/_impl/quirks/_AjaxResponseQuirks.js index 66dd3cf79..4bc4a07d6 100644 --- a/api/src/main/javascript/META-INF/resources/myfaces/_impl/quirks/_AjaxResponseQuirks.js +++ b/api/src/main/javascript/META-INF/resources/myfaces/_impl/quirks/_AjaxResponseQuirks.js @@ -124,7 +124,7 @@ _MF_SINGLTN(_PFX_XHR + "_AjaxResponseQuirks", myfaces._impl.xhrCore._AjaxRespons //we have to work around an xml parsing bug in Webkit //see https://issues.apache.org/jira/browse/MYFACES-3061 if (!isWebkit) { - doc = (arguments.length > 3) ? arguments[3] : _Lang.parseXML(newData); + doc = _Lang.parseXML(newData); } if (!isWebkit && _Lang.isXMLParseError(doc)) {