From: Ahmed A. <asa...@ya...> - 2015-08-11 09:58:25
|
Hi Clinton, Debugging in Chrome doesn't help, because it is needed to also see how HtmlUnit behaves. Please read the full page of [1] for future issues. The reported issue is because 'arguments[0]' was 'undefined' in HtmlUnit, but not in real browsers. This is now fixed in SVN, you can get latest snapshot form [2] once a successful build is made. Thanks,Ahmed [1] http://htmlunit.sourceforge.net/submittingJSBugs.html[2] https://ci.canoo.com/teamcity/viewLog.html?buildTypeId=HtmlUnit_FastBuild&buildId=lastSuccessful&tab=artifacts From: "Parham, Clinton" <cp...@bi...> To: Ahmed Ashour <asa...@ya...>; "htm...@li..." <htm...@li...> Sent: Saturday, August 8, 2015 3:46 AM Subject: Re: [Htmlunit-user] RichFaces 4 fileUpload #yiv0880478526 #yiv0880478526 -- _filtered #yiv0880478526 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv0880478526 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;} _filtered #yiv0880478526 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv0880478526 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv0880478526 {font-family:HelveticaNeue;}#yiv0880478526 #yiv0880478526 p.yiv0880478526MsoNormal, #yiv0880478526 li.yiv0880478526MsoNormal, #yiv0880478526 div.yiv0880478526MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}#yiv0880478526 a:link, #yiv0880478526 span.yiv0880478526MsoHyperlink {color:blue;text-decoration:underline;}#yiv0880478526 a:visited, #yiv0880478526 span.yiv0880478526MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv0880478526 p.yiv0880478526MsoAcetate, #yiv0880478526 li.yiv0880478526MsoAcetate, #yiv0880478526 div.yiv0880478526MsoAcetate {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}#yiv0880478526 p.yiv0880478526msonormal, #yiv0880478526 li.yiv0880478526msonormal, #yiv0880478526 div.yiv0880478526msonormal {margin-right:0in;margin-left:0in;font-size:12.0pt;}#yiv0880478526 span.yiv0880478526msohyperlink {}#yiv0880478526 span.yiv0880478526msohyperlinkfollowed {}#yiv0880478526 span.yiv0880478526emailstyle17 {}#yiv0880478526 p.yiv0880478526msonormal1, #yiv0880478526 li.yiv0880478526msonormal1, #yiv0880478526 div.yiv0880478526msonormal1 {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;}#yiv0880478526 span.yiv0880478526msohyperlink1 {color:blue;text-decoration:underline;}#yiv0880478526 span.yiv0880478526msohyperlinkfollowed1 {color:purple;text-decoration:underline;}#yiv0880478526 span.yiv0880478526emailstyle171 {color:windowtext;}#yiv0880478526 span.yiv0880478526BalloonTextChar {}#yiv0880478526 span.yiv0880478526EmailStyle27 {color:#1F497D;}#yiv0880478526 .yiv0880478526MsoChpDefault {font-size:10.0pt;} _filtered #yiv0880478526 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv0880478526 div.yiv0880478526WordSection1 {}#yiv0880478526 Hi Ahmed, Debugging the code, I have a call stack that is only two levels deep. I’ve taken browser screenshots of the code at fileupload.js#403 (where HTMLUnit says “e” is undefined) and another screenshot of the code calling fileupload from jquery.js#547. The jquery code passes “arguments” as the parameter to fileupload.js. So I’m assuming that “arguments” is for some reason undefined when running HTMLUnit test. Why, I don’t know. Can you suggest something? Thank you. From: Ahmed Ashour [mailto:asa...@ya...] Sent: Thursday, August 06, 2015 6:36 PM To: htm...@li... Subject: Re: [Htmlunit-user] RichFaces 4 fileUpload Hi, You can use "alert(arguments.callee.caller);" Please read some hints in http://htmlunit.sourceforge.net/submittingJSBugs.html#JavaScript_hints Ahmed |