[Mono-bugs] [Bug 340799] Missing enum validation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 20 10:26:28 EST 2007


--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-11-20 08:26:28 MST ---
Invalid enum values are "ignored" in javascript. At least in the sense that it
doesn't stop the execution. However the default values doesn't seems to be 0.

E.g. In SilverlightBalls, adding 
this._elem["visibility"] = -1;
in wpfe.balls.js, makes the balls invisible (1) while they visible (0) with

We might need to test each case individually to see which is the "real" default

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list