[Bug 26767] New: An invalid dictionary member value whose type is an enumeration

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26767

            Bug ID: 26767
           Summary: An invalid dictionary member value whose type is an
                    enumeration
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: bashi@chromium.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

The note on http://heycam.github.io/webidl/#idl-enums says:

"In the ECMAScript binding, assignment of an invalid string value to an
attribute is ignored, while passing such a value as an operation argument
results in an exception being thrown."

What should happen when assignment of an invalid string value to a dictionary
member whose type is an enumerations? Maybe the same as an attribute (ignored)?
It would be great to mention the case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 10 September 2014 03:03:46 UTC