add read_optional_enum_attribute to webidl-tests/enums

This commit is contained in:
alexlapa
2019-03-15 14:27:18 -06:00
parent 1014bdb5df
commit 4e32b5e430
3 changed files with 26 additions and 0 deletions

View File

@ -18,4 +18,12 @@ global.Shape = class Shape {
getShape() {
return this.kind;
}
get shapeTypeNone() {
return null;
}
get shapeTypeSome() {
return this.kind;
}
};