module W3CWidget { [NoInterfaceObject] interface W3CWidget { /** * \brief Author of widget. */ readonly attribute DOMString author; /** * \brief Author e-mail. */ readonly attribute DOMString authorEmail; /** * \brief Author web site. */ readonly attribute DOMString authorHref; /** * \brief Description of widget. */ readonly attribute DOMString description; /** * \brief Identifier of widget. */ readonly attribute DOMString id; /** * \brief Name of widget. */ readonly attribute DOMString name; /** * \brief Short name of widget. */ readonly attribute DOMString shortName; /** * \brief Preferences. */ readonly attribute Storage preferences; /** * \brief Version of widget. */ readonly attribute DOMString version; /** * \brief Height of widget. */ readonly attribute unsigned long height; /** * \brief Width of widget. */ readonly attribute unsigned long width; }; [Supplemental, NoInterfaceObject] interface WindowWidget { /** * \brief W3C Widget. * * The Widget Interface \http://www.w3.org/TR/widgets-apis/\. */ readonly attribute W3CWidget widget; }; Window implements WindowWidget; };