Bugs item #1958470, was opened at 2008-05-06 18:45 Message generated for change (Settings changed) made by jevonwright You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1958470&group_id=61302
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core API Group: None Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Tanveer Badar (tanveerbadar) Assigned to: Nobody/Anonymous (nobody) Summary: JS: indexOf does not work Initial Comment: EcmaError: lineNumber=[244] column=[0] lineSource=[<no source>] name=[TypeError] sourceName=[https://www.salesforce.com/common/assets/js/omniture/s_code2.js] message=[TypeError: Cannot call method "indexOf" of null (https://www.salesforce.com/common/assets/js/omniture/s_code2.js#244)] com.gargoylesoftware.htmlunit.ScriptException: TypeError: Cannot call method "indexOf" of null (https://www.salesforce.com/common/assets/js/omniture/s_code2.js#244) However, when directly run in IE/FF this script does not generate any error. Also, this same error is raised when performing programmatic click on ASP.Net generated link buttons (aka, hyper links with post back to server). ---------------------------------------------------------------------- Comment By: Jevon Wright (jevonwright) Date: 2008-11-18 14:52 Message: This artifact has been marked as a duplicate of artifact 1724695 with reason: No explanation provided. ---------------------------------------------------------------------- Comment By: Jevon Wright (jevonwright) Date: 2008-11-18 14:52 Message: Hi, can you confirm that this bug still exists in the latest SVN trunk of JWebUnit? Or supply the source JS that is causing this error? In r760 a fix was applied (see issue 1724695) where navigator.userAgent was not being populated correctly, it is likely this was the cause of this original bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1958470&group_id=61302 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ JWebUnit-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-development
