W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

[Bug 20478] New: Grammar allows "static;" as a valid operation

From: <bugzilla@jessica.w3.org>
Date: Fri, 21 Dec 2012 15:57:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-20478-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20478

            Bug ID: 20478
           Summary: Grammar allows "static;" as a valid operation
    Classification: Unclassified
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: dom@w3.org
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

interface Foo {
 static;
};
is valid according to the grammar.

AttributeOrOperationOrIterator    →    Serializer
 | Qualifier AttributeOrOperationRest
 | Attribute
 | OperationOrIterator
Qualifier    →    "static"
 | "stringifier"
AttributeOrOperationRest    →    AttributeRest
 | ReturnType OperationRest
 | ";"

(with AttributeOrOperationRest = ";")

It probably should not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 21 December 2012 15:57:12 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:08 UTC