Bug 20478 - Grammar allows "static;" as a valid operation
Grammar allows "static;" as a valid operation
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL
unspecified
PC Linux
: P2 normal
: ---
Assigned To: Cameron McCormack
public-webapps-bugzilla
[v1]
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-21 15:57 UTC by Dominique Hazael-Massieux
Modified: 2013-08-04 05:55 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Hazael-Massieux 2012-12-21 15:57:07 UTC
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.
Comment 1 Cameron McCormack 2013-08-04 05:55:30 UTC
Fixed here: http://www.w3.org/mid/51EDE49C.20001@mcc.id.au