Why are dictionary-typed attributes not allowed?

WebIDL allows passing dictionaries to methods and returning dictionaries 
from methods.  Why are dictionary-typed attributes not allowed?

Or put another way, why is this not OK:

   attribute DictType foo;

while this is OK:

   void setFoo(DictType arg);
   DictType getFoo();

?

-Boris

Received on Thursday, 7 June 2012 04:36:00 UTC