This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
checkProperty and checkOption do more than just checking for the property/option within the options array, they initialize the property/option so that subsequent calls to getOption do not throw any exception. A "check" seems optional. An "init" may be mandatory. To avoid confusion, methods should be renamed.