Web IDL defines "annotated types" and those extended attributes can't be set on others.
Beside it, because of the historical reason, some .idl files still have those extended attributes on members.
Let's update IDL files and IDL compilers to check if type annotations are valid.
Comment 1 by peria@chromium.org
, Mar 6 2018