Index: tools/idl_parser/test_parser/interface_web.idl |
diff --git a/tools/idl_parser/test_parser/interface_web.idl b/tools/idl_parser/test_parser/interface_web.idl |
index cff2cd054aa4bc683805a46875d1711c6def7c6b..9e69e9f12430849046edeff478539c035073f028 100644 |
--- a/tools/idl_parser/test_parser/interface_web.idl |
+++ b/tools/idl_parser/test_parser/interface_web.idl |
@@ -65,6 +65,13 @@ interface MyIFaceMissingArgument { |
}; |
/* TREE |
+ *Error(Unexpected keyword "double" after keyword "readonly".) |
+ */ |
+interface MyIFaceMissingAttribute { |
+ readonly double foo; |
+}; |
+ |
+/* TREE |
*Interface(MyIFaceBig) |
* Const(setString) |
* PrimitiveType(DOMString) |