Bugs item #1745433, was opened at 2007-06-29 10:36 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1745433&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: HtmlUnit plugin Group: Release 1.4.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Peter Blanchard (skywalkin) Assigned to: Nobody/Anonymous (nobody) Summary: Can't configure Javascript navigator object Initial Comment: Hello, This problem is related to "[JWebUnit-development] [ jwebunit-Bugs-1724695 ] Javascript and its navigator is null", but not quite the same. Doing some testing of an existing web application that uses Javascript to detect what browser is using it. Currently, it uses navigator.appName (for detecting Netscape) and navigator.appVersion to detect the browser version (for IE version info). The problem is that, while I set my User-Agent properly, the javascript on the client-side that gets run does not have access to it (or, when I set it using setUserAgent on the TestContext, it does not force an update on the default "navigator" object in the javascript engine). I need a way to configure it. Thanks in advance. -- DEBUG START -- [DEBUG] Navigator - -Property "appName" of [EMAIL PROTECTED] not defined as pure js property [DEBUG] Navigator - -Property "appVersion" of [EMAIL PROTECTED] not defined as pure js property -- DEBUG END -- ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497982&aid=1745433&group_id=61302 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ JWebUnit-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jwebunit-development
