These restrictions are not enforced by the parser: extended attributes used in unsupported contexts will simply be ignored. As a rule, we donotadd extended attributes to the IDL that are not supported by the compiler (and are thus nops). This is because it makes the IDL misleading: looking ...