Feature Requests item #1856126, was opened at 2007-12-22 11:41 Message generated for change (Settings changed) made by jevonwright You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1856126&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: Release 2.1 >Status: Pending Priority: 5 Private: No Submitted By: Oliver Chua (oliverchua) >Assigned to: Jevon Wright (jevonwright) Summary: Add a method to disable javscript exceptions fr being thrown Initial Comment: Please add a method to disable javscript exceptions from being thrown. This will be similar to the now defunct HttpUnitOptions.setExceptionsThrownOnScriptError(false); in JwebUnit 1.2 This method should be added to HtmlUnitDialog and optionally to JwebUnit ---------------------------------------------------------------------- Comment By: Jevon Wright (jevonwright) Date: 2008-11-24 13:49 Message: I don't think this is a good idea. If you expect your application to throw exceptions, you should be testing these exceptions explicitly. If you expect your application to NOT throw exceptions, then you would never need to disable exception throwing, otherwise you will never catch them. Is there a particular script that is throwing exceptions which are not usually thrown? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497985&aid=1856126&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
